Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 95.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 173.8 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 242.3 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2543/0.2543, allocations: 44.26 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004597, allocations: 11.98 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1585, allocations: 61.93 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03648/0.195, allocations: 30.16 MB / 0.4906 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3329/0.5279, allocations: 16.21 MB / 0.5065 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006793/0.5287, allocations: 11.41 kB / 0.5065 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009165/0.5296, allocations: 184.1 kB / 0.5067 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008532/0.5305, allocations: 258.4 kB / 0.5069 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01795/0.5484, allocations: 4.508 MB / 0.5113 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.5506, allocations: 1.093 MB / 0.5124 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.5511, allocations: 193.3 kB / 0.5126 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.5631, allocations: 5.399 MB / 0.5178 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006979/0.5638, allocations: 231.5 kB / 0.5181 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.5639, allocations: 13.53 kB / 0.5181 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.5785, allocations: 6.007 MB / 0.5239 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.5788, allocations: 73.97 kB / 0.524 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.5793, allocations: 195.7 kB / 0.5242 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.5907, allocations: 3.629 MB / 0.5277 GB, free: 7.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5908, allocations: 4 kB / 0.5277 GB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5908, allocations: 3.562 kB / 0.5277 GB, free: 7.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.5908, allocations: 0 / 0.5277 GB, free: 7.91 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.00315/0.5939, allocations: 0.9273 MB / 0.5286 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.594, allocations: 17.31 kB / 0.5287 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/0.595, allocations: 115.3 kB / 0.5288 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.5954, allocations: 325.3 kB / 0.5291 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.5954, allocations: 22.16 kB / 0.5291 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.5955, allocations: 25.16 kB / 0.5291 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5966, allocations: 478.2 kB / 0.5296 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.5966, allocations: 3.125 kB / 0.5296 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.5967, allocations: 11.16 kB / 0.5296 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.5967, allocations: 10.66 kB / 0.5296 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5977, allocations: 395.4 kB / 0.53 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.6005, allocations: 2.399 MB / 0.5323 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.6015, allocations: 315.9 kB / 0.5326 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.6018, allocations: 99.42 kB / 0.5327 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.6021, allocations: 496 kB / 0.5332 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.6022, allocations: 40.05 kB / 0.5332 GB, free: 3.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.6022, allocations: 0 / 0.5332 GB, free: 3.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001722/0.6039, allocations: 493.5 kB / 0.5337 GB, free: 3.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.604, allocations: 109.9 kB / 0.5338 GB, free: 3.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.6043, allocations: 328.1 kB / 0.5341 GB, free: 3.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.6044, allocations: 29.08 kB / 0.5342 GB, free: 3.453 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6045, allocations: 203.5 kB / 0.5343 GB, free: 3.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.6046, allocations: 40.23 kB / 0.5344 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.6046, allocations: 27.83 kB / 0.5344 GB, free: 3.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6047, allocations: 338 kB / 0.5347 GB, free: 2.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.605, allocations: 101.7 kB / 0.5348 GB, free: 2.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.6053, allocations: 217.6 kB / 0.535 GB, free: 2.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.6058, allocations: 309.2 kB / 0.5353 GB, free: 2.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6059, allocations: 3.406 kB / 0.5353 GB, free: 2.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006781/0.6065, allocations: 336.7 kB / 0.5357 GB, free: 2.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6066, allocations: 11.66 kB / 0.5357 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6066, allocations: 2.375 kB / 0.5357 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6066, allocations: 4.219 kB / 0.5357 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.6069, allocations: 68.42 kB / 0.5357 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.6069, allocations: 13.09 kB / 0.5358 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.6072, allocations: 56 kB / 0.5358 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.6072, allocations: 11.66 kB / 0.5358 GB, free: 2.441 MB / 382.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.0001448/0.6073, allocations: 160.2 kB / 0.536 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.6074, allocations: 31.69 kB / 0.536 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.6085, allocations: 0.7707 MB / 0.5368 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6085, allocations: 5.859 kB / 0.5368 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6085, allocations: 7.656 kB / 0.5368 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6086, allocations: 0 / 0.5368 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.6091, allocations: 0.5314 MB / 0.5373 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.6091, allocations: 0 / 0.5373 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.6093, allocations: 57.28 kB / 0.5373 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6093, allocations: 0 / 0.5373 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.6093, allocations: 0 / 0.5373 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6093, allocations: 7.5 kB / 0.5373 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6093, allocations: 3.938 kB / 0.5374 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.61, allocations: 480.7 kB / 0.5378 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.6101, allocations: 184.2 kB / 0.538 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.6101, allocations: 10.52 kB / 0.538 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.6104, allocations: 22.58 kB / 0.538 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.6104, allocations: 25.03 kB / 0.538 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.6105, allocations: 3.625 kB / 0.538 GB, free: 1.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.6108, allocations: 338.5 kB / 0.5384 GB, free: 1.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6108, allocations: 0 / 0.5384 GB, free: 1.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003338/0.6141, allocations: 0.8397 MB / 0.5392 GB, free: 1.105 MB / 382.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.00393/0.6181, allocations: 0.9941 MB / 0.5402 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.6188, allocations: 289.9 kB / 0.5404 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6188, allocations: 3.938 kB / 0.5404 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.6191, allocations: 175.6 kB / 0.5406 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/0.6201, allocations: 172.4 kB / 0.5408 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6214, allocations: 1.045 MB / 0.5418 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.6218, allocations: 0.839 MB / 0.5426 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000327/0.6221, allocations: 144.7 kB / 0.5427 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.981e-05/0.6222, allocations: 37.62 kB / 0.5428 GB, free: 15.19 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6222, allocations: 0 / 0.5428 GB, free: 15.19 MB / 398.1 MB Notification: Performance of Templates: time 0.0495/0.6717, allocations: 33.39 MB / 0.5754 GB, free: 14.12 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches