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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000959/0.000959, allocations: 101.5 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3079/0.3079, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 51.92 kB / 429.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1059, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.218/0.324, allocations: 30.92 MB / 0.5058 GB, free: 37.34 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.3408, allocations: 18.58 MB / 0.5239 GB, free: 35.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.3411, allocations: 14.16 kB / 0.524 GB, free: 35.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.3418, allocations: 181.2 kB / 0.5241 GB, free: 35.19 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.3423, allocations: 265.6 kB / 0.5244 GB, free: 35.06 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.3559, allocations: 4.863 MB / 0.5291 GB, free: 33.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.3569, allocations: 1.118 MB / 0.5302 GB, free: 33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.3572, allocations: 204.4 kB / 0.5304 GB, free: 32.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.3675, allocations: 5.387 MB / 0.5357 GB, free: 30.45 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.368, allocations: 259.3 kB / 0.5359 GB, free: 30.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.096e-05/0.3681, allocations: 15.91 kB / 0.5359 GB, free: 30.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.3785, allocations: 6.235 MB / 0.542 GB, free: 28.78 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3786, allocations: 80.14 kB / 0.5421 GB, free: 28.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.3789, allocations: 179.1 kB / 0.5423 GB, free: 28.65 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00915/0.388, allocations: 3.827 MB / 0.546 GB, free: 27.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3881, allocations: 0 / 0.546 GB, free: 27.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.3881, allocations: 0 / 0.546 GB, free: 27.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3881, allocations: 4 kB / 0.546 GB, free: 27.6 MB / 394.7 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.00327/0.3914, allocations: 1.041 MB / 0.547 GB, free: 26.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3914, allocations: 9.5 kB / 0.547 GB, free: 26.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.393, allocations: 198.2 kB / 0.5472 GB, free: 26.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.3933, allocations: 342.1 kB / 0.5476 GB, free: 26.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3934, allocations: 21.22 kB / 0.5476 GB, free: 26.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.3934, allocations: 24.31 kB / 0.5476 GB, free: 26.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3945, allocations: 492.5 kB / 0.5481 GB, free: 26.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3945, allocations: 1.156 kB / 0.5481 GB, free: 26.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3946, allocations: 12.66 kB / 0.5481 GB, free: 26.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3946, allocations: 6.953 kB / 0.5481 GB, free: 26.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3957, allocations: 411.2 kB / 0.5485 GB, free: 26.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.3982, allocations: 2.43 MB / 0.5509 GB, free: 24.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3992, allocations: 329.9 kB / 0.5512 GB, free: 24.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3995, allocations: 115.5 kB / 0.5513 GB, free: 24.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03176/0.4312, allocations: 16.45 MB / 0.5674 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4313, allocations: 31.91 kB / 0.5674 GB, free: 11.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.166e-06/0.4313, allocations: 4 kB / 0.5674 GB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001978/0.4333, allocations: 0.53 MB / 0.5679 GB, free: 11.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4334, allocations: 105.1 kB / 0.568 GB, free: 11.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.4338, allocations: 315.1 kB / 0.5683 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4338, allocations: 26.77 kB / 0.5683 GB, free: 11.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.434, allocations: 210.5 kB / 0.5685 GB, free: 11.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.434, allocations: 58.14 kB / 0.5686 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.4341, allocations: 60.98 kB / 0.5686 GB, free: 10.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.4342, allocations: 345.7 kB / 0.569 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.4344, allocations: 88.06 kB / 0.5691 GB, free: 10.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.4347, allocations: 209.7 kB / 0.5693 GB, free: 10.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.4352, allocations: 306.7 kB / 0.5696 GB, free: 10.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4352, allocations: 1.375 kB / 0.5696 GB, free: 10.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006883/0.4359, allocations: 338.9 kB / 0.5699 GB, free: 9.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.436, allocations: 11.11 kB / 0.5699 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.436, allocations: 3.656 kB / 0.5699 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.436, allocations: 9.594 kB / 0.5699 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.4363, allocations: 70.92 kB / 0.57 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4363, allocations: 6.156 kB / 0.57 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.4366, allocations: 45.98 kB / 0.57 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.4366, allocations: 16.39 kB / 0.57 GB, free: 9.875 MB / 394.7 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.0001233/0.4367, allocations: 147.3 kB / 0.5702 GB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.4368, allocations: 39.81 kB / 0.5702 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.4381, allocations: 1.111 MB / 0.5713 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.4381, allocations: 20.16 kB / 0.5713 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4381, allocations: 1.625 kB / 0.5713 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4381, allocations: 0 / 0.5713 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.4387, allocations: 0.6646 MB / 0.572 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4387, allocations: 4 kB / 0.572 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.4389, allocations: 48.48 kB / 0.572 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4389, allocations: 5.156 kB / 0.572 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4389, allocations: 6.562 kB / 0.572 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.439, allocations: 7.875 kB / 0.572 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.439, allocations: 1.25 kB / 0.572 GB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4403, allocations: 1.516 MB / 0.5735 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.4404, allocations: 137.9 kB / 0.5736 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.4405, allocations: 22.03 kB / 0.5737 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4407, allocations: 28.17 kB / 0.5737 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.4408, allocations: 21.06 kB / 0.5737 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.4408, allocations: 9.484 kB / 0.5737 GB, free: 7.102 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.4411, allocations: 340.7 kB / 0.574 GB, free: 6.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4411, allocations: 0 / 0.574 GB, free: 6.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003881/0.445, allocations: 0.8603 MB / 0.5749 GB, free: 6.738 MB / 394.7 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.005402/0.4504, allocations: 0.9984 MB / 0.5759 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.4513, allocations: 362 kB / 0.5762 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4513, allocations: 0 / 0.5762 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.4516, allocations: 260.7 kB / 0.5765 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4526, allocations: 183.3 kB / 0.5766 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.4542, allocations: 1.611 MB / 0.5782 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.4544, allocations: 0.8969 MB / 0.5791 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.4548, allocations: 190 kB / 0.5793 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.4549, allocations: 32.03 kB / 0.5793 GB, free: 3.867 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4549, allocations: 0 / 0.5793 GB, free: 3.867 MB / 394.7 MB Notification: Performance of Templates: time 0.04273/0.4976, allocations: 34.35 MB / 0.6128 GB, free: 2.848 MB / 426.7 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@2/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