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.001341/0.001341, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 208 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.4 MB / 247.5 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2514/0.2514, allocations: 46.11 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 80.77 kB / 418.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1603, allocations: 62.45 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03759/0.1979, allocations: 30.19 MB / 0.499 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3573/0.5553, allocations: 15.52 MB / 0.5141 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.5558, allocations: 17 kB / 0.5142 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008241/0.5567, allocations: 214.7 kB / 0.5144 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.5574, allocations: 267.9 kB / 0.5146 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02276/0.5802, allocations: 5.641 MB / 0.5201 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.5818, allocations: 0.8186 MB / 0.5209 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.5823, allocations: 233.5 kB / 0.5211 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01416/0.5965, allocations: 5.476 MB / 0.5265 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000673/0.5972, allocations: 233 kB / 0.5267 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.775e-05/0.5973, allocations: 28.88 kB / 0.5267 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/0.6128, allocations: 5.953 MB / 0.5326 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.6131, allocations: 87.28 kB / 0.5326 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.6135, allocations: 180.7 kB / 0.5328 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.6257, allocations: 3.671 MB / 0.5364 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6258, allocations: 0 / 0.5364 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6258, allocations: 0 / 0.5364 GB, free: 4.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.6258, allocations: 0 / 0.5364 GB, free: 4.695 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.003515/0.6293, allocations: 1.008 MB / 0.5374 GB, free: 3.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.6294, allocations: 10.5 kB / 0.5374 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.6304, allocations: 115.8 kB / 0.5375 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.6308, allocations: 324.8 kB / 0.5378 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.6308, allocations: 31.72 kB / 0.5378 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.6309, allocations: 25.38 kB / 0.5379 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.6319, allocations: 458.9 kB / 0.5383 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6319, allocations: 2.562 kB / 0.5383 GB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.632, allocations: 15.66 kB / 0.5383 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.632, allocations: 5.562 kB / 0.5383 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.633, allocations: 371.9 kB / 0.5387 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.6358, allocations: 2.385 MB / 0.541 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.6367, allocations: 267.7 kB / 0.5413 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.637, allocations: 104.9 kB / 0.5414 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000366/0.6374, allocations: 479.3 kB / 0.5418 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.6374, allocations: 36.47 kB / 0.5419 GB, free: 44 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.6374, allocations: 0 / 0.5419 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001703/0.6392, allocations: 447.1 kB / 0.5423 GB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.909e-05/0.6393, allocations: 109.1 kB / 0.5424 GB, free: 15.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.6397, allocations: 328.6 kB / 0.5427 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.6397, allocations: 28.67 kB / 0.5427 GB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.6399, allocations: 211.6 kB / 0.5429 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.64, allocations: 36.95 kB / 0.543 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.6401, allocations: 58.48 kB / 0.543 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6403, allocations: 341.4 kB / 0.5433 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.6405, allocations: 93.09 kB / 0.5434 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.6409, allocations: 205.2 kB / 0.5436 GB, free: 14.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.6416, allocations: 287.7 kB / 0.5439 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6416, allocations: 3.094 kB / 0.5439 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007604/0.6424, allocations: 314.8 kB / 0.5442 GB, free: 14.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6424, allocations: 8.188 kB / 0.5442 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6424, allocations: 5.344 kB / 0.5442 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6424, allocations: 5.469 kB / 0.5442 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.6427, allocations: 63.27 kB / 0.5443 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.6427, allocations: 13.36 kB / 0.5443 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.643, allocations: 45.7 kB / 0.5443 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.643, allocations: 14.84 kB / 0.5444 GB, free: 14.14 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.000195/0.6432, allocations: 164.7 kB / 0.5445 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.6433, allocations: 27.97 kB / 0.5445 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.6446, allocations: 0.7381 MB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.6446, allocations: 11.52 kB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.6446, allocations: 3.938 kB / 0.5453 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6446, allocations: 2.531 kB / 0.5453 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.6453, allocations: 0.5251 MB / 0.5458 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6453, allocations: 0 / 0.5458 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.6455, allocations: 44.73 kB / 0.5458 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6455, allocations: 6.781 kB / 0.5458 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.6456, allocations: 6.766 kB / 0.5458 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6456, allocations: 2 kB / 0.5458 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6456, allocations: 7.922 kB / 0.5459 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.6463, allocations: 462.3 kB / 0.5463 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6465, allocations: 115.2 kB / 0.5464 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/0.6465, allocations: 27.66 kB / 0.5464 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.6468, allocations: 12.02 kB / 0.5464 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.6469, allocations: 23.88 kB / 0.5465 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.6469, allocations: 12.47 kB / 0.5465 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000395/0.6473, allocations: 346.6 kB / 0.5468 GB, free: 12.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6473, allocations: 0 / 0.5468 GB, free: 12.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003796/0.6511, allocations: 0.8415 MB / 0.5476 GB, free: 11.9 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.004463/0.6556, allocations: 0.9929 MB / 0.5486 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.6565, allocations: 283.6 kB / 0.5489 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6565, allocations: 0 / 0.5489 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.6568, allocations: 172.8 kB / 0.549 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.6579, allocations: 177.6 kB / 0.5492 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.6595, allocations: 0.883 MB / 0.5501 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/0.6601, allocations: 0.8424 MB / 0.5509 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.6603, allocations: 35.44 kB / 0.5509 GB, free: 8.562 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6603, allocations: 0 / 0.5509 GB, free: 8.562 MB / 398.1 MB Notification: Performance of Templates: time 0.04167/0.7019, allocations: 19.93 MB / 0.5704 GB, free: 4.652 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches