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.0011/0.0011, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.0026, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001058/0.001058, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002426, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9697/0.9697, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1182/1.088, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.278/0.278, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02831/0.3063, allocations: 13.23 MB / 292.6 MB, free: 6.465 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 1.964e-06/1.964e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.469e-05, allocations: 4.562 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01301/0.01303, allocations: 14.6 MB / 308.5 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.02558, allocations: 12.82 MB / 321.3 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.02581, allocations: 11.88 kB / 321.3 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.0262, allocations: 131 kB / 321.4 MB, free: 9.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.02668, allocations: 298.1 kB / 321.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01251/0.03919, allocations: 5.055 MB / 326.8 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.04031, allocations: 0.8693 MB / 327.6 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.04068, allocations: 217.2 kB / 327.9 MB, free: 3.066 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.04384, allocations: 1.878 MB / 329.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.04407, allocations: 207.3 kB / 329.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.04412, allocations: 28 kB / 330 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009842/0.05396, allocations: 6.357 MB / 336.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.05407, allocations: 71.73 kB / 336.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.05419, allocations: 115.8 kB / 336.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.05851, allocations: 3.458 MB / 340 MB, free: 6.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.799e-05/0.05853, allocations: 0 / 340 MB, free: 6.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.05853, allocations: 0 / 340 MB, free: 6.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.05855, allocations: 0 / 340 MB, free: 6.934 MB / 330.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.00162/0.06017, allocations: 1.191 MB / 341.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.06021, allocations: 14.55 kB / 341.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.06162, allocations: 384.9 kB / 341.5 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.06202, allocations: 256.7 kB / 341.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.06205, allocations: 32.97 kB / 341.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.06208, allocations: 28.38 kB / 341.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.06275, allocations: 0.5927 MB / 342.4 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.06276, allocations: 192 / 342.4 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.06279, allocations: 19.94 kB / 342.5 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.0628, allocations: 8 kB / 342.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.06319, allocations: 258.5 kB / 342.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.06453, allocations: 1.538 MB / 344.3 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.06503, allocations: 262.8 kB / 344.5 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.06508, allocations: 35.23 kB / 344.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1081/0.1732, allocations: 68.06 MB / 412.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1732, allocations: 30.56 kB / 412.6 MB, free: 13.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.1732, allocations: 0 / 412.6 MB, free: 13.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008049/0.1741, allocations: 375.8 kB / 413 MB, free: 13.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1741, allocations: 51.41 kB / 413.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1743, allocations: 262.9 kB / 413.3 MB, free: 13.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1743, allocations: 25.7 kB / 413.3 MB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.1744, allocations: 196.4 kB / 413.5 MB, free: 13.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1744, allocations: 55.58 kB / 413.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.1744, allocations: 57.66 kB / 413.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.1745, allocations: 334.8 kB / 414 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.1746, allocations: 39.95 kB / 414 MB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1747, allocations: 218 kB / 414.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1749, allocations: 215.3 kB / 414.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1749, allocations: 3.938 kB / 414.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001989/0.1751, allocations: 201.2 kB / 414.6 MB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1751, allocations: 4.469 kB / 414.6 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1751, allocations: 8 kB / 414.6 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1751, allocations: 8 kB / 414.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1753, allocations: 79.83 kB / 414.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1753, allocations: 4 kB / 414.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1754, allocations: 35.77 kB / 414.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1754, allocations: 8 kB / 414.8 MB, free: 11.63 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.505e-05/0.1755, allocations: 132.5 kB / 414.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1755, allocations: 23.97 kB / 414.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/0.1761, allocations: 0.716 MB / 415.7 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.1761, allocations: 11.98 kB / 415.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1761, allocations: 0 / 415.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1761, allocations: 0 / 415.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.1764, allocations: 377.9 kB / 416 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1764, allocations: 0 / 416 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.1765, allocations: 39.97 kB / 416.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.1765, allocations: 59.42 kB / 416.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1765, allocations: 0 / 416.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.1765, allocations: 7.984 kB / 416.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1765, allocations: 0 / 416.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1765, allocations: 0 / 416.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1768, allocations: 436.5 kB / 416.6 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1769, allocations: 15.84 kB / 416.6 MB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1769, allocations: 15.98 kB / 416.6 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.177, allocations: 27.95 kB / 416.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.177, allocations: 0 / 416.6 MB, free: 9.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1771, allocations: 172.6 kB / 416.8 MB, free: 9.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1771, allocations: 0 / 416.8 MB, free: 9.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001769/0.1789, allocations: 0.8577 MB / 417.6 MB, free: 8.699 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.002128/0.181, allocations: 1.168 MB / 418.8 MB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1812, allocations: 175.6 kB / 419 MB, free: 7.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.1812, allocations: 8 kB / 419 MB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.998e-05/0.1813, allocations: 102.7 kB / 419.1 MB, free: 7.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.1818, allocations: 214.2 kB / 419.3 MB, free: 7.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.1858, allocations: 0.943 MB / 420.2 MB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.1859, allocations: 138.6 kB / 420.4 MB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.1861, allocations: 173.7 kB / 420.6 MB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.1863, allocations: 169.2 kB / 420.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1863, allocations: 0 / 420.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of Templates: time 0.1657/0.3521, allocations: 38.61 MB / 459.3 MB, free: 108.4 MB / 426.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 -ignoreHideResult -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: 4.2801501750946045]