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.0009106/0.0009106, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002197, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007189/0.0007189, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009627/0.001682, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9578/0.9578, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1086/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2656/0.2656, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02713/0.2927, allocations: 13.11 MB / 291.5 MB, free: 7.328 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.623e-06/1.623e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.278e-05, allocations: 8.406 kB / 292.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01285/0.01287, allocations: 14.61 MB / 307.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.0243, allocations: 12.82 MB / 320.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.02452, allocations: 11.88 kB / 320.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.02488, allocations: 131.1 kB / 320.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.02534, allocations: 286.1 kB / 320.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.03688, allocations: 5.068 MB / 325.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008748/0.03776, allocations: 0.8654 MB / 326.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.03802, allocations: 214.2 kB / 326.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.04105, allocations: 1.887 MB / 328.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.04129, allocations: 207.4 kB / 328.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.04133, allocations: 31.94 kB / 328.9 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009217/0.05055, allocations: 6.353 MB / 335.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.05067, allocations: 75.73 kB / 335.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.05079, allocations: 115.8 kB / 335.5 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.05546, allocations: 3.439 MB / 338.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.05547, allocations: 0 / 338.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.05547, allocations: 0 / 338.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.05548, allocations: 4 kB / 338.9 MB, free: 7.949 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.001475/0.05696, allocations: 1.191 MB / 340.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.05699, allocations: 12.62 kB / 340.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00095/0.05794, allocations: 385 kB / 340.5 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.05824, allocations: 260.6 kB / 340.8 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.05827, allocations: 32.97 kB / 340.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.0583, allocations: 28.38 kB / 340.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.05893, allocations: 0.5866 MB / 341.4 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.05894, allocations: 192 / 341.4 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.05897, allocations: 15.94 kB / 341.4 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.05897, allocations: 8 kB / 341.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.05936, allocations: 260.7 kB / 341.7 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.0607, allocations: 1.538 MB / 343.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.06121, allocations: 254.3 kB / 343.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.06126, allocations: 32.84 kB / 343.5 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1132/0.1744, allocations: 68.06 MB / 411.6 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1745, allocations: 38.55 kB / 411.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.375e-06/0.1745, allocations: 0 / 411.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008826/0.1753, allocations: 371.6 kB / 412 MB, free: 14.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1754, allocations: 55.41 kB / 412 MB, free: 14.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1755, allocations: 258.9 kB / 412.3 MB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1756, allocations: 33.7 kB / 412.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.1757, allocations: 192.4 kB / 412.5 MB, free: 14.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.1757, allocations: 47.58 kB / 412.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.1757, allocations: 61.66 kB / 412.6 MB, free: 13.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/0.1758, allocations: 338.8 kB / 412.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.1759, allocations: 39.95 kB / 413 MB, free: 13.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.176, allocations: 220.1 kB / 413.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1762, allocations: 220.9 kB / 413.4 MB, free: 12.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.1762, allocations: 7.938 kB / 413.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002108/0.1764, allocations: 204 kB / 413.6 MB, free: 12.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1764, allocations: 4 kB / 413.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1764, allocations: 4.469 kB / 413.6 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1764, allocations: 12 kB / 413.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1766, allocations: 75.83 kB / 413.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1766, allocations: 4 kB / 413.7 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1767, allocations: 39.7 kB / 413.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1767, allocations: 12 kB / 413.8 MB, free: 12.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.711e-05/0.1768, allocations: 132.5 kB / 413.9 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1768, allocations: 19.97 kB / 413.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.1773, allocations: 0.716 MB / 414.6 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.1774, allocations: 15.97 kB / 414.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1774, allocations: 0 / 414.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1774, allocations: 0 / 414.6 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.1776, allocations: 373.9 kB / 415 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1777, allocations: 0 / 415 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.1777, allocations: 35.97 kB / 415 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.1778, allocations: 63.42 kB / 415.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1778, allocations: 3.984 kB / 415.1 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.1778, allocations: 8 kB / 415.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1778, allocations: 0 / 415.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1778, allocations: 0 / 415.1 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1781, allocations: 440.5 kB / 415.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1781, allocations: 15.84 kB / 415.6 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1782, allocations: 15.98 kB / 415.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.1782, allocations: 19.97 kB / 415.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1782, allocations: 4 kB / 415.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1783, allocations: 168.7 kB / 415.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1783, allocations: 0 / 415.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001524/0.1799, allocations: 0.8577 MB / 416.6 MB, free: 9.703 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.002123/0.182, allocations: 1.168 MB / 417.8 MB, free: 8.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1822, allocations: 174.5 kB / 418 MB, free: 8.352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.1822, allocations: 12 kB / 418 MB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/0.1823, allocations: 113.8 kB / 418.1 MB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.183, allocations: 0.9504 MB / 419 MB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.1868, allocations: 0.9431 MB / 420 MB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.1869, allocations: 142.6 kB / 420.1 MB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.1871, allocations: 169.8 kB / 420.3 MB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.1873, allocations: 165.2 kB / 420.4 MB, free: 5.664 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.1873, allocations: 0 / 420.4 MB, free: 5.664 MB / 410.7 MB Notification: Performance of Templates: time 0.1497/0.337, allocations: 33.24 MB / 453.7 MB, free: 112 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8819795632734895]