Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001469/0.001469, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 230.5 MB / 258.1 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.92 MB / 361.5 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 79.88 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3041, allocations: 66.08 MB / 0.5619 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03426/0.3383, allocations: 30.65 MB / 0.5919 GB, free: 5.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02215/0.3605, allocations: 17.78 MB / 0.6092 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.3609, allocations: 11.88 kB / 0.6093 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.3617, allocations: 222.6 kB / 0.6095 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006745/0.3623, allocations: 282.3 kB / 0.6097 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01614/0.3785, allocations: 6.082 MB / 0.6157 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.3799, allocations: 0.8537 MB / 0.6165 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.3803, allocations: 200.9 kB / 0.6167 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0117/0.392, allocations: 5.501 MB / 0.6221 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.3926, allocations: 251 kB / 0.6223 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.3927, allocations: 35.94 kB / 0.6223 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01271/0.4054, allocations: 6.357 MB / 0.6286 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.4056, allocations: 87.73 kB / 0.6286 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.4059, allocations: 195.1 kB / 0.6288 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008112/0.414, allocations: 3.862 MB / 0.6326 GB, free: 11.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.414, allocations: 0 / 0.6326 GB, free: 11.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.414, allocations: 0 / 0.6326 GB, free: 11.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.414, allocations: 0 / 0.6326 GB, free: 11.61 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002498/0.4165, allocations: 1.009 MB / 0.6336 GB, free: 10.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4166, allocations: 8.031 kB / 0.6336 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.4182, allocations: 204.5 kB / 0.6338 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.4188, allocations: 292.8 kB / 0.6341 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.4189, allocations: 25.03 kB / 0.6341 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.4189, allocations: 24.38 kB / 0.6341 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.4201, allocations: 492 kB / 0.6346 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4202, allocations: 4 kB / 0.6346 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.4202, allocations: 12 kB / 0.6346 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.4202, allocations: 8 kB / 0.6346 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.4214, allocations: 405.2 kB / 0.635 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.4246, allocations: 2.238 MB / 0.6372 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4257, allocations: 318.2 kB / 0.6375 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.4259, allocations: 111.2 kB / 0.6376 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02899/0.4549, allocations: 8.831 MB / 0.6462 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.455, allocations: 34.56 kB / 0.6462 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.455, allocations: 0 / 0.6462 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002003/0.457, allocations: 0.5282 MB / 0.6468 GB, free: 12.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.457, allocations: 106.8 kB / 0.6469 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.4575, allocations: 332.4 kB / 0.6472 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4575, allocations: 25.7 kB / 0.6472 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4576, allocations: 216.1 kB / 0.6474 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.4577, allocations: 55.58 kB / 0.6475 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.724e-05/0.4578, allocations: 65.64 kB / 0.6475 GB, free: 11.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.458, allocations: 338.8 kB / 0.6478 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.4582, allocations: 95.92 kB / 0.6479 GB, free: 11.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.4586, allocations: 217.7 kB / 0.6481 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.4592, allocations: 300 kB / 0.6484 GB, free: 10.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4592, allocations: 8 kB / 0.6484 GB, free: 10.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007626/0.4599, allocations: 333.3 kB / 0.6488 GB, free: 10.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.46, allocations: 8 kB / 0.6488 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.46, allocations: 4 kB / 0.6488 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.46, allocations: 7.938 kB / 0.6488 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.4603, allocations: 71.89 kB / 0.6488 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4603, allocations: 7.938 kB / 0.6489 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.4605, allocations: 39.98 kB / 0.6489 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.4605, allocations: 19.98 kB / 0.6489 GB, free: 10.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001764/0.4607, allocations: 155 kB / 0.6491 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.209e-05/0.4608, allocations: 39.75 kB / 0.6491 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4623, allocations: 1.145 MB / 0.6502 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.4623, allocations: 15.97 kB / 0.6502 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4623, allocations: 0 / 0.6502 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.4623, allocations: 0 / 0.6502 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.463, allocations: 0.6553 MB / 0.6509 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.463, allocations: 0 / 0.6509 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.4632, allocations: 51.89 kB / 0.6509 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4632, allocations: 0 / 0.6509 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.4632, allocations: 15.92 kB / 0.6509 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4632, allocations: 3.938 kB / 0.6509 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4632, allocations: 0 / 0.6509 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009105/0.4641, allocations: 0.6391 MB / 0.6516 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.4642, allocations: 55.48 kB / 0.6516 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.4643, allocations: 27.78 kB / 0.6516 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.4645, allocations: 11.98 kB / 0.6517 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.4646, allocations: 27.89 kB / 0.6517 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.4646, allocations: 12 kB / 0.6517 GB, free: 7.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.465, allocations: 350.8 kB / 0.652 GB, free: 7.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.465, allocations: 4 kB / 0.652 GB, free: 7.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00213/0.4671, allocations: 0.8538 MB / 0.6529 GB, free: 6.305 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003587/0.4707, allocations: 0.9926 MB / 0.6538 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007723/0.4715, allocations: 355 kB / 0.6542 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4715, allocations: 0.9375 kB / 0.6542 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.4718, allocations: 212.5 kB / 0.6544 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009178/0.4727, allocations: 184.5 kB / 0.6545 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4743, allocations: 1.081 MB / 0.6556 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.4748, allocations: 0.8797 MB / 0.6565 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.4749, allocations: 43.42 kB / 0.6565 GB, free: 2.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4749, allocations: 0 / 0.6565 GB, free: 2.512 MB / 494.1 MB Notification: Performance of Templates: time 0.03063/0.5055, allocations: 20.6 MB / 0.6766 GB, free: 13.93 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.381027902010828]