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.001483/0.001483, allocations: 85.91 kB / 22.22 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.001288/0.001288, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.997/0.997, allocations: 177 MB / 205.9 MB, free: 4.457 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.1683/0.1683, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 179] 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.974e-06/1.974e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.211e-05, allocations: 4.578 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01251/0.01253, allocations: 14.35 MB / 394.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02273, allocations: 11.5 MB / 405.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.02303, allocations: 15.88 kB / 405.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.02345, allocations: 127 kB / 406 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.02396, allocations: 290.1 kB / 406.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01303/0.03699, allocations: 5.373 MB / 411.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.03802, allocations: 0.8575 MB / 412.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.03837, allocations: 197.3 kB / 412.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.04171, allocations: 2.205 MB / 414.9 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.04197, allocations: 211.3 kB / 415.1 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.04201, allocations: 32 kB / 415.1 MB, free: 3.457 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009121/0.05113, allocations: 5.818 MB / 421 MB, free: 13.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.05126, allocations: 95.59 kB / 421.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.05143, allocations: 131.8 kB / 421.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008564/0.05999, allocations: 4.455 MB / 425.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.06, allocations: 0 / 425.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.06, allocations: 0 / 425.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.06001, allocations: 0 / 425.6 MB, free: 8.945 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.001952/0.06196, allocations: 1.027 MB / 426.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.06201, allocations: 8.031 kB / 426.7 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.06257, allocations: 168.1 kB / 426.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.06291, allocations: 303.3 kB / 427.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.06294, allocations: 24.86 kB / 427.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.06297, allocations: 24.38 kB / 427.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.06371, allocations: 0.571 MB / 427.7 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.06373, allocations: 192 / 427.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.06377, allocations: 15.94 kB / 427.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.06378, allocations: 8 kB / 427.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.06418, allocations: 235.1 kB / 428 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.0658, allocations: 2.135 MB / 430.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.06627, allocations: 238.8 kB / 430.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.06632, allocations: 35.83 kB / 430.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.06647, allocations: 99.91 kB / 430.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.0665, allocations: 37.39 kB / 430.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.0665, allocations: 0 / 430.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006564/0.06716, allocations: 314.1 kB / 430.8 MB, free: 3.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.06723, allocations: 110.8 kB / 431 MB, free: 3.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.06745, allocations: 318.1 kB / 431.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.06747, allocations: 29.7 kB / 431.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.06762, allocations: 278.5 kB / 431.6 MB, free: 2.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.06765, allocations: 35.69 kB / 431.6 MB, free: 2.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.06772, allocations: 63.28 kB / 431.7 MB, free: 2.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.06792, allocations: 0.5156 MB / 432.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.06797, allocations: 42.67 kB / 432.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.06815, allocations: 259 kB / 432.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.06837, allocations: 242.7 kB / 432.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.06837, allocations: 4 kB / 432.7 MB, free: 1.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002649/0.06864, allocations: 233.4 kB / 432.9 MB, free: 1.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.06866, allocations: 12.09 kB / 433 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.06867, allocations: 4 kB / 433 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.06868, allocations: 4 kB / 433 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.0688, allocations: 59.91 kB / 433 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.06881, allocations: 4 kB / 433 MB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.383e-05/0.0689, allocations: 31.83 kB / 433.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.06892, allocations: 12 kB / 433.1 MB, free: 1.004 MB / 346.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 0.0001141/0.06903, allocations: 180.3 kB / 433.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.06907, allocations: 39.8 kB / 433.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.06953, allocations: 494.3 kB / 433.8 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.06954, allocations: 11.98 kB / 433.8 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.06954, allocations: 0 / 433.8 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.06955, allocations: 3.984 kB / 433.8 MB, free: 276 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.06983, allocations: 330.6 kB / 434.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.06984, allocations: 0 / 434.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.06991, allocations: 35.97 kB / 434.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.06992, allocations: 0 / 434.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.06993, allocations: 4 kB / 434.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.06993, allocations: 4 kB / 434.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.06993, allocations: 0 / 434.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.07024, allocations: 388.4 kB / 434.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.07028, allocations: 39.67 kB / 434.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.07031, allocations: 27.73 kB / 434.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.07039, allocations: 16 kB / 434.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.07044, allocations: 19.91 kB / 434.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.07045, allocations: 7.984 kB / 434.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.07062, allocations: 295 kB / 434.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07062, allocations: 0 / 434.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001782/0.07241, allocations: 0.8499 MB / 435.8 MB, free: 14.23 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: 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.002454/0.07486, allocations: 1.112 MB / 436.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.07515, allocations: 140 kB / 437 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.07515, allocations: 256 / 437 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.07527, allocations: 79.58 kB / 437.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.07597, allocations: 159.8 kB / 437.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.07733, allocations: 0.7727 MB / 438 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.707e-05/0.07741, allocations: 121.1 kB / 438.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.0776, allocations: 130.8 kB / 438.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.07792, allocations: 198.1 kB / 438.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.07792, allocations: 0 / 438.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Templates: time 0.04017/0.1181, allocations: 38.36 MB / 476.8 MB, free: 5.238 MB / 394.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 -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: 6.065016278997064]