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.0008046/0.0008047, allocations: 103.3 kB / 16.02 MB, free: 76 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.00102/0.00102, allocations: 185.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.4225/0.4225, allocations: 43.59 MB / 315 MB, free: 8.992 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.0007385/0.0007387, allocations: 15.98 kB / 384.6 MB, free: 7.863 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1729, allocations: 58.86 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3499/0.5229, allocations: 30.2 MB / 473.7 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.542, allocations: 18.29 MB / 491.9 MB, free: 20.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/0.5426, allocations: 14.22 kB / 492 MB, free: 20.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.5434, allocations: 181.2 kB / 492.1 MB, free: 20.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.5441, allocations: 260.5 kB / 492.4 MB, free: 20.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02044/0.5646, allocations: 4.873 MB / 497.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.5661, allocations: 1.109 MB / 498.4 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.5665, allocations: 198.8 kB / 498.6 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.5779, allocations: 5.377 MB / 0.4921 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.5788, allocations: 251.2 kB / 0.4924 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.5789, allocations: 13.66 kB / 0.4924 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01779/0.5967, allocations: 6.238 MB / 0.4985 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.597, allocations: 70.05 kB / 0.4985 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.5976, allocations: 204.7 kB / 0.4987 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.6143, allocations: 3.812 MB / 0.5025 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6143, allocations: 1.375 kB / 0.5025 GB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6143, allocations: 0 / 0.5025 GB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.6144, allocations: 4 kB / 0.5025 GB, free: 12.16 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.004659/0.619, allocations: 0.9746 MB / 0.5034 GB, free: 11.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.6191, allocations: 9.719 kB / 0.5034 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.6208, allocations: 199.7 kB / 0.5036 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.6213, allocations: 339 kB / 0.5039 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.6213, allocations: 21.12 kB / 0.504 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.6214, allocations: 24.69 kB / 0.504 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6226, allocations: 0.5029 MB / 0.5045 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6226, allocations: 5.25 kB / 0.5045 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.6227, allocations: 16.03 kB / 0.5045 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.6227, allocations: 5.938 kB / 0.5045 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6238, allocations: 439.1 kB / 0.5049 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.6267, allocations: 2.438 MB / 0.5073 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.6278, allocations: 359.5 kB / 0.5076 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.6281, allocations: 115.9 kB / 0.5078 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03277/0.6609, allocations: 16.61 MB / 0.524 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/0.661, allocations: 37.44 kB / 0.524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.661, allocations: 0 / 0.524 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002404/0.6634, allocations: 0.5794 MB / 0.5246 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6636, allocations: 104.6 kB / 0.5247 GB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.6641, allocations: 316.1 kB / 0.525 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.6642, allocations: 31.27 kB / 0.525 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.6644, allocations: 201.8 kB / 0.5252 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.6645, allocations: 61.88 kB / 0.5253 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.6645, allocations: 29.36 kB / 0.5253 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6647, allocations: 337.2 kB / 0.5256 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.6651, allocations: 105.9 kB / 0.5257 GB, free: 9.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.6655, allocations: 231.7 kB / 0.5259 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.6662, allocations: 311.5 kB / 0.5262 GB, free: 8.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.6663, allocations: 1.344 kB / 0.5262 GB, free: 8.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009273/0.6672, allocations: 359.8 kB / 0.5266 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.6672, allocations: 11.03 kB / 0.5266 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6673, allocations: 3.531 kB / 0.5266 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.6673, allocations: 8.75 kB / 0.5266 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.6676, allocations: 80.61 kB / 0.5267 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.6676, allocations: 12.39 kB / 0.5267 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.668, allocations: 55.58 kB / 0.5267 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.668, allocations: 12 kB / 0.5267 GB, free: 8.512 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.0002198/0.6683, allocations: 153.8 kB / 0.5269 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.6684, allocations: 35.62 kB / 0.5269 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.6702, allocations: 1.144 MB / 0.528 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.6702, allocations: 15.92 kB / 0.5281 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6702, allocations: 0 / 0.5281 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6702, allocations: 3.984 kB / 0.5281 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.6711, allocations: 0.66 MB / 0.5287 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6711, allocations: 4 kB / 0.5287 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.6714, allocations: 55.95 kB / 0.5288 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.6714, allocations: 0 / 0.5288 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6714, allocations: 4 kB / 0.5288 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.6714, allocations: 7.938 kB / 0.5288 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6714, allocations: 4 kB / 0.5288 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.6724, allocations: 0.6427 MB / 0.5294 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.6726, allocations: 199.9 kB / 0.5296 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.6726, allocations: 7.938 kB / 0.5296 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.6729, allocations: 35.91 kB / 0.5296 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.673, allocations: 19.97 kB / 0.5297 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.673, allocations: 8 kB / 0.5297 GB, free: 5.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.6734, allocations: 342.8 kB / 0.53 GB, free: 5.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.6734, allocations: 0 / 0.53 GB, free: 5.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004829/0.6782, allocations: 0.8471 MB / 0.5308 GB, free: 4.23 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.005314/0.6836, allocations: 1.004 MB / 0.5318 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.6845, allocations: 369.2 kB / 0.5322 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6846, allocations: 4 kB / 0.5322 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.685, allocations: 268.5 kB / 0.5324 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6861, allocations: 177.6 kB / 0.5326 GB, free: 2.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.6878, allocations: 1.266 MB / 0.5338 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.6882, allocations: 0.8759 MB / 0.5347 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.6886, allocations: 187 kB / 0.5349 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.6887, allocations: 35.44 kB / 0.5349 GB, free: 12 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6887, allocations: 3.938 kB / 0.5349 GB, free: 8 kB / 398.1 MB Notification: Performance of Templates: time 0.05057/0.7393, allocations: 34.1 MB / 0.5682 GB, free: 13.91 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