Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 167 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2924/0.2924, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 376.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.334e-05, allocations: 2.312 kB / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001336/0.001369, allocations: 0.5477 MB / 377 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005929/0.001962, allocations: 374.8 kB / 377.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.001991, allocations: 0 / 377.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.002011, allocations: 3.938 kB / 377.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.754e-05/0.002039, allocations: 4 kB / 377.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.002452, allocations: 139.4 kB / 377.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.851e-05/0.00251, allocations: 39.89 kB / 377.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.791e-05/0.002548, allocations: 0 / 377.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.002589, allocations: 19.97 kB / 377.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.002646, allocations: 15.92 kB / 377.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.002658, allocations: 4 kB / 377.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.002838, allocations: 135.8 kB / 377.7 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.002855, allocations: 11.98 kB / 377.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.002872, allocations: 11.94 kB / 377.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.003052, allocations: 147.6 kB / 377.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003054, allocations: 4 kB / 377.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003055, allocations: 0 / 377.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003058, allocations: 3.938 kB / 377.9 MB, free: 2.984 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003359/0.003394, allocations: 396.2 kB / 378.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.003437, allocations: 11.97 kB / 378.3 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.003468, allocations: 8.938 kB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.003548, allocations: 108.6 kB / 378.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.003559, allocations: 384 / 378.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.003584, allocations: 24.31 kB / 378.4 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.003671, allocations: 54.23 kB / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.003681, allocations: 192 / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.003688, allocations: 384 / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.003696, allocations: 8.125 kB / 378.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.003743, allocations: 35.89 kB / 378.5 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.003858, allocations: 113.2 kB / 378.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.003938, allocations: 78.77 kB / 378.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.003965, allocations: 27.66 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.004122, allocations: 39.97 kB / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.004142, allocations: 37.39 kB / 378.8 MB, free: 1.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.004143, allocations: 0 / 378.8 MB, free: 1.945 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.05238/0.05652, allocations: 5.37 MB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.05656, allocations: 59.41 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.05664, allocations: 153.9 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.05666, allocations: 25.7 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.0567, allocations: 127.2 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.239e-05/0.05677, allocations: 83.31 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.05685, allocations: 63.31 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.05699, allocations: 0.4884 MB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.05706, allocations: 47.95 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.05713, allocations: 55.89 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.05757, allocations: 194.3 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.05757, allocations: 0 / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003926/0.05796, allocations: 237.4 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.05798, allocations: 11.98 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.05799, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.058, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.05819, allocations: 79.86 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.0582, allocations: 4 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.05828, allocations: 27.97 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.0583, allocations: 19.97 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/0.05839, allocations: 168.5 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.05842, allocations: 19.89 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.05891, allocations: 298 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.05892, allocations: 4 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.05892, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.05893, allocations: 3.984 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.05982, allocations: 0.6412 MB / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.05982, allocations: 0 / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.05996, allocations: 83.92 kB / 387.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.05996, allocations: 0 / 387.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.05998, allocations: 15.98 kB / 387.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.05998, allocations: 4 kB / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.05998, allocations: 0 / 387.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.06038, allocations: 380.7 kB / 387.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.06039, allocations: 7.953 kB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.06041, allocations: 0 / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.0605, allocations: 31.97 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.06052, allocations: 23.91 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.06054, allocations: 11.98 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.06057, allocations: 119.2 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06057, allocations: 0 / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00113/0.0617, allocations: 0.6324 MB / 388.3 MB, free: 8.305 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001966/0.06367, allocations: 318.5 kB / 388.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000223/0.06389, allocations: 155.6 kB / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.06389, allocations: 0 / 388.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.06397, allocations: 79.56 kB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.06415, allocations: 31.92 kB / 388.8 MB, free: 7.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.06461, allocations: 293 kB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.06466, allocations: 63.98 kB / 389.2 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.0648, allocations: 81.14 kB / 389.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.06494, allocations: 114.2 kB / 389.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.06494, allocations: 0 / 389.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of Templates: time 0.2005/0.2655, allocations: 59.68 MB / 449.1 MB, free: 105.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.359363772906363]