Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001316/0.001316, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001447/0.001447, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.415/1.415, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.94 MB / 362.1 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 83.84 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3252, allocations: 66.08 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03542/0.3606, allocations: 30.31 MB / 0.5919 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.3834, allocations: 17.61 MB / 0.6091 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.3838, allocations: 11.88 kB / 0.6091 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007495/0.3846, allocations: 226.5 kB / 0.6093 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.3853, allocations: 282.4 kB / 0.6096 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01603/0.4013, allocations: 6.079 MB / 0.6156 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.4026, allocations: 0.8537 MB / 0.6164 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.4029, allocations: 197 kB / 0.6166 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01281/0.4157, allocations: 5.501 MB / 0.6219 GB, free: 6.953 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.4162, allocations: 258.9 kB / 0.6222 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.4163, allocations: 32 kB / 0.6222 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.4278, allocations: 6.295 MB / 0.6284 GB, free: 376 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.428, allocations: 87.73 kB / 0.6285 GB, free: 288 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.4283, allocations: 195.1 kB / 0.6286 GB, free: 92 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.4367, allocations: 3.858 MB / 0.6324 GB, free: 12.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4367, allocations: 0 / 0.6324 GB, free: 12.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4367, allocations: 4 kB / 0.6324 GB, free: 12.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.4367, allocations: 0 / 0.6324 GB, free: 12.22 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.002603/0.4394, allocations: 1.001 MB / 0.6334 GB, free: 11.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4394, allocations: 12.03 kB / 0.6334 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.441, allocations: 200.4 kB / 0.6336 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.4415, allocations: 288.9 kB / 0.6339 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.4416, allocations: 25.03 kB / 0.6339 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.4416, allocations: 24.38 kB / 0.6339 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.443, allocations: 0.6389 MB / 0.6345 GB, free: 9.902 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.443, allocations: 4 kB / 0.6345 GB, free: 9.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.443, allocations: 12 kB / 0.6346 GB, free: 9.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4431, allocations: 8 kB / 0.6346 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.4443, allocations: 413.2 kB / 0.635 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.4475, allocations: 2.23 MB / 0.6371 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.4487, allocations: 318.2 kB / 0.6374 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.4489, allocations: 108.8 kB / 0.6375 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02984/0.4788, allocations: 8.823 MB / 0.6462 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.4788, allocations: 38.5 kB / 0.6462 GB, free: 13.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 3.987e-06/0.4788, allocations: 4 kB / 0.6462 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002034/0.4809, allocations: 0.5232 MB / 0.6467 GB, free: 13.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.4809, allocations: 106.8 kB / 0.6468 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.4813, allocations: 324.4 kB / 0.6471 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4814, allocations: 33.64 kB / 0.6472 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4816, allocations: 212.1 kB / 0.6474 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.4816, allocations: 47.59 kB / 0.6474 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4817, allocations: 65.64 kB / 0.6475 GB, free: 12.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4819, allocations: 346.8 kB / 0.6478 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.4821, allocations: 87.92 kB / 0.6479 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.4826, allocations: 270.7 kB / 0.6481 GB, free: 11.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.4832, allocations: 289.4 kB / 0.6484 GB, free: 11.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4832, allocations: 8 kB / 0.6484 GB, free: 11.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007802/0.484, allocations: 340.1 kB / 0.6487 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.484, allocations: 8 kB / 0.6488 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.484, allocations: 4 kB / 0.6488 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.484, allocations: 7.938 kB / 0.6488 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.4843, allocations: 71.89 kB / 0.6488 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4843, allocations: 4 kB / 0.6488 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4846, allocations: 48.06 kB / 0.6489 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.4846, allocations: 16 kB / 0.6489 GB, free: 10.81 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.0001861/0.4848, allocations: 161.6 kB / 0.649 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.4848, allocations: 39.77 kB / 0.6491 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.4864, allocations: 1.149 MB / 0.6502 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.4864, allocations: 15.97 kB / 0.6502 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4864, allocations: 0 / 0.6502 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4864, allocations: 0 / 0.6502 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007536/0.4872, allocations: 0.6514 MB / 0.6509 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4872, allocations: 3.938 kB / 0.6509 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.4874, allocations: 55.89 kB / 0.6509 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4874, allocations: 0 / 0.6509 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4874, allocations: 11.92 kB / 0.6509 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4874, allocations: 0 / 0.6509 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4874, allocations: 0 / 0.6509 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009325/0.4884, allocations: 0.6391 MB / 0.6516 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.4884, allocations: 59.48 kB / 0.6516 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.4885, allocations: 23.78 kB / 0.6516 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.4887, allocations: 15.98 kB / 0.6516 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.4888, allocations: 23.95 kB / 0.6517 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.4888, allocations: 7.984 kB / 0.6517 GB, free: 7.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004189/0.4892, allocations: 354.8 kB / 0.652 GB, free: 7.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4892, allocations: 0 / 0.652 GB, free: 7.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002245/0.4915, allocations: 0.8538 MB / 0.6529 GB, free: 6.68 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.003301/0.4948, allocations: 1.001 MB / 0.6538 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008378/0.4956, allocations: 345.2 kB / 0.6542 GB, free: 5.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4956, allocations: 3.938 kB / 0.6542 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.496, allocations: 216.5 kB / 0.6544 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.497, allocations: 186.7 kB / 0.6545 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.4985, allocations: 1.048 MB / 0.6556 GB, free: 3.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.4991, allocations: 0.8798 MB / 0.6564 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003545/0.4994, allocations: 186 kB / 0.6566 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.4995, allocations: 35.42 kB / 0.6566 GB, free: 2.742 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4995, allocations: 0 / 0.6566 GB, free: 2.742 MB / 494.1 MB Notification: Performance of Templates: time 0.05034/0.5498, allocations: 35.05 MB / 0.6909 GB, free: 15.72 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.342859329190105]