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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9479/0.9479, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2414/0.2414, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,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=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.517e-05, allocations: 5.047 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02671/0.02673, allocations: 14.5 MB / 337.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.04552, allocations: 12.73 MB / 350.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008118/0.04634, allocations: 15.88 kB / 350.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007855/0.04712, allocations: 131 kB / 350.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.04837, allocations: 302 kB / 350.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01649/0.06485, allocations: 5.586 MB / 356.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.06611, allocations: 0.8653 MB / 357.3 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.06657, allocations: 213.2 kB / 357.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004846/0.07142, allocations: 2.236 MB / 359.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.07181, allocations: 195.4 kB / 360 MB, free: 4.801 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.07189, allocations: 36 kB / 360 MB, free: 4.766 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007956/0.07984, allocations: 5.919 MB / 365.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.07996, allocations: 91.66 kB / 366 MB, free: 14.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.08014, allocations: 139.7 kB / 366.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007948/0.08809, allocations: 4.56 MB / 370.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.0881, allocations: 0 / 370.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0881, allocations: 0 / 370.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.0881, allocations: 8 kB / 370.7 MB, free: 10.04 MB / 346.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.001268/0.08937, allocations: 0.9179 MB / 371.6 MB, free: 9.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.0894, allocations: 8.031 kB / 371.7 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008536/0.09026, allocations: 288 kB / 371.9 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.09054, allocations: 276.6 kB / 372.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.09056, allocations: 21.03 kB / 372.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.09059, allocations: 28.38 kB / 372.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.09119, allocations: 0.6022 MB / 372.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.0912, allocations: 8.188 kB / 372.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.09122, allocations: 15.94 kB / 372.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.09123, allocations: 4 kB / 372.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.09161, allocations: 260.8 kB / 373.1 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.09283, allocations: 1.527 MB / 374.7 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.09328, allocations: 268.5 kB / 374.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.09333, allocations: 32.84 kB / 375 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1261/0.2195, allocations: 68.06 MB / 443 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.2195, allocations: 38.56 kB / 443.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.2195, allocations: 0 / 443.1 MB, free: 1.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007574/0.2202, allocations: 357 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.2203, allocations: 110.8 kB / 443.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2204, allocations: 258.9 kB / 443.8 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2205, allocations: 29.7 kB / 443.8 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.2205, allocations: 212.3 kB / 444 MB, free: 420 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2206, allocations: 43.58 kB / 444 MB, free: 376 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.2206, allocations: 61.62 kB / 444.1 MB, free: 308 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1291/0.3497, allocations: 335.8 kB / 444.4 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3499, allocations: 35.09 kB / 444.5 MB, free: 103.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.35, allocations: 216.3 kB / 444.7 MB, free: 103.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3502, allocations: 210.6 kB / 444.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3502, allocations: 6.406 kB / 444.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003575/0.3506, allocations: 203.6 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.3506, allocations: 6.688 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3506, allocations: 4.531 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3506, allocations: 5.094 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.3508, allocations: 62.06 kB / 445.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3508, allocations: 10.62 kB / 445.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.351, allocations: 34.27 kB / 445.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.351, allocations: 14.73 kB / 445.2 MB, free: 103.3 MB / 410.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.0001125/0.3511, allocations: 138.3 kB / 445.4 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.3511, allocations: 20.36 kB / 445.4 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.3517, allocations: 0.6991 MB / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3517, allocations: 16.73 kB / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.3517, allocations: 0 / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3517, allocations: 2.609 kB / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3519, allocations: 382.1 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3519, allocations: 0.5156 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.352, allocations: 38.59 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.352, allocations: 0.8438 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.352, allocations: 3.812 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.352, allocations: 3.969 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.352, allocations: 0 / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.3523, allocations: 435.4 kB / 446.9 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.3523, allocations: 52.5 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.3523, allocations: 25.28 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.269e-05/0.3524, allocations: 13.61 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3525, allocations: 24.31 kB / 447.1 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3525, allocations: 4.609 kB / 447.1 MB, free: 102.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3526, allocations: 162.6 kB / 447.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3526, allocations: 0 / 447.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001739/0.3543, allocations: 0.8664 MB / 448.1 MB, free: 102.6 MB / 410.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.001945/0.3563, allocations: 1.163 MB / 449.3 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.3565, allocations: 169 kB / 449.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.3565, allocations: 4.781 kB / 449.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.3566, allocations: 100.3 kB / 449.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3569, allocations: 179 kB / 449.7 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.3579, allocations: 0.9298 MB / 450.6 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.3579, allocations: 139.7 kB / 450.8 MB, free: 102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.3581, allocations: 170.9 kB / 450.9 MB, free: 102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3583, allocations: 169.2 kB / 451.1 MB, free: 102 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3583, allocations: 0 / 451.1 MB, free: 102 MB / 410.7 MB Notification: Performance of Templates: time 0.02836/0.3867, allocations: 38.4 MB / 489.5 MB, free: 71.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4882839121855795]