Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001056/0.001056, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001622/0.001622, allocations: 160.8 kB / 24.91 MB, free: 8.766 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 0.9249/0.9249, allocations: 177 MB / 205.2 MB, free: 5.473 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.2642/0.2642, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 326 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.223e-05, allocations: 2.312 kB / 326 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0128/0.01282, allocations: 14.52 MB / 340.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.02323, allocations: 11.67 MB / 352.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.02355, allocations: 15.81 kB / 352.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.02398, allocations: 127.1 kB / 352.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.02449, allocations: 290.2 kB / 352.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01021/0.0347, allocations: 4.883 MB / 357.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009266/0.03563, allocations: 0.8458 MB / 358.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.03598, allocations: 215.6 kB / 358.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.03897, allocations: 2.212 MB / 360.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.03926, allocations: 195.4 kB / 360.9 MB, free: 4.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.03931, allocations: 28 kB / 360.9 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008187/0.0475, allocations: 6.224 MB / 367.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.04764, allocations: 95.66 kB / 367.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.04783, allocations: 139.7 kB / 367.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007143/0.05498, allocations: 4.459 MB / 371.8 MB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.05498, allocations: 0 / 371.8 MB, free: 9.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.05498, allocations: 0 / 371.8 MB, free: 9.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.05499, allocations: 0 / 371.8 MB, free: 9.094 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001794/0.05678, allocations: 0.8946 MB / 372.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.05682, allocations: 8.031 kB / 372.7 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.05745, allocations: 192.2 kB / 372.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.05778, allocations: 252.7 kB / 373.2 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.05781, allocations: 24.88 kB / 373.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.05783, allocations: 28.38 kB / 373.2 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.05849, allocations: 0.5599 MB / 373.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.0585, allocations: 192 / 373.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.05852, allocations: 15.94 kB / 373.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.05853, allocations: 8 kB / 373.8 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.05892, allocations: 232.7 kB / 374 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.06034, allocations: 1.503 MB / 375.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.06084, allocations: 216.4 kB / 375.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.06088, allocations: 28.84 kB / 375.8 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06773/0.1286, allocations: 38.89 MB / 414.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.1287, allocations: 42.55 kB / 414.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.244e-06/0.1287, allocations: 0 / 414.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007648/0.1294, allocations: 295.4 kB / 415 MB, free: 13.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.1295, allocations: 102.8 kB / 415.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1297, allocations: 266.8 kB / 415.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1297, allocations: 29.7 kB / 415.4 MB, free: 13.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1298, allocations: 192.4 kB / 415.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1298, allocations: 55.55 kB / 415.6 MB, free: 12.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.1299, allocations: 57.62 kB / 415.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.1299, allocations: 338.8 kB / 416 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.13, allocations: 27.97 kB / 416.1 MB, free: 12.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1301, allocations: 213.5 kB / 416.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1303, allocations: 194.4 kB / 416.5 MB, free: 12.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1303, allocations: 4 kB / 416.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002091/0.1305, allocations: 198.9 kB / 416.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1305, allocations: 4 kB / 416.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1305, allocations: 4 kB / 416.7 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1305, allocations: 11.92 kB / 416.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1307, allocations: 60.38 kB / 416.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1307, allocations: 11.94 kB / 416.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1308, allocations: 35.81 kB / 416.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1308, allocations: 12 kB / 416.8 MB, free: 11.71 MB / 394.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 (27): * Single equations (assignments): 27 * 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.553e-05/0.1309, allocations: 128.5 kB / 416.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1309, allocations: 19.97 kB / 416.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.1313, allocations: 0.5146 MB / 417.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1314, allocations: 11.92 kB / 417.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1314, allocations: 0 / 417.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1314, allocations: 0 / 417.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.1316, allocations: 290.7 kB / 417.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1316, allocations: 0 / 417.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.1317, allocations: 35.91 kB / 417.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1317, allocations: 0 / 417.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1317, allocations: 4 kB / 417.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1317, allocations: 4 kB / 417.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1317, allocations: 11.98 kB / 417.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.132, allocations: 331.1 kB / 418.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.132, allocations: 35.7 kB / 418.2 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.132, allocations: 19.78 kB / 418.2 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.1321, allocations: 15.98 kB / 418.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.1322, allocations: 23.84 kB / 418.2 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.1322, allocations: 4 kB / 418.2 MB, free: 10.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1323, allocations: 164.7 kB / 418.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1323, allocations: 4 kB / 418.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001967/0.1343, allocations: 0.8616 MB / 419.2 MB, free: 9.188 MB / 394.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002853/0.1372, allocations: 1.137 MB / 420.4 MB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.1374, allocations: 133 kB / 420.5 MB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/0.1375, allocations: 8 kB / 420.5 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.1375, allocations: 66.25 kB / 420.6 MB, free: 7.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.138, allocations: 157.6 kB / 420.7 MB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1392, allocations: 0.7898 MB / 421.5 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.1392, allocations: 124.9 kB / 421.6 MB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.1394, allocations: 126.8 kB / 421.8 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.1397, allocations: 161.2 kB / 421.9 MB, free: 6.445 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.1397, allocations: 0 / 421.9 MB, free: 6.445 MB / 394.7 MB Notification: Performance of Templates: time 0.172/0.3117, allocations: 37.49 MB / 459.4 MB, free: 97.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.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.389609029982239]