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.001841/0.001841, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001182/0.001182, allocations: 169 kB / 24.91 MB, free: 9.207 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.9513/0.9513, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2315/0.2315, allocations: 32.8 MB / 294.6 MB, free: 1.172 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.393e-06/1.393e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.443e-05, allocations: 5.328 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01174/0.01175, allocations: 14.55 MB / 337.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02176, allocations: 12.74 MB / 350.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.02191, allocations: 11.88 kB / 350.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.02225, allocations: 127.1 kB / 350.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.02264, allocations: 294 kB / 351 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008127/0.03076, allocations: 5.077 MB / 356.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.03142, allocations: 0.8692 MB / 356.9 MB, free: 7.855 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.03167, allocations: 213.2 kB / 357.1 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.03408, allocations: 2.219 MB / 359.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.03427, allocations: 211.3 kB / 359.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.03432, allocations: 32 kB / 359.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007436/0.04175, allocations: 6.329 MB / 365.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.04184, allocations: 95.66 kB / 366 MB, free: 14.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.04195, allocations: 135.7 kB / 366.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004381/0.04633, allocations: 4.56 MB / 370.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.04633, allocations: 0 / 370.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.04633, allocations: 0 / 370.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.04634, allocations: 3.938 kB / 370.7 MB, free: 10.02 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.001099/0.04744, allocations: 0.9296 MB / 371.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.04748, allocations: 8.031 kB / 371.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009724/0.04845, allocations: 292 kB / 371.9 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.04873, allocations: 264.7 kB / 372.2 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.04875, allocations: 24.97 kB / 372.2 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.04878, allocations: 28.38 kB / 372.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/0.04943, allocations: 0.5909 MB / 372.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.04944, allocations: 192 / 372.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.04946, allocations: 15.94 kB / 372.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.04947, allocations: 8 kB / 372.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.04989, allocations: 268.7 kB / 373.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.05116, allocations: 1.531 MB / 374.6 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.05167, allocations: 250.3 kB / 374.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.05171, allocations: 35.8 kB / 374.9 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1302/0.182, allocations: 68.07 MB / 443 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.182, allocations: 34.56 kB / 443 MB, free: 1.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.284e-06/0.182, allocations: 4 kB / 443 MB, free: 1.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008847/0.1829, allocations: 361 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1829, allocations: 110.8 kB / 443.5 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1831, allocations: 258.9 kB / 443.8 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1831, allocations: 29.7 kB / 443.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.1832, allocations: 196.4 kB / 444 MB, free: 416 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1832, allocations: 51.56 kB / 444 MB, free: 364 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1833, allocations: 61.62 kB / 444.1 MB, free: 296 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1382/0.3215, allocations: 334.8 kB / 444.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3216, allocations: 33.53 kB / 444.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3217, allocations: 216.5 kB / 444.7 MB, free: 103.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3219, allocations: 213.6 kB / 444.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3219, allocations: 6.375 kB / 444.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003297/0.3223, allocations: 202.9 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3223, allocations: 6.875 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3223, allocations: 6.625 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3223, allocations: 5.312 kB / 445.1 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3225, allocations: 68.34 kB / 445.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3225, allocations: 6.406 kB / 445.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3226, allocations: 39.92 kB / 445.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3226, allocations: 9.812 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 9.444e-05/0.3227, allocations: 135.4 kB / 445.3 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.3228, allocations: 19.92 kB / 445.4 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.3233, allocations: 0.705 MB / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.3233, allocations: 16.33 kB / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3233, allocations: 0 / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3233, allocations: 3.906 kB / 446.1 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.3236, allocations: 380.3 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3236, allocations: 0 / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.879e-05/0.3236, allocations: 37.16 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3237, allocations: 3.562 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3237, allocations: 9.141 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3237, allocations: 2.062 kB / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3237, allocations: 0 / 446.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3239, allocations: 429.4 kB / 446.9 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.3239, allocations: 51.12 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.324, allocations: 22.53 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.324, allocations: 13.03 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3241, allocations: 24.62 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.3241, allocations: 8.109 kB / 447 MB, free: 102.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3242, allocations: 163.9 kB / 447.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3242, allocations: 1.156 kB / 447.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001554/0.3258, allocations: 0.8655 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.002065/0.3278, allocations: 1.162 MB / 449.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.328, allocations: 167.6 kB / 449.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.328, allocations: 6.406 kB / 449.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.3281, allocations: 98.55 kB / 449.5 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.3285, allocations: 173.2 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.0009164/0.3294, allocations: 0.9373 MB / 450.6 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/0.3294, allocations: 144.4 kB / 450.7 MB, free: 102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.3296, allocations: 162.2 kB / 450.9 MB, free: 102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.3298, allocations: 166.3 kB / 451.1 MB, free: 102 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3298, allocations: 0 / 451.1 MB, free: 102 MB / 410.7 MB Notification: Performance of Templates: time 0.02725/0.3571, allocations: 38.41 MB / 489.5 MB, free: 71.16 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 -s gbode -gbm=radauIIA3 -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.506610451731831]