Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001881, allocations: 158.9 kB / 25.61 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.053/1.053, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1552/0.1552, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/2e-05, allocations: 4 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01259/0.01261, allocations: 14.39 MB / 394.4 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.02387, allocations: 12.54 MB / 406.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.02417, allocations: 15.88 kB / 406.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.02467, allocations: 131 kB / 407.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000566/0.02524, allocations: 286.2 kB / 407.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01466/0.0399, allocations: 5.567 MB / 412.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.04105, allocations: 0.8692 MB / 413.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.04143, allocations: 209.3 kB / 414 MB, free: 4.625 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003901/0.04533, allocations: 2.224 MB / 416.2 MB, free: 2.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.04563, allocations: 219.3 kB / 416.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.04568, allocations: 28 kB / 416.5 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.05631, allocations: 5.931 MB / 422.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.05645, allocations: 103.7 kB / 422.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.05661, allocations: 139.7 kB / 422.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007334/0.06395, allocations: 4.549 MB / 427.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.06395, allocations: 4 kB / 427.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.06395, allocations: 0 / 427.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.06396, allocations: 0 / 427.2 MB, free: 7.395 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.002157/0.06612, allocations: 1.054 MB / 428.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.06616, allocations: 12.03 kB / 428.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.06708, allocations: 275.7 kB / 428.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.06741, allocations: 287.5 kB / 428.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.06743, allocations: 29.03 kB / 428.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.06747, allocations: 28.31 kB / 428.9 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.06816, allocations: 0.6076 MB / 429.5 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.06817, allocations: 192 / 429.5 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.0682, allocations: 15.94 kB / 429.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.0682, allocations: 8 kB / 429.5 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.06862, allocations: 267 kB / 429.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.07025, allocations: 2.167 MB / 431.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/0.07077, allocations: 266.7 kB / 432.2 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.07082, allocations: 43.66 kB / 432.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.08456, allocations: 7.752 MB / 440 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.08459, allocations: 33.39 kB / 440 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.08459, allocations: 0 / 440 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007968/0.08539, allocations: 402.9 kB / 440.4 MB, free: 9.898 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.08544, allocations: 110.8 kB / 440.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.08564, allocations: 314.1 kB / 440.8 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.08567, allocations: 29.7 kB / 440.8 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.08582, allocations: 266.6 kB / 441.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.08585, allocations: 59.52 kB / 441.2 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.08592, allocations: 63.33 kB / 441.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.08607, allocations: 0.5156 MB / 441.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.08612, allocations: 39.95 kB / 441.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.08628, allocations: 266.6 kB / 442 MB, free: 8.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.08648, allocations: 250.7 kB / 442.3 MB, free: 7.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.08649, allocations: 4 kB / 442.3 MB, free: 7.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002795/0.08677, allocations: 262.5 kB / 442.5 MB, free: 7.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.08679, allocations: 8 kB / 442.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.0868, allocations: 0 / 442.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.08681, allocations: 8 kB / 442.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.08695, allocations: 67.84 kB / 442.6 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.08695, allocations: 4 kB / 442.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.08706, allocations: 36.17 kB / 442.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.08707, allocations: 12 kB / 442.7 MB, free: 7.395 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 0.0001108/0.08718, allocations: 180.4 kB / 442.8 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.08723, allocations: 31.86 kB / 442.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005816/0.08781, allocations: 0.6969 MB / 443.6 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.08782, allocations: 15.97 kB / 443.6 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.08782, allocations: 8 kB / 443.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.08783, allocations: 0 / 443.6 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.08814, allocations: 424 kB / 444 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.08815, allocations: 0 / 444 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.08823, allocations: 35.97 kB / 444 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.08824, allocations: 4 kB / 444.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.08824, allocations: 0 / 444.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.08825, allocations: 0 / 444.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.08825, allocations: 0 / 444.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.08861, allocations: 0.4965 MB / 444.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.08864, allocations: 47.59 kB / 444.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.08868, allocations: 27.73 kB / 444.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.08876, allocations: 11.98 kB / 444.6 MB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.08882, allocations: 19.97 kB / 444.7 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.08883, allocations: 7.984 kB / 444.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.08899, allocations: 287 kB / 444.9 MB, free: 5.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08899, allocations: 0 / 444.9 MB, free: 5.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00207/0.09106, allocations: 0.8577 MB / 445.8 MB, free: 4.191 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.002632/0.09369, allocations: 1.126 MB / 446.9 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.09393, allocations: 175.9 kB / 447.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.09393, allocations: 0 / 447.1 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.09404, allocations: 117.5 kB / 447.2 MB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.09453, allocations: 182.4 kB / 447.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.09573, allocations: 0.9236 MB / 448.3 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.09582, allocations: 138.7 kB / 448.4 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.09602, allocations: 168.1 kB / 448.6 MB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.09627, allocations: 210 kB / 448.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.09627, allocations: 0 / 448.8 MB, free: 1.105 MB / 362.7 MB Notification: Performance of Templates: time 0.0375/0.1338, allocations: 39.31 MB / 488.1 MB, free: 9.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 5.622819338925183]