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.001771/0.001771, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002276/0.002276, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.552/1.552, allocations: 230.3 MB / 258 MB, free: 8.242 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.24/0.24, allocations: 46.89 MB / 361.3 MB, free: 4.523 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.00245/0.00245, allocations: 79.86 kB / 0.4971 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3901, allocations: 66.01 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03698/0.4271, allocations: 30.66 MB / 0.5915 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02453/0.4517, allocations: 17.78 MB / 0.6088 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.4522, allocations: 19.81 kB / 0.6089 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.4531, allocations: 218.6 kB / 0.6091 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007804/0.4538, allocations: 274.4 kB / 0.6093 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02002/0.4739, allocations: 6.083 MB / 0.6153 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.4755, allocations: 0.8615 MB / 0.6161 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.4759, allocations: 193 kB / 0.6163 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.4901, allocations: 5.501 MB / 0.6217 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.4907, allocations: 254.9 kB / 0.6219 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.811e-05/0.4908, allocations: 32 kB / 0.6219 GB, free: 6.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.5051, allocations: 6.357 MB / 0.6281 GB, free: 160 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.5054, allocations: 87.73 kB / 0.6282 GB, free: 72 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.5059, allocations: 195.1 kB / 0.6284 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.5202, allocations: 3.862 MB / 0.6322 GB, free: 12.01 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.5202, allocations: 4 kB / 0.6322 GB, free: 12 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5202, allocations: 0 / 0.6322 GB, free: 12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.5202, allocations: 0 / 0.6322 GB, free: 12 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.002971/0.5232, allocations: 1.001 MB / 0.6332 GB, free: 10.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.5232, allocations: 16.02 kB / 0.6332 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5249, allocations: 196.5 kB / 0.6334 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.5255, allocations: 288.8 kB / 0.6336 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.5255, allocations: 25.03 kB / 0.6337 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.5256, allocations: 24.38 kB / 0.6337 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.527, allocations: 496 kB / 0.6342 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.527, allocations: 3.938 kB / 0.6342 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.527, allocations: 12 kB / 0.6342 GB, free: 9.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.527, allocations: 12 kB / 0.6342 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.5283, allocations: 409.2 kB / 0.6346 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.5318, allocations: 2.253 MB / 0.6368 GB, free: 7.031 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.533, allocations: 314.3 kB / 0.6371 GB, free: 6.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.5333, allocations: 104.8 kB / 0.6372 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03273/0.566, allocations: 8.827 MB / 0.6458 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.5661, allocations: 34.56 kB / 0.6458 GB, free: 13.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.435e-06/0.5661, allocations: 0 / 0.6458 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002174/0.5682, allocations: 0.5282 MB / 0.6464 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.5683, allocations: 110.8 kB / 0.6465 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.5688, allocations: 328.4 kB / 0.6468 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.5689, allocations: 29.7 kB / 0.6468 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.569, allocations: 208.1 kB / 0.647 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.5691, allocations: 51.59 kB / 0.647 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.5692, allocations: 65.64 kB / 0.6471 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5694, allocations: 338.8 kB / 0.6474 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.5697, allocations: 95.92 kB / 0.6475 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.5701, allocations: 211.3 kB / 0.6477 GB, free: 11.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.5708, allocations: 300.9 kB / 0.648 GB, free: 11.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5708, allocations: 0 / 0.648 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008339/0.5716, allocations: 337.4 kB / 0.6483 GB, free: 10.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5716, allocations: 10.19 kB / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5716, allocations: 4 kB / 0.6483 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.5717, allocations: 7.938 kB / 0.6484 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.572, allocations: 71.89 kB / 0.6484 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.572, allocations: 4 kB / 0.6484 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.5722, allocations: 47.75 kB / 0.6485 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.5723, allocations: 12 kB / 0.6485 GB, free: 10.84 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.0001925/0.5725, allocations: 161.7 kB / 0.6486 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.5725, allocations: 35.77 kB / 0.6487 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.5742, allocations: 1.152 MB / 0.6498 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.5742, allocations: 15.97 kB / 0.6498 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5742, allocations: 4 kB / 0.6498 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5742, allocations: 4 kB / 0.6498 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007609/0.575, allocations: 0.6475 MB / 0.6505 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.575, allocations: 0 / 0.6505 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.5752, allocations: 51.94 kB / 0.6505 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5752, allocations: 11.94 kB / 0.6505 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.5753, allocations: 3.938 kB / 0.6505 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5753, allocations: 0 / 0.6505 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5753, allocations: 3.938 kB / 0.6505 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.5762, allocations: 0.6391 MB / 0.6511 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.5763, allocations: 59.48 kB / 0.6512 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.5764, allocations: 23.78 kB / 0.6512 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.5766, allocations: 19.97 kB / 0.6512 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.5767, allocations: 19.97 kB / 0.6513 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.5767, allocations: 11.98 kB / 0.6513 GB, free: 7.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004266/0.5771, allocations: 342.9 kB / 0.6516 GB, free: 7.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5771, allocations: 0 / 0.6516 GB, free: 7.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002812/0.58, allocations: 0.8577 MB / 0.6524 GB, free: 6.707 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.003806/0.5838, allocations: 1.001 MB / 0.6534 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.5848, allocations: 351 kB / 0.6538 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5848, allocations: 0 / 0.6538 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.5852, allocations: 217.4 kB / 0.654 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5864, allocations: 191.3 kB / 0.6541 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.5881, allocations: 1.052 MB / 0.6552 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.5886, allocations: 0.8798 MB / 0.656 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.5891, allocations: 175 kB / 0.6562 GB, free: 2.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.789e-05/0.5892, allocations: 35.42 kB / 0.6562 GB, free: 2.77 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5892, allocations: 0 / 0.6562 GB, free: 2.77 MB / 494.1 MB Notification: Performance of Templates: time 0.05708/0.6462, allocations: 35.06 MB / 0.6905 GB, free: 15.73 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/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: 7.81585646700114]