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.001844/0.001844, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002109/0.002109, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.519/1.519, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.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.222/0.222, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] 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.002649/0.002649, allocations: 83.84 kB / 443.1 MB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3251, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02611/0.3512, allocations: 27.72 MB / 0.5243 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.3696, allocations: 15.67 MB / 0.5396 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.37, allocations: 13.34 kB / 0.5397 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.3708, allocations: 201.4 kB / 0.5399 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.3715, allocations: 287.2 kB / 0.5401 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01953/0.391, allocations: 5.997 MB / 0.546 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.3926, allocations: 0.8526 MB / 0.5468 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004409/0.393, allocations: 202.4 kB / 0.547 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01543/0.4084, allocations: 5.492 MB / 0.5524 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007633/0.4092, allocations: 244.3 kB / 0.5526 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.507e-05/0.4093, allocations: 29.62 kB / 0.5526 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/0.4247, allocations: 6.068 MB / 0.5586 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.4249, allocations: 84.16 kB / 0.5586 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.4253, allocations: 166.9 kB / 0.5588 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.4396, allocations: 3.853 MB / 0.5626 GB, free: 2.547 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4396, allocations: 4 kB / 0.5626 GB, free: 2.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4396, allocations: 0 / 0.5626 GB, free: 2.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4396, allocations: 0 / 0.5626 GB, free: 2.543 MB / 462.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.002782/0.4424, allocations: 1.001 MB / 0.5635 GB, free: 1.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4424, allocations: 12.03 kB / 0.5636 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.4441, allocations: 200.5 kB / 0.5637 GB, free: 1.301 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.4446, allocations: 285.3 kB / 0.564 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.4446, allocations: 25.03 kB / 0.564 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.4447, allocations: 28.38 kB / 0.5641 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4461, allocations: 0.6351 MB / 0.5647 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.4461, allocations: 3.938 kB / 0.5647 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.4462, allocations: 15.94 kB / 0.5647 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4462, allocations: 8 kB / 0.5647 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.4475, allocations: 409.5 kB / 0.5651 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003095/0.4505, allocations: 1.77 MB / 0.5668 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.4518, allocations: 314.2 kB / 0.5671 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.4521, allocations: 108.8 kB / 0.5672 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03328/0.4853, allocations: 8.859 MB / 0.5759 GB, free: 4.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.4854, allocations: 34.56 kB / 0.5759 GB, free: 4.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.4854, allocations: 0 / 0.5759 GB, free: 4.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00224/0.4876, allocations: 0.5243 MB / 0.5764 GB, free: 4.094 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.4877, allocations: 114.7 kB / 0.5765 GB, free: 3.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003864/0.4881, allocations: 272.1 kB / 0.5768 GB, free: 3.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.4881, allocations: 25.7 kB / 0.5768 GB, free: 3.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.4883, allocations: 219.9 kB / 0.577 GB, free: 3.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.4884, allocations: 59.52 kB / 0.5771 GB, free: 3.371 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.4885, allocations: 65.69 kB / 0.5772 GB, free: 3.301 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4887, allocations: 330.8 kB / 0.5775 GB, free: 2.969 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.489, allocations: 99.92 kB / 0.5776 GB, free: 2.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.4894, allocations: 266.7 kB / 0.5778 GB, free: 2.543 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.4901, allocations: 296.4 kB / 0.5781 GB, free: 2.207 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4901, allocations: 0 / 0.5781 GB, free: 2.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008472/0.491, allocations: 333.1 kB / 0.5784 GB, free: 1.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.491, allocations: 8 kB / 0.5784 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.491, allocations: 4 kB / 0.5784 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.491, allocations: 7.938 kB / 0.5784 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.4913, allocations: 75.83 kB / 0.5785 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4913, allocations: 4 kB / 0.5785 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4916, allocations: 48.16 kB / 0.5786 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.4916, allocations: 16 kB / 0.5786 GB, free: 1.715 MB / 478.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.0002071/0.4919, allocations: 157.7 kB / 0.5787 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.4919, allocations: 27.84 kB / 0.5788 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.4937, allocations: 1.172 MB / 0.5799 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.4937, allocations: 19.91 kB / 0.5799 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4937, allocations: 0 / 0.5799 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4937, allocations: 0 / 0.5799 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.4944, allocations: 0.551 MB / 0.5805 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4945, allocations: 0 / 0.5805 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4947, allocations: 51.95 kB / 0.5805 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4947, allocations: 8 kB / 0.5805 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4947, allocations: 0 / 0.5805 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4947, allocations: 0 / 0.5805 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4947, allocations: 3.938 kB / 0.5805 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.4957, allocations: 0.6328 MB / 0.5811 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.4958, allocations: 55.53 kB / 0.5812 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.4959, allocations: 31.67 kB / 0.5812 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.4961, allocations: 23.97 kB / 0.5812 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.4962, allocations: 19.91 kB / 0.5813 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.4962, allocations: 11.98 kB / 0.5813 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.4966, allocations: 295.1 kB / 0.5816 GB, free: 14.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4966, allocations: 4 kB / 0.5816 GB, free: 14.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002898/0.4995, allocations: 0.8616 MB / 0.5824 GB, free: 13.73 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.004756/0.5043, allocations: 1.002 MB / 0.5834 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.5052, allocations: 344.5 kB / 0.5837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5052, allocations: 0 / 0.5837 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.5056, allocations: 216.4 kB / 0.5839 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.5065, allocations: 141.5 kB / 0.584 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.5085, allocations: 1.044 MB / 0.5851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5088, allocations: 284.1 kB / 0.5853 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004005/0.5092, allocations: 176.6 kB / 0.5855 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.5093, allocations: 36.5 kB / 0.5855 GB, free: 10.45 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5093, allocations: 0 / 0.5855 GB, free: 10.45 MB / 494.1 MB Notification: Performance of Templates: time 0.05942/0.5687, allocations: 33.87 MB / 0.6186 GB, free: 8.68 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 -s ida -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: 7.525977261015214]