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.001362/0.001362, allocations: 113.7 kB / 17.74 MB, free: 5.43 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.001262/0.001263, allocations: 188 kB / 18.66 MB, free: 4.508 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.289/1.289, allocations: 222.9 MB / 242.3 MB, free: 15.08 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.1875/0.1875, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 60.14 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3224, allocations: 60.82 MB / 0.5188 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02952/0.352, allocations: 30.07 MB / 0.5482 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.3701, allocations: 17.62 MB / 0.5654 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.3705, allocations: 7.938 kB / 0.5654 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.3711, allocations: 214.6 kB / 0.5656 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.3716, allocations: 278.4 kB / 0.5659 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.3861, allocations: 6.03 MB / 0.5718 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.3872, allocations: 0.8342 MB / 0.5726 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.3875, allocations: 240.7 kB / 0.5728 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.3987, allocations: 5.454 MB / 0.5781 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.3992, allocations: 243 kB / 0.5784 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.3992, allocations: 28 kB / 0.5784 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.4098, allocations: 6.31 MB / 0.5846 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.41, allocations: 99.66 kB / 0.5847 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.4103, allocations: 191.1 kB / 0.5848 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007173/0.4175, allocations: 3.828 MB / 0.5886 GB, free: 4.445 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4175, allocations: 0 / 0.5886 GB, free: 4.445 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4175, allocations: 0 / 0.5886 GB, free: 4.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4175, allocations: 3.938 kB / 0.5886 GB, free: 4.441 MB / 446.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.00188/0.4194, allocations: 1.041 MB / 0.5896 GB, free: 3.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4194, allocations: 15.97 kB / 0.5896 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.4209, allocations: 200.2 kB / 0.5898 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.4214, allocations: 342.6 kB / 0.5901 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.4214, allocations: 24.94 kB / 0.5901 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.4215, allocations: 24.38 kB / 0.5902 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.4226, allocations: 486.8 kB / 0.5906 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4226, allocations: 4 kB / 0.5906 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.4227, allocations: 12 kB / 0.5907 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4227, allocations: 4 kB / 0.5907 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.4239, allocations: 417.2 kB / 0.5911 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.4267, allocations: 2.423 MB / 0.5934 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.4279, allocations: 338.1 kB / 0.5937 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.4282, allocations: 108.8 kB / 0.5938 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03178/0.46, allocations: 16.53 MB / 0.61 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.46, allocations: 38.56 kB / 0.61 GB, free: 12.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.46, allocations: 0 / 0.61 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002087/0.4621, allocations: 0.5205 MB / 0.6105 GB, free: 11.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.4622, allocations: 106.8 kB / 0.6106 GB, free: 11.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.4626, allocations: 324.4 kB / 0.6109 GB, free: 11.12 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.4626, allocations: 33.7 kB / 0.611 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4628, allocations: 211.5 kB / 0.6112 GB, free: 10.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.4628, allocations: 51.34 kB / 0.6112 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.4629, allocations: 57.7 kB / 0.6113 GB, free: 10.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.463, allocations: 338.8 kB / 0.6116 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.4633, allocations: 87.94 kB / 0.6117 GB, free: 10.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.4637, allocations: 211.4 kB / 0.6119 GB, free: 10.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.4643, allocations: 300.6 kB / 0.6122 GB, free: 9.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4643, allocations: 4 kB / 0.6122 GB, free: 9.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000746/0.465, allocations: 332.8 kB / 0.6125 GB, free: 9.395 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4651, allocations: 14.64 kB / 0.6125 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4651, allocations: 4.469 kB / 0.6125 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4651, allocations: 11.94 kB / 0.6125 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.4654, allocations: 71.89 kB / 0.6126 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.4654, allocations: 7.938 kB / 0.6126 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4656, allocations: 43.58 kB / 0.6126 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.4657, allocations: 16 kB / 0.6127 GB, free: 9.23 MB / 478.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.0001663/0.4658, allocations: 157.7 kB / 0.6128 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.4659, allocations: 31.72 kB / 0.6128 GB, free: 9.035 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.4673, allocations: 1.097 MB / 0.6139 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4673, allocations: 15.92 kB / 0.6139 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.4673, allocations: 7.984 kB / 0.6139 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4673, allocations: 3.938 kB / 0.6139 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.4679, allocations: 0.6754 MB / 0.6146 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.468, allocations: 0 / 0.6146 GB, free: 7.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.4682, allocations: 47.95 kB / 0.6146 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4682, allocations: 0 / 0.6146 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4682, allocations: 7.938 kB / 0.6147 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.4682, allocations: 4 kB / 0.6147 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4682, allocations: 4 kB / 0.6147 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.469, allocations: 0.6154 MB / 0.6153 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.4692, allocations: 124.4 kB / 0.6154 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.4692, allocations: 31.62 kB / 0.6154 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.4694, allocations: 15.98 kB / 0.6154 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.4695, allocations: 27.92 kB / 0.6155 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.4695, allocations: 8 kB / 0.6155 GB, free: 6.258 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000335/0.4699, allocations: 342.8 kB / 0.6158 GB, free: 5.922 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4699, allocations: 0 / 0.6158 GB, free: 5.922 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002148/0.472, allocations: 0.8471 MB / 0.6166 GB, free: 5.074 MB / 478.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.003717/0.4758, allocations: 1.005 MB / 0.6176 GB, free: 4.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.4765, allocations: 352.2 kB / 0.6179 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4765, allocations: 0 / 0.6179 GB, free: 3.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.4769, allocations: 261.4 kB / 0.6182 GB, free: 3.473 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.4779, allocations: 193.2 kB / 0.6184 GB, free: 3.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4793, allocations: 1.017 MB / 0.6194 GB, free: 2.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4797, allocations: 0.8796 MB / 0.6202 GB, free: 1.348 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.4801, allocations: 184.5 kB / 0.6204 GB, free: 1.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.4802, allocations: 35.44 kB / 0.6204 GB, free: 1.137 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4802, allocations: 0 / 0.6204 GB, free: 1.137 MB / 478.1 MB Notification: Performance of Templates: time 0.04336/0.5236, allocations: 34.5 MB / 0.6541 GB, free: 14.66 MB / 0.5137 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/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