Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001195/0.001195, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 202.9 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4364/0.4364, allocations: 43.5 MB / 313.5 MB, free: 8.473 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 71.89 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1634, allocations: 57.78 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3775/0.5411, allocations: 30.93 MB / 470.8 MB, free: 33.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.5614, allocations: 18.58 MB / 489.3 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.562, allocations: 10.5 kB / 489.3 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008069/0.5629, allocations: 189.2 kB / 489.5 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.5635, allocations: 257.1 kB / 489.8 MB, free: 20.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.5805, allocations: 4.862 MB / 494.6 MB, free: 18.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.5819, allocations: 1.112 MB / 495.8 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.5823, allocations: 213.8 kB / 496 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.5946, allocations: 5.378 MB / 0.4896 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.5953, allocations: 247 kB / 0.4898 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.5954, allocations: 15.69 kB / 0.4898 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0171/0.6125, allocations: 6.244 MB / 0.4959 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.6127, allocations: 78.17 kB / 0.496 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.6132, allocations: 173.5 kB / 0.4962 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.629, allocations: 3.839 MB / 0.4999 GB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.629, allocations: 0 / 0.4999 GB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.629, allocations: 1.656 kB / 0.4999 GB, free: 12.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.6291, allocations: 0 / 0.4999 GB, free: 12.55 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.004846/0.6339, allocations: 1.05 MB / 0.501 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.634, allocations: 10.09 kB / 0.501 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.6355, allocations: 192.1 kB / 0.5011 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.636, allocations: 326.7 kB / 0.5015 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.636, allocations: 25.28 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.636, allocations: 25.5 kB / 0.5015 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6372, allocations: 493 kB / 0.502 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6373, allocations: 1.531 kB / 0.502 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.6373, allocations: 18.64 kB / 0.502 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.6373, allocations: 7.125 kB / 0.502 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.6385, allocations: 409.5 kB / 0.5024 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.6419, allocations: 2.422 MB / 0.5048 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.6432, allocations: 335.5 kB / 0.5051 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.6435, allocations: 116 kB / 0.5052 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03237/0.6759, allocations: 16.45 MB / 0.5213 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.676, allocations: 32.5 kB / 0.5213 GB, free: 10.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 3.256e-06/0.676, allocations: 0 / 0.5213 GB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002253/0.6783, allocations: 0.5317 MB / 0.5218 GB, free: 10.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/0.6784, allocations: 113.5 kB / 0.5219 GB, free: 10.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.6788, allocations: 318.3 kB / 0.5222 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6789, allocations: 27.77 kB / 0.5222 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.679, allocations: 204.5 kB / 0.5224 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.6791, allocations: 51.02 kB / 0.5225 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.6792, allocations: 69.88 kB / 0.5226 GB, free: 9.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6794, allocations: 335.9 kB / 0.5229 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.6797, allocations: 98.17 kB / 0.523 GB, free: 9.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.6801, allocations: 209.3 kB / 0.5232 GB, free: 9.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/0.6808, allocations: 297.4 kB / 0.5234 GB, free: 9.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6809, allocations: 1.344 kB / 0.5234 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001094/0.682, allocations: 340.1 kB / 0.5238 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.682, allocations: 6.312 kB / 0.5238 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.682, allocations: 8.906 kB / 0.5238 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.682, allocations: 8.219 kB / 0.5238 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.6823, allocations: 75.48 kB / 0.5239 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6823, allocations: 8.641 kB / 0.5239 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.6827, allocations: 42.98 kB / 0.5239 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.6827, allocations: 10.78 kB / 0.5239 GB, free: 8.906 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.0001903/0.6829, allocations: 164 kB / 0.5241 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.683, allocations: 31.06 kB / 0.5241 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.6848, allocations: 1.11 MB / 0.5252 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.6849, allocations: 19.92 kB / 0.5252 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.6849, allocations: 3.938 kB / 0.5252 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6849, allocations: 3.984 kB / 0.5252 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000872/0.6858, allocations: 0.6638 MB / 0.5259 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6858, allocations: 0 / 0.5259 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.6861, allocations: 47.95 kB / 0.5259 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.6861, allocations: 5.938 kB / 0.5259 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.6861, allocations: 4 kB / 0.5259 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6862, allocations: 7.938 kB / 0.5259 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6862, allocations: 0 / 0.5259 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.6871, allocations: 0.6191 MB / 0.5265 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6873, allocations: 136.3 kB / 0.5267 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.6874, allocations: 27.69 kB / 0.5267 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.6876, allocations: 19.92 kB / 0.5267 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.6877, allocations: 23.97 kB / 0.5267 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.6877, allocations: 7.984 kB / 0.5267 GB, free: 6.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004539/0.6882, allocations: 338.9 kB / 0.5271 GB, free: 5.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6882, allocations: 0 / 0.5271 GB, free: 5.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005165/0.6934, allocations: 0.851 MB / 0.5279 GB, free: 4.949 MB / 398.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.007687/0.7011, allocations: 1.011 MB / 0.5289 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.7021, allocations: 344.2 kB / 0.5292 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7021, allocations: 0.9375 kB / 0.5292 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.7025, allocations: 264.5 kB / 0.5295 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.7037, allocations: 182 kB / 0.5296 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.7054, allocations: 1.243 MB / 0.5309 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.7059, allocations: 0.8797 MB / 0.5317 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004119/0.7063, allocations: 185.2 kB / 0.5319 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.7064, allocations: 27.44 kB / 0.5319 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.7064, allocations: 0 / 0.5319 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Templates: time 0.05214/0.7585, allocations: 34.15 MB / 0.5653 GB, free: 14.64 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches