Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001479/0.001479, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001887/0.001887, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.079/1.079, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2493/0.2493, allocations: 34.26 MB / 295.7 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.695e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01275/0.01277, allocations: 14.55 MB / 392.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.02706, allocations: 12.75 MB / 405.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.0274, allocations: 15.81 kB / 405.4 MB, free: 7.223 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.02798, allocations: 123.1 kB / 405.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008373/0.02881, allocations: 294.1 kB / 405.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01342/0.04223, allocations: 5.565 MB / 411.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009209/0.04315, allocations: 0.8731 MB / 412.2 MB, free: 360 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003009/0.04345, allocations: 213.3 kB / 412.4 MB, free: 144 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.04657, allocations: 2.212 MB / 414.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.04683, allocations: 223.3 kB / 414.8 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.04688, allocations: 32 kB / 414.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008274/0.05515, allocations: 5.923 MB / 420.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.0553, allocations: 95.66 kB / 420.9 MB, free: 7.629 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.05555, allocations: 135.7 kB / 421 MB, free: 7.496 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008755/0.06431, allocations: 4.556 MB / 425.6 MB, free: 2.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.06432, allocations: 0 / 425.6 MB, free: 2.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.06432, allocations: 4 kB / 425.6 MB, free: 2.926 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.06432, allocations: 0 / 425.6 MB, free: 2.926 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.002164/0.06649, allocations: 1.054 MB / 426.6 MB, free: 1.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.06653, allocations: 12.03 kB / 426.6 MB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009688/0.0675, allocations: 259.9 kB / 426.9 MB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.06793, allocations: 311.3 kB / 427.2 MB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.06797, allocations: 25.03 kB / 427.2 MB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.06802, allocations: 24.38 kB / 427.3 MB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000895/0.06892, allocations: 0.6238 MB / 427.9 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.06893, allocations: 8.125 kB / 427.9 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.06896, allocations: 15.94 kB / 427.9 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.06897, allocations: 4 kB / 427.9 MB, free: 456 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.06945, allocations: 286.6 kB / 428.2 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.07143, allocations: 2.226 MB / 430.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.07206, allocations: 274.7 kB / 430.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.1e-05/0.07214, allocations: 55.64 kB / 430.7 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/0.08827, allocations: 8.855 MB / 439.6 MB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.08833, allocations: 41.33 kB / 439.6 MB, free: 4.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.035e-06/0.08833, allocations: 0 / 439.6 MB, free: 4.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001102/0.08943, allocations: 411.9 kB / 440 MB, free: 4.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.08949, allocations: 110.8 kB / 440.1 MB, free: 4.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.08972, allocations: 318.2 kB / 440.5 MB, free: 3.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.08974, allocations: 29.7 kB / 440.5 MB, free: 3.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.08985, allocations: 266.6 kB / 440.7 MB, free: 3.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.08989, allocations: 55.52 kB / 440.8 MB, free: 3.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.08996, allocations: 71.34 kB / 440.9 MB, free: 3.297 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.09008, allocations: 0.5039 MB / 441.4 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.09017, allocations: 51.89 kB / 441.4 MB, free: 2.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.09034, allocations: 278.2 kB / 441.7 MB, free: 2.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.09054, allocations: 261.7 kB / 441.9 MB, free: 2.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.09055, allocations: 0 / 441.9 MB, free: 2.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003049/0.09085, allocations: 269.4 kB / 442.2 MB, free: 1.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.09087, allocations: 8 kB / 442.2 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.09088, allocations: 4 kB / 442.2 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.0909, allocations: 4 kB / 442.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.09104, allocations: 67.89 kB / 442.3 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.09105, allocations: 4 kB / 442.3 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.09117, allocations: 35.77 kB / 442.3 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.09119, allocations: 16 kB / 442.3 MB, free: 1.645 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.0001103/0.0913, allocations: 184.5 kB / 442.5 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.09134, allocations: 27.86 kB / 442.6 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.09197, allocations: 0.7579 MB / 443.3 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.09198, allocations: 11.98 kB / 443.3 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.09199, allocations: 0 / 443.3 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.09199, allocations: 3.984 kB / 443.3 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.09237, allocations: 475.6 kB / 443.8 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.09237, allocations: 4 kB / 443.8 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.09246, allocations: 39.91 kB / 443.8 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.09246, allocations: 7.938 kB / 443.8 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.09247, allocations: 4 kB / 443.8 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.09248, allocations: 4 kB / 443.8 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.09248, allocations: 0 / 443.8 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1394/0.2319, allocations: 0.5132 MB / 444.4 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.2319, allocations: 47.05 kB / 444.4 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.232, allocations: 32.09 kB / 444.4 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2321, allocations: 12.42 kB / 444.5 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.2322, allocations: 22.16 kB / 444.5 MB, free: 75.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.2322, allocations: 9.188 kB / 444.5 MB, free: 75.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.2324, allocations: 309.1 kB / 444.8 MB, free: 75.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2324, allocations: 0.7188 kB / 444.8 MB, free: 75.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001918/0.2343, allocations: 0.8597 MB / 445.6 MB, free: 75.47 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.002299/0.2366, allocations: 1.098 MB / 446.7 MB, free: 75.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.2369, allocations: 202.8 kB / 446.9 MB, free: 75.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2369, allocations: 0.875 kB / 446.9 MB, free: 75.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.237, allocations: 128.5 kB / 447.1 MB, free: 75.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.2375, allocations: 167.6 kB / 447.2 MB, free: 75.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2387, allocations: 0.9297 MB / 448.2 MB, free: 74.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.2387, allocations: 136.3 kB / 448.3 MB, free: 74.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.2389, allocations: 185.8 kB / 448.5 MB, free: 74.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.239, allocations: 31.28 kB / 448.5 MB, free: 74.84 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.239, allocations: 0 / 448.5 MB, free: 74.84 MB / 410.7 MB Notification: Performance of Templates: time 0.03135/0.2703, allocations: 34.57 MB / 483.1 MB, free: 69.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.916227860376239]