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.0008589/0.0008589, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.233/1.233, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0006804/0.0006805, allocations: 106.3 kB / 271.2 MB, free: 8.23 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.3115/0.3115, allocations: 43.55 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 16 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.09951, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1963/0.2959, allocations: 28.01 MB / 0.5067 GB, free: 30.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.3087, allocations: 14.44 MB / 0.5208 GB, free: 20.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.3092, allocations: 11.09 kB / 0.5208 GB, free: 20.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.3099, allocations: 169.2 kB / 0.521 GB, free: 20.25 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.0007588/0.3106, allocations: 263.5 kB / 0.5212 GB, free: 20.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.3219, allocations: 4.311 MB / 0.5254 GB, free: 18.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009744/0.3229, allocations: 0.9397 MB / 0.5263 GB, free: 17.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.3233, allocations: 195.8 kB / 0.5265 GB, free: 17.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.012/0.3354, allocations: 8.979 MB / 0.5353 GB, free: 16.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.3358, allocations: 218.3 kB / 0.5355 GB, free: 16.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.3359, allocations: 15.22 kB / 0.5355 GB, free: 16.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.3462, allocations: 5.812 MB / 0.5412 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.3464, allocations: 69.36 kB / 0.5413 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.3468, allocations: 194.1 kB / 0.5414 GB, free: 15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.352, allocations: 2.453 MB / 0.5438 GB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3521, allocations: 0 / 0.5438 GB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3521, allocations: 0 / 0.5438 GB, free: 14.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.3521, allocations: 0 / 0.5438 GB, free: 14.57 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.003987/0.3561, allocations: 0.9362 MB / 0.5447 GB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3561, allocations: 9.469 kB / 0.5448 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009922/0.3571, allocations: 116.4 kB / 0.5449 GB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.3576, allocations: 324.3 kB / 0.5452 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.3577, allocations: 25.31 kB / 0.5452 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.3577, allocations: 23.56 kB / 0.5452 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.3589, allocations: 469.3 kB / 0.5457 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.3589, allocations: 9.219 kB / 0.5457 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.359, allocations: 11.62 kB / 0.5457 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.359, allocations: 10.81 kB / 0.5457 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3601, allocations: 397.9 kB / 0.5461 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.3629, allocations: 2.391 MB / 0.5484 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009748/0.3638, allocations: 307.6 kB / 0.5487 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.3641, allocations: 111.6 kB / 0.5488 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/0.3645, allocations: 482.9 kB / 0.5493 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3645, allocations: 35.94 kB / 0.5493 GB, free: 10.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.3645, allocations: 0 / 0.5493 GB, free: 10.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.00166/0.3662, allocations: 0.4895 MB / 0.5498 GB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3662, allocations: 110.3 kB / 0.5499 GB, free: 10.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.3666, allocations: 326.7 kB / 0.5502 GB, free: 10.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.3666, allocations: 27.2 kB / 0.5502 GB, free: 10.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.3667, allocations: 209.9 kB / 0.5504 GB, free: 9.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.3668, allocations: 36.45 kB / 0.5505 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.3668, allocations: 5.156 kB / 0.5505 GB, free: 9.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.3668, allocations: 341.3 kB / 0.5508 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3671, allocations: 93.8 kB / 0.5509 GB, free: 9.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.3674, allocations: 218.2 kB / 0.5511 GB, free: 9.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.368, allocations: 299.8 kB / 0.5514 GB, free: 9.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.368, allocations: 1.406 kB / 0.5514 GB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007154/0.3687, allocations: 344.7 kB / 0.5517 GB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3688, allocations: 5.812 kB / 0.5517 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3688, allocations: 8 kB / 0.5517 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3688, allocations: 5.031 kB / 0.5517 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.3691, allocations: 66.7 kB / 0.5518 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3691, allocations: 9.188 kB / 0.5518 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.3694, allocations: 55.03 kB / 0.5519 GB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.3694, allocations: 14.34 kB / 0.5519 GB, free: 8.816 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.0001414/0.3696, allocations: 153 kB / 0.552 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.3696, allocations: 31 kB / 0.552 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.3707, allocations: 0.7821 MB / 0.5528 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3707, allocations: 11.58 kB / 0.5528 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3707, allocations: 7.938 kB / 0.5528 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3707, allocations: 0 / 0.5528 GB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.3712, allocations: 0.5354 MB / 0.5533 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3713, allocations: 1.188 kB / 0.5533 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.3715, allocations: 48.55 kB / 0.5534 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3715, allocations: 5.125 kB / 0.5534 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3715, allocations: 5.031 kB / 0.5534 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3715, allocations: 1.281 kB / 0.5534 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3715, allocations: 3.938 kB / 0.5534 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.3721, allocations: 484.8 kB / 0.5539 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3723, allocations: 184.2 kB / 0.554 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.3724, allocations: 7.125 kB / 0.5541 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3726, allocations: 22.17 kB / 0.5541 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.3727, allocations: 24.84 kB / 0.5541 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3727, allocations: 4 kB / 0.5541 GB, free: 7.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003293/0.373, allocations: 337.5 kB / 0.5544 GB, free: 6.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.373, allocations: 1.469 kB / 0.5544 GB, free: 6.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003927/0.377, allocations: 0.8485 MB / 0.5553 GB, free: 6.836 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.006714/0.3837, allocations: 0.9868 MB / 0.5562 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.3844, allocations: 298 kB / 0.5565 GB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3844, allocations: 2.188 kB / 0.5565 GB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.3847, allocations: 174.2 kB / 0.5567 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.3857, allocations: 177.5 kB / 0.5568 GB, free: 6.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3868, allocations: 1.066 MB / 0.5579 GB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.387, allocations: 0.8388 MB / 0.5587 GB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.3871, allocations: 35.42 kB / 0.5587 GB, free: 4.254 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3871, allocations: 0 / 0.5587 GB, free: 4.254 MB / 378.7 MB Notification: Performance of Templates: time 0.02707/0.4142, allocations: 19.71 MB / 0.578 GB, free: 0.5352 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