Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001277/0.001277, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002094/0.003372, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.00134/0.00134, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001851/0.003191, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.905/0.905, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1649/1.07, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1444/0.1444, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0247/0.1691, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 7.922 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.123e-05, allocations: 6.25 kB / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01445/0.01448, allocations: 14.49 MB / 281.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1634/0.1779, allocations: 12.76 MB / 294.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.1782, allocations: 11.88 kB / 294.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.1787, allocations: 130.7 kB / 294.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.1794, allocations: 296.3 kB / 295.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01475/0.1941, allocations: 5.041 MB / 300.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1955, allocations: 0.8643 MB / 301 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.1959, allocations: 218.6 kB / 301.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.1997, allocations: 1.863 MB / 303.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.2001, allocations: 206 kB / 303.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.843e-05/0.2001, allocations: 29.22 kB / 303.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.2114, allocations: 6.331 MB / 309.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.2116, allocations: 76.16 kB / 309.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.2119, allocations: 113.2 kB / 309.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.2228, allocations: 3.426 MB / 313.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.617e-05/0.2228, allocations: 0 / 313.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2228, allocations: 4 kB / 313.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.2229, allocations: 0 / 313.2 MB, free: 10.02 MB / 298.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.00285/0.2257, allocations: 1.182 MB / 314.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2258, allocations: 11.89 kB / 314.4 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.2269, allocations: 366.4 kB / 314.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.2274, allocations: 271.5 kB / 315.1 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.2274, allocations: 25.03 kB / 315.1 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.2274, allocations: 28.38 kB / 315.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/0.2282, allocations: 0.5813 MB / 315.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2282, allocations: 8.312 kB / 315.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2283, allocations: 19.94 kB / 315.7 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2283, allocations: 8.984 kB / 315.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.2288, allocations: 260.7 kB / 316 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.2303, allocations: 1.535 MB / 317.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.2309, allocations: 260.4 kB / 317.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.231, allocations: 34.06 kB / 317.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.122/0.353, allocations: 67.97 MB / 385.8 MB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3531, allocations: 38.55 kB / 385.8 MB, free: 1.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.206e-06/0.3531, allocations: 4 kB / 385.8 MB, free: 1.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009366/0.354, allocations: 371 kB / 386.2 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.354, allocations: 55.41 kB / 386.2 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3542, allocations: 254.8 kB / 386.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3543, allocations: 25.7 kB / 386.5 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.3544, allocations: 200.4 kB / 386.7 MB, free: 312 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3544, allocations: 51.62 kB / 386.7 MB, free: 260 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.3545, allocations: 61.61 kB / 386.8 MB, free: 192 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3546, allocations: 338.8 kB / 387.1 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.3546, allocations: 39.97 kB / 387.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3548, allocations: 213.6 kB / 387.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.355, allocations: 227.3 kB / 387.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.355, allocations: 4 kB / 387.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002232/0.3552, allocations: 201.1 kB / 387.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3552, allocations: 8 kB / 387.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3552, allocations: 10.58 kB / 387.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3552, allocations: 4 kB / 387.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3554, allocations: 75.89 kB / 387.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3554, allocations: 4.469 kB / 387.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3555, allocations: 35.78 kB / 387.9 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3556, allocations: 11.98 kB / 388 MB, free: 14.91 MB / 378.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.0001133/0.3557, allocations: 128.6 kB / 388.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.3557, allocations: 23.92 kB / 388.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.3563, allocations: 0.7061 MB / 388.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.3563, allocations: 19.97 kB / 388.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3563, allocations: 2.188 kB / 388.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3563, allocations: 0 / 388.8 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.3567, allocations: 381.8 kB / 389.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3567, allocations: 0 / 389.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.3568, allocations: 35.97 kB / 389.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.3568, allocations: 59.47 kB / 389.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3569, allocations: 2.016 kB / 389.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3569, allocations: 4 kB / 389.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3569, allocations: 7.922 kB / 389.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3569, allocations: 4 kB / 389.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.3572, allocations: 428.6 kB / 389.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.3573, allocations: 23.73 kB / 389.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.3574, allocations: 12 kB / 389.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.3574, allocations: 23.95 kB / 389.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.3574, allocations: 0 / 389.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.3576, allocations: 168.7 kB / 390 MB, free: 12.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3576, allocations: 0 / 390 MB, free: 12.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002332/0.3599, allocations: 0.8577 MB / 390.8 MB, free: 12 MB / 378.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.003835/0.3637, allocations: 1.198 MB / 392 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.3641, allocations: 166.2 kB / 392.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.132e-05/0.3641, allocations: 4 kB / 392.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3642, allocations: 123.6 kB / 392.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.3651, allocations: 0.9463 MB / 393.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.3694, allocations: 0.9427 MB / 394.2 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3695, allocations: 142.7 kB / 394.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002931/0.3698, allocations: 173 kB / 394.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.37, allocations: 165.2 kB / 394.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of SimCode: time 2.876e-06/0.37, allocations: 0 / 394.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of Templates: time 0.03931/0.4093, allocations: 33.12 MB / 427.8 MB, free: 6.906 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.14401856996119]