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.00154/0.00154, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001649/0.001649, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9898/0.9898, allocations: 177 MB / 204.8 MB, free: 5.598 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.294/0.294, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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 2.064e-06/2.064e-06, allocations: 0 / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.247e-05, allocations: 3.297 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01475/0.01478, allocations: 14.52 MB / 393.3 MB, free: 3.527 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.02579, allocations: 11.7 MB / 405 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/0.02611, allocations: 11.88 kB / 405 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.02661, allocations: 131 kB / 405.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.02722, allocations: 290.2 kB / 405.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01294/0.04016, allocations: 5.367 MB / 410.8 MB, free: 1.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.04118, allocations: 0.8497 MB / 411.6 MB, free: 1.121 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.04156, allocations: 201.3 kB / 411.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.04504, allocations: 2.212 MB / 414 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.04532, allocations: 207.3 kB / 414.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.04536, allocations: 28 kB / 414.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008565/0.05393, allocations: 5.814 MB / 420.1 MB, free: 8.633 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.05408, allocations: 99.66 kB / 420.2 MB, free: 8.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.05429, allocations: 131.7 kB / 420.3 MB, free: 8.406 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008104/0.06239, allocations: 4.455 MB / 424.7 MB, free: 3.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.0624, allocations: 0 / 424.7 MB, free: 3.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.0624, allocations: 3.984 kB / 424.7 MB, free: 3.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.06241, allocations: 0 / 424.7 MB, free: 3.938 MB / 394.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.001947/0.06435, allocations: 1.027 MB / 425.8 MB, free: 2.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.0644, allocations: 8.031 kB / 425.8 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.06507, allocations: 172.1 kB / 426 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.06553, allocations: 291.4 kB / 426.2 MB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.06557, allocations: 24.88 kB / 426.3 MB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.06561, allocations: 24.38 kB / 426.3 MB, free: 2.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/0.06646, allocations: 0.5905 MB / 426.9 MB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.06648, allocations: 4.188 kB / 426.9 MB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.06651, allocations: 19.92 kB / 426.9 MB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.06653, allocations: 8 kB / 426.9 MB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005111/0.06704, allocations: 262.5 kB / 427.2 MB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.06984, allocations: 2.19 MB / 429.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.07044, allocations: 242.7 kB / 429.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.07051, allocations: 35.67 kB / 429.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.07072, allocations: 99.91 kB / 429.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.07076, allocations: 33.39 kB / 429.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/0.07076, allocations: 4 kB / 429.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007385/0.0715, allocations: 333.2 kB / 430.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.07156, allocations: 102.8 kB / 430.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.07183, allocations: 322.2 kB / 430.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.07186, allocations: 33.7 kB / 430.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.07201, allocations: 262.7 kB / 430.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.07204, allocations: 43.62 kB / 430.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.07212, allocations: 63.3 kB / 430.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.07229, allocations: 0.5195 MB / 431.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.07237, allocations: 46.95 kB / 431.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.07256, allocations: 269.5 kB / 431.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.0728, allocations: 254.7 kB / 432 MB, free: 12.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.07281, allocations: 0 / 432 MB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003206/0.07313, allocations: 253.4 kB / 432.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.07315, allocations: 8 kB / 432.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.07316, allocations: 4 kB / 432.2 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.07318, allocations: 7.938 kB / 432.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.07332, allocations: 59.91 kB / 432.3 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.07333, allocations: 4 kB / 432.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.07346, allocations: 32.34 kB / 432.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.07348, allocations: 16 kB / 432.3 MB, free: 11.82 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 (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.0001368/0.07361, allocations: 180.4 kB / 432.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.07366, allocations: 27.81 kB / 432.6 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.07422, allocations: 0.5258 MB / 433.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.07423, allocations: 3.984 kB / 433.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.07424, allocations: 8 kB / 433.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.07425, allocations: 0 / 433.1 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.07464, allocations: 402 kB / 433.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.07464, allocations: 0 / 433.5 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.07473, allocations: 35.97 kB / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.07473, allocations: 0 / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.07474, allocations: 0 / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.07475, allocations: 0 / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.07475, allocations: 4 kB / 433.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.07514, allocations: 416.4 kB / 433.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.07519, allocations: 31.7 kB / 434 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.07524, allocations: 23.78 kB / 434 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.07532, allocations: 11.98 kB / 434 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.0754, allocations: 19.97 kB / 434 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.07541, allocations: 4 kB / 434 MB, free: 10.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.07566, allocations: 307 kB / 434.3 MB, free: 9.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07566, allocations: 0 / 434.3 MB, free: 9.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0028/0.07846, allocations: 0.8538 MB / 435.2 MB, free: 8.93 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: 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.004205/0.08266, allocations: 1.097 MB / 436.3 MB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.08302, allocations: 163.4 kB / 436.4 MB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.08302, allocations: 0 / 436.4 MB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.08312, allocations: 83.59 kB / 436.5 MB, free: 7.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.08366, allocations: 155.5 kB / 436.7 MB, free: 7.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.08509, allocations: 0.7858 MB / 437.4 MB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.324e-05/0.08519, allocations: 117.1 kB / 437.6 MB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.0854, allocations: 138.8 kB / 437.7 MB, free: 6.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.08547, allocations: 32.5 kB / 437.7 MB, free: 6.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/0.08547, allocations: 0 / 437.7 MB, free: 6.301 MB / 410.7 MB Notification: Performance of Templates: time 0.1724/0.2579, allocations: 33.8 MB / 471.5 MB, free: 74.11 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 -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.645826591644436]