Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001915, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 242.4 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.16 MB / 336.8 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 60.56 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03603/0.1742, allocations: 30.91 MB / 0.4884 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3035/0.4778, allocations: 18.58 MB / 0.5065 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004298/0.4782, allocations: 12.38 kB / 0.5065 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.479, allocations: 189.3 kB / 0.5067 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.4797, allocations: 258 kB / 0.507 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01901/0.4987, allocations: 4.884 MB / 0.5117 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.5006, allocations: 1.117 MB / 0.5128 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.501, allocations: 200.2 kB / 0.513 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.514, allocations: 5.382 MB / 0.5183 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000775/0.5149, allocations: 253 kB / 0.5185 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.5149, allocations: 14.88 kB / 0.5185 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/0.5294, allocations: 6.242 MB / 0.5246 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.5297, allocations: 79.81 kB / 0.5247 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005185/0.5302, allocations: 186.2 kB / 0.5249 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006682/0.5369, allocations: 2.617 MB / 0.5274 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.5369, allocations: 0 / 0.5274 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.537, allocations: 0 / 0.5274 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.537, allocations: 2.656 kB / 0.5274 GB, free: 8.195 MB / 382.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.002815/0.5398, allocations: 1.029 MB / 0.5284 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5398, allocations: 13.47 kB / 0.5284 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.5414, allocations: 196.2 kB / 0.5286 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.5418, allocations: 343.9 kB / 0.529 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.5418, allocations: 21.59 kB / 0.529 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.5419, allocations: 25.88 kB / 0.529 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.543, allocations: 493.6 kB / 0.5295 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.543, allocations: 4 kB / 0.5295 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.543, allocations: 13 kB / 0.5295 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.543, allocations: 5.438 kB / 0.5295 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.5442, allocations: 410.2 kB / 0.5299 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.5468, allocations: 2.43 MB / 0.5323 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.5479, allocations: 324.6 kB / 0.5326 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.5482, allocations: 111.9 kB / 0.5327 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02996/0.5782, allocations: 16.47 MB / 0.5488 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.5782, allocations: 34.56 kB / 0.5488 GB, free: 5.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.5783, allocations: 4 kB / 0.5488 GB, free: 5.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002127/0.5804, allocations: 0.5243 MB / 0.5493 GB, free: 5.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.5805, allocations: 106.8 kB / 0.5494 GB, free: 5.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.5809, allocations: 314 kB / 0.5497 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.581, allocations: 31.83 kB / 0.5497 GB, free: 5.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5811, allocations: 205.1 kB / 0.5499 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.5812, allocations: 55.98 kB / 0.55 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5813, allocations: 64.16 kB / 0.5501 GB, free: 4.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5815, allocations: 345.1 kB / 0.5504 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.5818, allocations: 94.05 kB / 0.5505 GB, free: 4.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.5821, allocations: 208.8 kB / 0.5507 GB, free: 4.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.5828, allocations: 300.8 kB / 0.551 GB, free: 3.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5828, allocations: 0 / 0.551 GB, free: 3.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008028/0.5836, allocations: 343.1 kB / 0.5513 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5836, allocations: 4 kB / 0.5513 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5837, allocations: 4 kB / 0.5513 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.5837, allocations: 7.938 kB / 0.5513 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.584, allocations: 74.55 kB / 0.5514 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.584, allocations: 4 kB / 0.5514 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.5843, allocations: 52.94 kB / 0.5514 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.5844, allocations: 15.62 kB / 0.5514 GB, free: 3.477 MB / 398.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.0001888/0.5846, allocations: 148.4 kB / 0.5516 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.5846, allocations: 33.42 kB / 0.5516 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.5861, allocations: 1.111 MB / 0.5527 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.5862, allocations: 19.91 kB / 0.5527 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5862, allocations: 0 / 0.5527 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5862, allocations: 3.938 kB / 0.5527 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.5869, allocations: 0.6662 MB / 0.5534 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.587, allocations: 4 kB / 0.5534 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.5872, allocations: 51.95 kB / 0.5534 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5872, allocations: 0 / 0.5534 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5872, allocations: 3.984 kB / 0.5534 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.5873, allocations: 11.03 kB / 0.5534 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5873, allocations: 0 / 0.5534 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.5882, allocations: 0.6231 MB / 0.5541 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.5883, allocations: 132.3 kB / 0.5542 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.5884, allocations: 23.69 kB / 0.5542 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.5887, allocations: 27.91 kB / 0.5542 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.5888, allocations: 19.97 kB / 0.5542 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.5888, allocations: 8 kB / 0.5543 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.5892, allocations: 342.9 kB / 0.5546 GB, free: 372 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5892, allocations: 0 / 0.5546 GB, free: 372 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.003003/0.5922, allocations: 0.8471 MB / 0.5554 GB, free: 15.52 MB / 414.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.005387/0.5976, allocations: 1.014 MB / 0.5564 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.5986, allocations: 344.8 kB / 0.5567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5986, allocations: 0 / 0.5567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.599, allocations: 259.4 kB / 0.557 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6002, allocations: 172.2 kB / 0.5571 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.6021, allocations: 1.277 MB / 0.5584 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.6025, allocations: 0.8836 MB / 0.5593 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.6026, allocations: 31.44 kB / 0.5593 GB, free: 11.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6027, allocations: 0 / 0.5593 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Templates: time 0.03523/0.6379, allocations: 20.45 MB / 0.5792 GB, free: 7.242 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches