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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 107.7 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3985/0.3985, allocations: 44.14 MB / 386.1 MB, free: 38.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.38, allocations: 60.8 MB / 0.5064 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03053/0.4105, allocations: 30.92 MB / 0.5366 GB, free: 16.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01859/0.4292, allocations: 18.6 MB / 0.5547 GB, free: 3.438 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.4297, allocations: 13.88 kB / 0.5548 GB, free: 3.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.4305, allocations: 184.5 kB / 0.5549 GB, free: 3.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006461/0.4312, allocations: 256.5 kB / 0.5552 GB, free: 3.172 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02123/0.4524, allocations: 4.876 MB / 0.5599 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.4547, allocations: 1.12 MB / 0.561 GB, free: 480 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.4553, allocations: 204.8 kB / 0.5612 GB, free: 392 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01626/0.4715, allocations: 5.379 MB / 0.5665 GB, free: 13.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008393/0.4724, allocations: 253.4 kB / 0.5667 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.4725, allocations: 18.94 kB / 0.5667 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.4883, allocations: 6.248 MB / 0.5728 GB, free: 11.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.4887, allocations: 77.72 kB / 0.5729 GB, free: 11.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.4892, allocations: 182.6 kB / 0.5731 GB, free: 10.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.5009, allocations: 3.832 MB / 0.5768 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5009, allocations: 0 / 0.5768 GB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5009, allocations: 0 / 0.5768 GB, free: 7.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.501, allocations: 0 / 0.5768 GB, free: 7.812 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.003642/0.5046, allocations: 1.045 MB / 0.5779 GB, free: 6.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.5047, allocations: 19.91 kB / 0.5779 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.5064, allocations: 192.4 kB / 0.5781 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.507, allocations: 326.5 kB / 0.5784 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.5071, allocations: 28.88 kB / 0.5784 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.5072, allocations: 24.38 kB / 0.5784 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5085, allocations: 494.8 kB / 0.5789 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.5086, allocations: 3.938 kB / 0.5789 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.5086, allocations: 12 kB / 0.5789 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.5086, allocations: 11.98 kB / 0.5789 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5098, allocations: 409.3 kB / 0.5793 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.513, allocations: 2.418 MB / 0.5817 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5141, allocations: 342.2 kB / 0.582 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.5144, allocations: 104.8 kB / 0.5821 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03435/0.5488, allocations: 16.47 MB / 0.5982 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/0.5489, allocations: 38.55 kB / 0.5982 GB, free: 15.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 4.318e-06/0.5489, allocations: 3.984 kB / 0.5982 GB, free: 15.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.5511, allocations: 0.5223 MB / 0.5987 GB, free: 15.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.5512, allocations: 110.8 kB / 0.5988 GB, free: 14.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.5516, allocations: 324.7 kB / 0.5991 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.5516, allocations: 25.7 kB / 0.5992 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.5518, allocations: 203.7 kB / 0.5994 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.5518, allocations: 59.14 kB / 0.5994 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.552, allocations: 61.69 kB / 0.5995 GB, free: 14.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5521, allocations: 338.8 kB / 0.5998 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.5524, allocations: 91.94 kB / 0.5999 GB, free: 13.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.5528, allocations: 213.6 kB / 0.6001 GB, free: 13.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.5534, allocations: 291.6 kB / 0.6004 GB, free: 13.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5534, allocations: 8 kB / 0.6004 GB, free: 13.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007544/0.5542, allocations: 337.2 kB / 0.6007 GB, free: 12.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5542, allocations: 12.09 kB / 0.6007 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.5542, allocations: 4 kB / 0.6007 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.5542, allocations: 11.88 kB / 0.6007 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.5545, allocations: 75.88 kB / 0.6008 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5545, allocations: 4 kB / 0.6008 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5548, allocations: 47.58 kB / 0.6008 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.5549, allocations: 16 kB / 0.6009 GB, free: 12.68 MB / 426.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.0001689/0.555, allocations: 153.7 kB / 0.601 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.5551, allocations: 27.72 kB / 0.601 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.5566, allocations: 1.113 MB / 0.6021 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.5566, allocations: 11.98 kB / 0.6021 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5566, allocations: 3.984 kB / 0.6021 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5566, allocations: 0 / 0.6021 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.5574, allocations: 0.6676 MB / 0.6028 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5574, allocations: 0 / 0.6028 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.5576, allocations: 47.95 kB / 0.6028 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5576, allocations: 4 kB / 0.6028 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.5576, allocations: 7.938 kB / 0.6028 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5577, allocations: 0 / 0.6028 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5577, allocations: 0 / 0.6028 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.5594, allocations: 1.52 MB / 0.6043 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5595, allocations: 140.2 kB / 0.6045 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/0.5596, allocations: 23.69 kB / 0.6045 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.5598, allocations: 19.98 kB / 0.6045 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.5599, allocations: 23.91 kB / 0.6045 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5599, allocations: 11.98 kB / 0.6045 GB, free: 8.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.5603, allocations: 338.9 kB / 0.6049 GB, free: 8.434 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5603, allocations: 0 / 0.6049 GB, free: 8.434 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003135/0.5635, allocations: 0.8589 MB / 0.6057 GB, free: 7.574 MB / 426.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.004153/0.5676, allocations: 1.002 MB / 0.6067 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008234/0.5685, allocations: 366.4 kB / 0.607 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5685, allocations: 0 / 0.607 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.5689, allocations: 256.5 kB / 0.6073 GB, free: 5.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5699, allocations: 190.7 kB / 0.6075 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.5718, allocations: 1.611 MB / 0.609 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.5723, allocations: 0.8992 MB / 0.6099 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.5727, allocations: 183 kB / 0.6101 GB, free: 3.035 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.5727, allocations: 31.42 kB / 0.6101 GB, free: 3.004 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5727, allocations: 4 kB / 0.6101 GB, free: 3 MB / 426.7 MB Notification: Performance of Templates: time 0.0465/0.6193, allocations: 34.37 MB / 0.6437 GB, free: 0.6797 MB / 458.7 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 -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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches