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.001493/0.001493, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001657/0.001657, allocations: 187 kB / 19.34 MB, free: 3.641 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.426/1.426, allocations: 222.9 MB / 243 MB, free: 15.16 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.2202/0.2202, allocations: 44.18 MB / 337.4 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002498, allocations: 69.58 kB / 409.9 MB, free: 26.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1916, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03848/0.2301, allocations: 30.06 MB / 0.489 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.5437, allocations: 17.6 MB / 0.5062 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.5442, allocations: 8.531 kB / 0.5062 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007775/0.545, allocations: 221.5 kB / 0.5064 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006987/0.5457, allocations: 272.4 kB / 0.5067 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01951/0.5652, allocations: 6.029 MB / 0.5126 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.5671, allocations: 0.8397 MB / 0.5134 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.5676, allocations: 234.5 kB / 0.5136 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01447/0.5821, allocations: 5.457 MB / 0.519 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007743/0.5829, allocations: 243.6 kB / 0.5192 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.583, allocations: 30.31 kB / 0.5192 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.6012, allocations: 6.312 MB / 0.5254 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.6015, allocations: 87.48 kB / 0.5255 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.602, allocations: 193.4 kB / 0.5257 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.6132, allocations: 3.84 MB / 0.5294 GB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.6133, allocations: 1.438 kB / 0.5294 GB, free: 7.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6133, allocations: 0 / 0.5294 GB, free: 7.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.6133, allocations: 0 / 0.5294 GB, free: 7.535 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.003047/0.6164, allocations: 1.048 MB / 0.5304 GB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6164, allocations: 8.219 kB / 0.5304 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.618, allocations: 191.2 kB / 0.5306 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.6186, allocations: 348.7 kB / 0.531 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.6186, allocations: 23.81 kB / 0.531 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.6186, allocations: 31.23 kB / 0.531 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.6197, allocations: 491.5 kB / 0.5315 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6198, allocations: 2.562 kB / 0.5315 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.6198, allocations: 15.5 kB / 0.5315 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.6198, allocations: 7.156 kB / 0.5315 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.6209, allocations: 408.3 kB / 0.5319 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.6234, allocations: 2.426 MB / 0.5343 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.6244, allocations: 326.9 kB / 0.5346 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.6247, allocations: 103.1 kB / 0.5347 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03002/0.6547, allocations: 16.53 MB / 0.5508 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.6548, allocations: 38.56 kB / 0.5509 GB, free: 3.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/0.6548, allocations: 3.938 kB / 0.5509 GB, free: 3.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002011/0.6568, allocations: 0.5277 MB / 0.5514 GB, free: 3.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.6569, allocations: 106.8 kB / 0.5515 GB, free: 3.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.6573, allocations: 323.5 kB / 0.5518 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.6573, allocations: 29.7 kB / 0.5518 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.6575, allocations: 210.4 kB / 0.552 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.6575, allocations: 39.36 kB / 0.552 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.6577, allocations: 69.59 kB / 0.5521 GB, free: 2.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6578, allocations: 338.8 kB / 0.5524 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.6581, allocations: 91.92 kB / 0.5525 GB, free: 2.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.6584, allocations: 209.2 kB / 0.5527 GB, free: 1.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.659, allocations: 301.4 kB / 0.553 GB, free: 1.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.659, allocations: 1.594 kB / 0.553 GB, free: 1.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007174/0.6597, allocations: 340.7 kB / 0.5533 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6597, allocations: 7.281 kB / 0.5533 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6598, allocations: 4 kB / 0.5533 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6598, allocations: 11.94 kB / 0.5534 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.6601, allocations: 67.42 kB / 0.5534 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.6601, allocations: 19.08 kB / 0.5534 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.6604, allocations: 43.67 kB / 0.5535 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.6604, allocations: 16 kB / 0.5535 GB, free: 1.133 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.0001777/0.6606, allocations: 152.4 kB / 0.5536 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.6607, allocations: 31.62 kB / 0.5537 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.6621, allocations: 1.11 MB / 0.5548 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.6621, allocations: 15.92 kB / 0.5548 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.6621, allocations: 0 / 0.5548 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6621, allocations: 3.938 kB / 0.5548 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.6628, allocations: 0.6631 MB / 0.5554 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6628, allocations: 4 kB / 0.5554 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.663, allocations: 50.56 kB / 0.5555 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.663, allocations: 4 kB / 0.5555 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.6631, allocations: 4 kB / 0.5555 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6631, allocations: 3.938 kB / 0.5555 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6631, allocations: 0 / 0.5555 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.6639, allocations: 0.6298 MB / 0.5561 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.664, allocations: 120.4 kB / 0.5562 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.664, allocations: 27.69 kB / 0.5562 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.6643, allocations: 23.91 kB / 0.5563 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.6643, allocations: 19.97 kB / 0.5563 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.6644, allocations: 8 kB / 0.5563 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.6647, allocations: 342.9 kB / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6647, allocations: 0 / 0.5566 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003069/0.6678, allocations: 0.8432 MB / 0.5574 GB, free: 13.02 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.003758/0.6716, allocations: 1.014 MB / 0.5584 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.6724, allocations: 350.9 kB / 0.5588 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6724, allocations: 0 / 0.5588 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.6728, allocations: 259.2 kB / 0.559 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009407/0.6737, allocations: 179.5 kB / 0.5592 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.6753, allocations: 1.021 MB / 0.5602 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.6758, allocations: 0.8875 MB / 0.5611 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000365/0.6761, allocations: 179.9 kB / 0.5612 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.6762, allocations: 35.42 kB / 0.5613 GB, free: 9.195 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6762, allocations: 0 / 0.5613 GB, free: 9.195 MB / 414.1 MB Notification: Performance of Templates: time 0.04918/0.7254, allocations: 34.51 MB / 0.595 GB, free: 6.805 MB / 446.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 -s cvode -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