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.002221/0.002227, allocations: 188.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.304/2.304, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001158/0.001158, allocations: 86.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2936/0.2936, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004822, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 58.86 MB / 490.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04485/0.1754, allocations: 25.37 MB / 0.5035 GB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02622/0.2017, allocations: 13.19 MB / 0.5164 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.2023, allocations: 11.88 kB / 0.5164 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.2033, allocations: 175.2 kB / 0.5166 GB, free: 2.469 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.2044, allocations: 219.3 kB / 0.5168 GB, free: 2.254 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.4818/0.6863, allocations: 4.356 MB / 0.521 GB, free: 13.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001965/0.6883, allocations: 484.2 kB / 0.5215 GB, free: 13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.6892, allocations: 181.6 kB / 0.5217 GB, free: 13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03905/0.7283, allocations: 8.851 MB / 0.5303 GB, free: 12.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.729, allocations: 157 kB / 0.5305 GB, free: 12.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.7292, allocations: 13.28 kB / 0.5305 GB, free: 12.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02366/0.7529, allocations: 5.924 MB / 0.5363 GB, free: 12.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.7531, allocations: 68.27 kB / 0.5363 GB, free: 12.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.7534, allocations: 100.5 kB / 0.5364 GB, free: 12.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00932/0.7628, allocations: 2.449 MB / 0.5388 GB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7629, allocations: 0 / 0.5388 GB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.7629, allocations: 0 / 0.5388 GB, free: 12.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.7629, allocations: 0 / 0.5388 GB, free: 12.75 MB / 362.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.004792/0.7677, allocations: 0.9365 MB / 0.5397 GB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.7678, allocations: 8.094 kB / 0.5397 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.77, allocations: 116.2 kB / 0.5399 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.7709, allocations: 313.1 kB / 0.5402 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.771, allocations: 24.56 kB / 0.5402 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.7711, allocations: 30.36 kB / 0.5402 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.7737, allocations: 464.5 kB / 0.5406 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.7738, allocations: 4 kB / 0.5407 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.7739, allocations: 18.34 kB / 0.5407 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.7739, allocations: 5.688 kB / 0.5407 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.7769, allocations: 396.9 kB / 0.5411 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.7833, allocations: 2.396 MB / 0.5434 GB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.786, allocations: 312.4 kB / 0.5437 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007654/0.7868, allocations: 482.5 kB / 0.5442 GB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.7868, allocations: 37.25 kB / 0.5442 GB, free: 8.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.797e-06/0.7869, allocations: 0 / 0.5442 GB, free: 8.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.004461/0.7913, allocations: 0.4921 MB / 0.5447 GB, free: 8.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.7914, allocations: 102.8 kB / 0.5448 GB, free: 8.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.7922, allocations: 324.5 kB / 0.5451 GB, free: 8.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.7923, allocations: 25.7 kB / 0.5451 GB, free: 8.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.7925, allocations: 259 kB / 0.5453 GB, free: 8.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.7926, allocations: 46.97 kB / 0.5454 GB, free: 8.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.7926, allocations: 2.5 kB / 0.5454 GB, free: 8.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.7927, allocations: 322 kB / 0.5457 GB, free: 7.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/0.7935, allocations: 96.88 kB / 0.5458 GB, free: 7.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009078/0.7944, allocations: 217.6 kB / 0.546 GB, free: 7.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.7952, allocations: 118.7 kB / 0.5461 GB, free: 7.691 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.7953, allocations: 0 / 0.5461 GB, free: 7.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001853/0.7971, allocations: 321.8 kB / 0.5464 GB, free: 7.605 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.7972, allocations: 9.812 kB / 0.5464 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.7972, allocations: 5.344 kB / 0.5464 GB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/0.7973, allocations: 10.08 kB / 0.5464 GB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.798, allocations: 70.02 kB / 0.5465 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.7981, allocations: 5.656 kB / 0.5465 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.7988, allocations: 54.81 kB / 0.5466 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.7989, allocations: 14.5 kB / 0.5466 GB, free: 7.562 MB / 362.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.0003231/0.7993, allocations: 154.9 kB / 0.5467 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.7994, allocations: 34.92 kB / 0.5468 GB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.8021, allocations: 0.7824 MB / 0.5475 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/0.8022, allocations: 11.92 kB / 0.5475 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.8022, allocations: 4 kB / 0.5475 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8022, allocations: 0 / 0.5475 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.8034, allocations: 0.5334 MB / 0.5481 GB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.527e-06/0.8034, allocations: 0 / 0.5481 GB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.8041, allocations: 54.55 kB / 0.5481 GB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.8041, allocations: 4 kB / 0.5481 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.8041, allocations: 4 kB / 0.5481 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.8042, allocations: 0 / 0.5481 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.8042, allocations: 3.953 kB / 0.5481 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.8059, allocations: 481.8 kB / 0.5486 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.8063, allocations: 187.5 kB / 0.5488 GB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.8064, allocations: 3.438 kB / 0.5488 GB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/0.8071, allocations: 27.97 kB / 0.5488 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.8073, allocations: 23.17 kB / 0.5488 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.8073, allocations: 4 kB / 0.5488 GB, free: 5.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000768/0.8081, allocations: 339.2 kB / 0.5491 GB, free: 5.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.8081, allocations: 0 / 0.5491 GB, free: 5.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004826/0.813, allocations: 0.8481 MB / 0.55 GB, free: 4.836 MB / 362.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.01036/0.8234, allocations: 0.9838 MB / 0.5509 GB, free: 3.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.8252, allocations: 294.6 kB / 0.5512 GB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.8252, allocations: 0.875 kB / 0.5512 GB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007391/0.826, allocations: 178.7 kB / 0.5514 GB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.8283, allocations: 170.3 kB / 0.5515 GB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.831, allocations: 1.066 MB / 0.5526 GB, free: 2.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.8315, allocations: 0.8498 MB / 0.5534 GB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.8317, allocations: 34.69 kB / 0.5535 GB, free: 1.582 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8318, allocations: 0 / 0.5535 GB, free: 1.582 MB / 362.7 MB Notification: Performance of Templates: time 0.0825/0.9143, allocations: 22.62 MB / 0.5755 GB, free: 11.15 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/jenkins1/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