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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 73.08 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03507/0.1708, allocations: 30.18 MB / 0.4982 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2235/0.3943, allocations: 15.53 MB / 0.5134 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.3947, allocations: 13.7 kB / 0.5134 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.3955, allocations: 216.4 kB / 0.5136 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008024/0.3963, allocations: 268.8 kB / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.4122, allocations: 5.638 MB / 0.5194 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.4135, allocations: 0.8238 MB / 0.5202 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.4139, allocations: 226.1 kB / 0.5204 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.4262, allocations: 5.474 MB / 0.5258 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.4268, allocations: 233.8 kB / 0.526 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.449e-05/0.4269, allocations: 28.88 kB / 0.526 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.4393, allocations: 5.951 MB / 0.5318 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.4395, allocations: 93.27 kB / 0.5319 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.4398, allocations: 186.5 kB / 0.5321 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007133/0.4469, allocations: 3.663 MB / 0.5357 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4469, allocations: 0 / 0.5357 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.447, allocations: 0 / 0.5357 GB, free: 4.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.447, allocations: 1.625 kB / 0.5357 GB, free: 4.738 MB / 382.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.001946/0.4489, allocations: 0.9994 MB / 0.5366 GB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.449, allocations: 10.97 kB / 0.5366 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009879/0.45, allocations: 119.3 kB / 0.5368 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.4503, allocations: 335.1 kB / 0.5371 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.4504, allocations: 24.69 kB / 0.5371 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.4504, allocations: 23.62 kB / 0.5371 GB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.4514, allocations: 457.3 kB / 0.5376 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4514, allocations: 4.984 kB / 0.5376 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.4515, allocations: 16.31 kB / 0.5376 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4515, allocations: 10.41 kB / 0.5376 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.4525, allocations: 367.5 kB / 0.5379 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.4552, allocations: 2.389 MB / 0.5403 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.4561, allocations: 274.2 kB / 0.5405 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.4564, allocations: 96.95 kB / 0.5406 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.4567, allocations: 484 kB / 0.5411 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4567, allocations: 36.25 kB / 0.5411 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.4567, allocations: 0 / 0.5411 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001643/0.4584, allocations: 452.6 kB / 0.5416 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.4584, allocations: 113.3 kB / 0.5417 GB, free: 15.72 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.4588, allocations: 320.3 kB / 0.542 GB, free: 15.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4588, allocations: 31.03 kB / 0.542 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4589, allocations: 210.1 kB / 0.5422 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.459, allocations: 45.33 kB / 0.5422 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.253e-05/0.4591, allocations: 57.19 kB / 0.5423 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4592, allocations: 338.2 kB / 0.5426 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.4595, allocations: 80.19 kB / 0.5427 GB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.4598, allocations: 209.4 kB / 0.5429 GB, free: 14.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005683/0.4604, allocations: 286.7 kB / 0.5432 GB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4604, allocations: 0 / 0.5432 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007102/0.4611, allocations: 312.3 kB / 0.5435 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4612, allocations: 8.062 kB / 0.5435 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4612, allocations: 6.484 kB / 0.5435 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4612, allocations: 5.594 kB / 0.5435 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.4615, allocations: 61.94 kB / 0.5435 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4615, allocations: 21.42 kB / 0.5436 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.4617, allocations: 42.92 kB / 0.5436 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.4617, allocations: 17.8 kB / 0.5436 GB, free: 14.18 MB / 398.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.0001536/0.4619, allocations: 156.2 kB / 0.5438 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.462, allocations: 30.78 kB / 0.5438 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.4631, allocations: 0.7461 MB / 0.5445 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4631, allocations: 10.72 kB / 0.5445 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4631, allocations: 4.922 kB / 0.5445 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4631, allocations: 3.984 kB / 0.5445 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.4636, allocations: 0.5289 MB / 0.5451 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4636, allocations: 0 / 0.5451 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.4639, allocations: 42.36 kB / 0.5451 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4639, allocations: 0 / 0.5451 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4639, allocations: 7.984 kB / 0.5451 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.4639, allocations: 6.844 kB / 0.5451 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4639, allocations: 3.938 kB / 0.5451 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.4646, allocations: 459.6 kB / 0.5456 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.4647, allocations: 113.8 kB / 0.5457 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.4648, allocations: 28.81 kB / 0.5457 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4651, allocations: 19.48 kB / 0.5457 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.4651, allocations: 25.14 kB / 0.5457 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4652, allocations: 2.656 kB / 0.5457 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003842/0.4655, allocations: 348.1 kB / 0.5461 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4656, allocations: 0 / 0.5461 GB, free: 12.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002632/0.4682, allocations: 0.8426 MB / 0.5469 GB, free: 11.93 MB / 398.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.004742/0.4729, allocations: 0.9897 MB / 0.5479 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007921/0.4737, allocations: 284.5 kB / 0.5481 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4738, allocations: 0 / 0.5481 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.4741, allocations: 167.9 kB / 0.5483 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4751, allocations: 185.3 kB / 0.5485 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.4766, allocations: 0.8456 MB / 0.5493 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.4772, allocations: 0.8463 MB / 0.5501 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.4776, allocations: 142.8 kB / 0.5503 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4777, allocations: 31.42 kB / 0.5503 GB, free: 8.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.216e-06/0.4777, allocations: 0 / 0.5503 GB, free: 8.5 MB / 398.1 MB Notification: Performance of Templates: time 0.04904/0.5268, allocations: 33.9 MB / 0.5834 GB, free: 6.672 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches