Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009813, allocations: 177.5 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007367/0.000737, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3759/0.3759, allocations: 43.56 MB / 362.7 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004898, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1365, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2789/0.4154, allocations: 27.92 MB / 0.506 GB, free: 30.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.4302, allocations: 14.43 MB / 0.5201 GB, free: 20.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.4308, allocations: 10.25 kB / 0.5201 GB, free: 20.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007072/0.4316, allocations: 169.2 kB / 0.5203 GB, free: 20.63 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006578/0.4322, allocations: 260.4 kB / 0.5205 GB, free: 20.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01439/0.4466, allocations: 4.302 MB / 0.5247 GB, free: 18.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.4477, allocations: 0.9289 MB / 0.5256 GB, free: 18.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.4481, allocations: 188.6 kB / 0.5258 GB, free: 18.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.4601, allocations: 8.944 MB / 0.5346 GB, free: 16.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.4607, allocations: 221.6 kB / 0.5348 GB, free: 16.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.4608, allocations: 12.09 kB / 0.5348 GB, free: 16.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.4727, allocations: 5.811 MB / 0.5405 GB, free: 15.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.4729, allocations: 72.31 kB / 0.5405 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.4732, allocations: 91.55 kB / 0.5406 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007117/0.4803, allocations: 2.458 MB / 0.543 GB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4803, allocations: 3.938 kB / 0.543 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.307e-06/0.4803, allocations: 4 kB / 0.543 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.4804, allocations: 0 / 0.543 GB, free: 15.02 MB / 378.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.005387/0.4858, allocations: 0.9312 MB / 0.5439 GB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.531e-05/0.4858, allocations: 17.28 kB / 0.5439 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.4869, allocations: 117.5 kB / 0.5441 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.4874, allocations: 313.3 kB / 0.5444 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.4875, allocations: 19.56 kB / 0.5444 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.4875, allocations: 24.83 kB / 0.5444 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.4888, allocations: 474.9 kB / 0.5449 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4888, allocations: 1.875 kB / 0.5449 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.4888, allocations: 10.47 kB / 0.5449 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.4888, allocations: 12.28 kB / 0.5449 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.49, allocations: 395.6 kB / 0.5453 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.4929, allocations: 2.396 MB / 0.5476 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.494, allocations: 308.4 kB / 0.5479 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.4943, allocations: 102.6 kB / 0.548 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.4947, allocations: 483.1 kB / 0.5484 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.4947, allocations: 44.7 kB / 0.5485 GB, free: 11.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.4947, allocations: 0 / 0.5485 GB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.001782/0.4965, allocations: 495 kB / 0.549 GB, free: 10.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.4966, allocations: 108.8 kB / 0.5491 GB, free: 10.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.497, allocations: 317.4 kB / 0.5494 GB, free: 10.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.497, allocations: 27.08 kB / 0.5494 GB, free: 10.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4971, allocations: 209.5 kB / 0.5496 GB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.4972, allocations: 40.89 kB / 0.5496 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.4972, allocations: 5.375 kB / 0.5496 GB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.4973, allocations: 341.7 kB / 0.55 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.4975, allocations: 97.56 kB / 0.5501 GB, free: 9.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.4979, allocations: 217.2 kB / 0.5503 GB, free: 9.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.4982, allocations: 114.9 kB / 0.5504 GB, free: 9.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4982, allocations: 1.375 kB / 0.5504 GB, free: 9.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007269/0.4989, allocations: 336.8 kB / 0.5507 GB, free: 9.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4989, allocations: 6.844 kB / 0.5507 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.499, allocations: 8.109 kB / 0.5507 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.499, allocations: 5.062 kB / 0.5507 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.4993, allocations: 74.95 kB / 0.5508 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4993, allocations: 8.75 kB / 0.5508 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.4996, allocations: 47.11 kB / 0.5508 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4997, allocations: 15.14 kB / 0.5509 GB, free: 9.434 MB / 378.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_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 initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.4998, allocations: 164 kB / 0.551 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.4999, allocations: 30.47 kB / 0.551 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.5011, allocations: 0.7855 MB / 0.5518 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.5011, allocations: 6.078 kB / 0.5518 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5011, allocations: 0 / 0.5518 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5011, allocations: 1.156 kB / 0.5518 GB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.5017, allocations: 0.531 MB / 0.5523 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5017, allocations: 1 kB / 0.5523 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.502, allocations: 60.95 kB / 0.5524 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.502, allocations: 1.438 kB / 0.5524 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.502, allocations: 1.094 kB / 0.5524 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.502, allocations: 3.953 kB / 0.5524 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.502, allocations: 1.812 kB / 0.5524 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.5027, allocations: 478 kB / 0.5529 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.5029, allocations: 189.3 kB / 0.553 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.5029, allocations: 0.6562 kB / 0.553 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.5032, allocations: 33.14 kB / 0.5531 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.5032, allocations: 20.53 kB / 0.5531 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5033, allocations: 7.656 kB / 0.5531 GB, free: 7.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00036/0.5036, allocations: 339.4 kB / 0.5534 GB, free: 7.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5036, allocations: 3.938 kB / 0.5534 GB, free: 7.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005619/0.5093, allocations: 0.8396 MB / 0.5542 GB, free: 7.453 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007729/0.517, allocations: 0.9904 MB / 0.5552 GB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.518, allocations: 297.7 kB / 0.5555 GB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.518, allocations: 0 / 0.5555 GB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.5183, allocations: 178.9 kB / 0.5557 GB, free: 6.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5196, allocations: 169.5 kB / 0.5558 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.5211, allocations: 1.065 MB / 0.5569 GB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.5214, allocations: 0.8448 MB / 0.5577 GB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.5215, allocations: 35.42 kB / 0.5577 GB, free: 5.082 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5215, allocations: 4 kB / 0.5577 GB, free: 5.078 MB / 378.7 MB Notification: Performance of Templates: time 0.03621/0.5577, allocations: 19.69 MB / 0.577 GB, free: 1.379 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches