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.001357/0.001357, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.00143/0.00143, allocations: 168.4 kB / 25.62 MB, free: 8.914 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.8883/0.8883, allocations: 177.1 MB / 206.1 MB, free: 4.52 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.1332/0.1332, allocations: 34.25 MB / 296.8 MB, free: 13.95 MB / 282.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 1.322e-06/1.322e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.739e-06/1.106e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.009436/0.009447, allocations: 14.38 MB / 393.7 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008541/0.01799, allocations: 12.54 MB / 406.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.01817, allocations: 11.88 kB / 406.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.01855, allocations: 135 kB / 406.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.01898, allocations: 290.1 kB / 406.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00893/0.02791, allocations: 5.565 MB / 412.2 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006532/0.02856, allocations: 0.8653 MB / 413.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.02881, allocations: 209.3 kB / 413.3 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.03166, allocations: 2.228 MB / 415.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.03188, allocations: 215.4 kB / 415.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.03192, allocations: 32 kB / 415.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006618/0.03854, allocations: 5.919 MB / 421.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.03863, allocations: 99.66 kB / 421.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.03874, allocations: 143.7 kB / 421.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004453/0.04319, allocations: 4.556 MB / 426.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.04319, allocations: 0 / 426.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.04319, allocations: 0 / 426.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.0432, allocations: 0 / 426.5 MB, free: 8.086 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.001307/0.04451, allocations: 1.051 MB / 427.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.04454, allocations: 8.031 kB / 427.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.04544, allocations: 283.7 kB / 427.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.04575, allocations: 291.5 kB / 428.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.04577, allocations: 25.03 kB / 428.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.0458, allocations: 28.38 kB / 428.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.04644, allocations: 0.6154 MB / 428.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.04645, allocations: 192 / 428.7 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.04648, allocations: 23.91 kB / 428.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.04648, allocations: 4 kB / 428.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.04691, allocations: 267 kB / 429 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.04841, allocations: 2.163 MB / 431.2 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.0489, allocations: 270.6 kB / 431.5 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.04895, allocations: 46.42 kB / 431.5 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.06213, allocations: 7.752 MB / 439.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.06216, allocations: 37.39 kB / 439.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.06216, allocations: 0 / 439.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007567/0.06292, allocations: 400.8 kB / 439.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.06296, allocations: 106.8 kB / 439.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.06314, allocations: 314.1 kB / 440.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.06316, allocations: 29.7 kB / 440.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.06328, allocations: 270.6 kB / 440.4 MB, free: 9.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.06331, allocations: 51.53 kB / 440.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.06338, allocations: 67.33 kB / 440.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.0635, allocations: 0.5078 MB / 441 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.06356, allocations: 43.94 kB / 441.1 MB, free: 9.133 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.0637, allocations: 274.6 kB / 441.3 MB, free: 8.777 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.06388, allocations: 246.8 kB / 441.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.06388, allocations: 0 / 441.6 MB, free: 8.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002561/0.06414, allocations: 259 kB / 441.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.06415, allocations: 8 kB / 441.8 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.06416, allocations: 8 kB / 441.8 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.06417, allocations: 4 kB / 441.8 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.0643, allocations: 67.89 kB / 441.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.06431, allocations: 7.938 kB / 441.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.06441, allocations: 39.7 kB / 441.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.06442, allocations: 12.22 kB / 442 MB, free: 8.066 MB / 362.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.833e-05/0.06452, allocations: 176.5 kB / 442.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.06456, allocations: 31.86 kB / 442.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.06509, allocations: 0.6992 MB / 442.9 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.0651, allocations: 11.98 kB / 442.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.0651, allocations: 0 / 442.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0651, allocations: 3.938 kB / 442.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.0654, allocations: 420.1 kB / 443.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.0654, allocations: 0 / 443.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.06548, allocations: 39.97 kB / 443.3 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.06548, allocations: 0 / 443.3 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.06549, allocations: 3.984 kB / 443.3 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0655, allocations: 4 kB / 443.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0655, allocations: 0 / 443.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.06583, allocations: 0.4887 MB / 443.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.06587, allocations: 55.56 kB / 443.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.0659, allocations: 27.73 kB / 443.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.343e-05/0.06598, allocations: 12 kB / 443.9 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.06603, allocations: 19.95 kB / 443.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.06604, allocations: 4 kB / 443.9 MB, free: 6.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.06619, allocations: 295 kB / 444.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06619, allocations: 0 / 444.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001287/0.06748, allocations: 0.8616 MB / 445.1 MB, free: 4.859 MB / 362.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.002134/0.06961, allocations: 1.129 MB / 446.2 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.06982, allocations: 178 kB / 446.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.06983, allocations: 0 / 446.4 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.06993, allocations: 113.5 kB / 446.5 MB, free: 3.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.0704, allocations: 177.5 kB / 446.7 MB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.07143, allocations: 0.9158 MB / 447.6 MB, free: 2.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.07151, allocations: 142.7 kB / 447.7 MB, free: 2.152 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.07174, allocations: 170.7 kB / 447.9 MB, free: 1.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.07197, allocations: 202.1 kB / 448.1 MB, free: 1.789 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.07197, allocations: 3.938 kB / 448.1 MB, free: 1.785 MB / 362.7 MB Notification: Performance of Templates: time 0.03543/0.1074, allocations: 39.31 MB / 487.4 MB, free: 10.59 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.922875517047942]