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.001409/0.001409, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001535/0.001535, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.545/1.545, allocations: 230.5 MB / 257.4 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2567/0.2567, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 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 0.002648/0.002648, allocations: 87.86 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.488, allocations: 66.09 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03891/0.5269, allocations: 27.67 MB / 0.5882 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02086/0.5478, allocations: 13.84 MB / 0.6017 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/0.5483, allocations: 15.88 kB / 0.6017 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.5492, allocations: 206.7 kB / 0.6019 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.55, allocations: 274.4 kB / 0.6022 GB, free: 9.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01873/0.5687, allocations: 5.6 MB / 0.6077 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.5702, allocations: 0.8304 MB / 0.6085 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.5706, allocations: 193 kB / 0.6086 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.5826, allocations: 5.498 MB / 0.614 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.5832, allocations: 239 kB / 0.6142 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.5833, allocations: 28 kB / 0.6143 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.5977, allocations: 5.838 MB / 0.62 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002935/0.598, allocations: 91.61 kB / 0.6201 GB, free: 7.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.5984, allocations: 163.4 kB / 0.6202 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.6091, allocations: 3.671 MB / 0.6238 GB, free: 3.621 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.6091, allocations: 0 / 0.6238 GB, free: 3.621 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6091, allocations: 4 kB / 0.6238 GB, free: 3.617 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.6092, allocations: 0 / 0.6238 GB, free: 3.617 MB / 462.1 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.003059/0.6122, allocations: 0.9508 MB / 0.6247 GB, free: 2.633 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6123, allocations: 12.03 kB / 0.6247 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.6133, allocations: 116.6 kB / 0.6249 GB, free: 2.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.6139, allocations: 284.8 kB / 0.6251 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.614, allocations: 20.88 kB / 0.6251 GB, free: 2.188 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.614, allocations: 24.38 kB / 0.6252 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6156, allocations: 0.5979 MB / 0.6258 GB, free: 1.488 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6156, allocations: 7.938 kB / 0.6258 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.6157, allocations: 12 kB / 0.6258 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.6157, allocations: 7.984 kB / 0.6258 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6168, allocations: 369.3 kB / 0.6261 GB, free: 1.102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.6197, allocations: 1.731 MB / 0.6278 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6207, allocations: 258.3 kB / 0.6281 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.621, allocations: 92.78 kB / 0.6282 GB, free: 14.94 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.6213, allocations: 108.1 kB / 0.6283 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.6213, allocations: 38.5 kB / 0.6283 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.6213, allocations: 0 / 0.6283 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001661/0.623, allocations: 445.1 kB / 0.6287 GB, free: 14.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.623, allocations: 102.8 kB / 0.6288 GB, free: 14.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.6234, allocations: 284 kB / 0.6291 GB, free: 13.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.6234, allocations: 29.7 kB / 0.6291 GB, free: 13.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.6236, allocations: 223.9 kB / 0.6293 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.6236, allocations: 43.62 kB / 0.6294 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.6237, allocations: 57.66 kB / 0.6294 GB, free: 13.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6238, allocations: 334.8 kB / 0.6298 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.6241, allocations: 83.92 kB / 0.6298 GB, free: 13.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.6245, allocations: 258.7 kB / 0.6301 GB, free: 12.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.6251, allocations: 277.9 kB / 0.6303 GB, free: 12.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6251, allocations: 0 / 0.6303 GB, free: 12.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007279/0.6258, allocations: 313 kB / 0.6306 GB, free: 12.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6258, allocations: 8.469 kB / 0.6306 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6258, allocations: 8 kB / 0.6307 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.6259, allocations: 4 kB / 0.6307 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.6261, allocations: 67.83 kB / 0.6307 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6261, allocations: 8 kB / 0.6307 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.6264, allocations: 51.62 kB / 0.6308 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.6264, allocations: 12 kB / 0.6308 GB, free: 12.05 MB / 478.1 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.0001893/0.6266, allocations: 149.8 kB / 0.6309 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.6267, allocations: 31.86 kB / 0.631 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.6279, allocations: 0.7789 MB / 0.6317 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6279, allocations: 7.984 kB / 0.6317 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6279, allocations: 4 kB / 0.6317 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6279, allocations: 3.938 kB / 0.6317 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.6285, allocations: 434.5 kB / 0.6322 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6285, allocations: 0 / 0.6322 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.6287, allocations: 43.95 kB / 0.6322 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6287, allocations: 0 / 0.6322 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.6287, allocations: 11.98 kB / 0.6322 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6287, allocations: 0 / 0.6322 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.6287, allocations: 4 kB / 0.6322 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.6295, allocations: 474.9 kB / 0.6327 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.6296, allocations: 39.64 kB / 0.6327 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.6296, allocations: 23.78 kB / 0.6327 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.6298, allocations: 11.98 kB / 0.6327 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.6299, allocations: 27.95 kB / 0.6328 GB, free: 9.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.6299, allocations: 4 kB / 0.6328 GB, free: 9.957 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003705/0.6303, allocations: 311.1 kB / 0.6331 GB, free: 9.652 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6303, allocations: 3.938 kB / 0.6331 GB, free: 9.648 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003381/0.6337, allocations: 0.8538 MB / 0.6339 GB, free: 8.793 MB / 478.1 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.004887/0.6386, allocations: 0.9815 MB / 0.6349 GB, free: 7.797 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007918/0.6393, allocations: 267.7 kB / 0.6351 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6394, allocations: 0 / 0.6351 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.6396, allocations: 136.7 kB / 0.6352 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.6405, allocations: 144.1 kB / 0.6354 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.642, allocations: 0.8509 MB / 0.6362 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.6423, allocations: 239.7 kB / 0.6364 GB, free: 6.133 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003088/0.6426, allocations: 142.8 kB / 0.6366 GB, free: 5.996 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.6427, allocations: 31.44 kB / 0.6366 GB, free: 5.965 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6427, allocations: 0 / 0.6366 GB, free: 5.965 MB / 478.1 MB Notification: Performance of Templates: time 0.08927/0.732, allocations: 33.68 MB / 0.6695 GB, free: 4.363 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.874443409964442]