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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 102.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3715/0.3715, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3993, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02672/0.4261, allocations: 30.88 MB / 0.5366 GB, free: 16.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.4426, allocations: 16.48 MB / 0.5526 GB, free: 5.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.4431, allocations: 10 kB / 0.5527 GB, free: 5.277 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.4439, allocations: 185 kB / 0.5528 GB, free: 5.172 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.4445, allocations: 259.3 kB / 0.5531 GB, free: 5.016 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01717/0.4617, allocations: 4.516 MB / 0.5575 GB, free: 2.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.4633, allocations: 1.094 MB / 0.5586 GB, free: 2.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.4637, allocations: 196.8 kB / 0.5587 GB, free: 2.445 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01474/0.4785, allocations: 5.408 MB / 0.564 GB, free: 15.94 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.4795, allocations: 234.7 kB / 0.5643 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.4796, allocations: 23.14 kB / 0.5643 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01561/0.4953, allocations: 6.005 MB / 0.5701 GB, free: 13.31 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.4955, allocations: 76.09 kB / 0.5702 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.496, allocations: 168 kB / 0.5704 GB, free: 13.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.5096, allocations: 3.656 MB / 0.5739 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.5097, allocations: 4 kB / 0.5739 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5097, allocations: 0 / 0.5739 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.5097, allocations: 0 / 0.5739 GB, free: 10.79 MB / 394.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.00446/0.5142, allocations: 0.9921 MB / 0.5749 GB, free: 9.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5143, allocations: 11.97 kB / 0.5749 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.5152, allocations: 112.5 kB / 0.575 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.5157, allocations: 334.4 kB / 0.5754 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.5157, allocations: 20.94 kB / 0.5754 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.5157, allocations: 28.36 kB / 0.5754 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5169, allocations: 454.9 kB / 0.5758 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5169, allocations: 3.938 kB / 0.5758 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.5169, allocations: 12 kB / 0.5758 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.517, allocations: 8 kB / 0.5759 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.518, allocations: 373.3 kB / 0.5762 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.5213, allocations: 2.387 MB / 0.5785 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.5224, allocations: 274.3 kB / 0.5788 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.5227, allocations: 96.78 kB / 0.5789 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.5231, allocations: 481.3 kB / 0.5794 GB, free: 4.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.5232, allocations: 38.5 kB / 0.5794 GB, free: 4.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.955e-06/0.5232, allocations: 0 / 0.5794 GB, free: 4.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001569/0.5247, allocations: 453 kB / 0.5798 GB, free: 4.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.5248, allocations: 106.8 kB / 0.5799 GB, free: 4.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.5252, allocations: 324.4 kB / 0.5802 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.5252, allocations: 25.7 kB / 0.5803 GB, free: 3.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5254, allocations: 211.6 kB / 0.5805 GB, free: 3.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.5254, allocations: 43.38 kB / 0.5805 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.5255, allocations: 61.61 kB / 0.5806 GB, free: 3.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5257, allocations: 334.8 kB / 0.5809 GB, free: 3.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.5259, allocations: 87.92 kB / 0.581 GB, free: 3.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.5263, allocations: 212 kB / 0.5812 GB, free: 2.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005496/0.5268, allocations: 273.5 kB / 0.5814 GB, free: 2.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5269, allocations: 0 / 0.5814 GB, free: 2.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006899/0.5276, allocations: 317.2 kB / 0.5817 GB, free: 2.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.5276, allocations: 8 kB / 0.5817 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5276, allocations: 4 kB / 0.5817 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5276, allocations: 4 kB / 0.5817 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.5279, allocations: 67.83 kB / 0.5818 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.5279, allocations: 11.94 kB / 0.5818 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.5282, allocations: 55.72 kB / 0.5819 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.5283, allocations: 12 kB / 0.5819 GB, free: 2.047 MB / 394.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_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.0001712/0.5284, allocations: 161.6 kB / 0.582 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.5285, allocations: 27.72 kB / 0.5821 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5296, allocations: 0.7444 MB / 0.5828 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.5296, allocations: 11.98 kB / 0.5828 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5296, allocations: 3.938 kB / 0.5828 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5297, allocations: 3.984 kB / 0.5828 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.5302, allocations: 0.5298 MB / 0.5833 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5303, allocations: 0 / 0.5833 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.5305, allocations: 39.95 kB / 0.5834 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5305, allocations: 0 / 0.5834 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.5305, allocations: 8 kB / 0.5834 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5305, allocations: 0 / 0.5834 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5305, allocations: 3.938 kB / 0.5834 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.5319, allocations: 1.249 MB / 0.5846 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.532, allocations: 128.4 kB / 0.5847 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.5321, allocations: 19.75 kB / 0.5847 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.5323, allocations: 19.92 kB / 0.5848 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.098e-05/0.5324, allocations: 19.97 kB / 0.5848 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.5324, allocations: 11.92 kB / 0.5848 GB, free: 14.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003593/0.5328, allocations: 338.9 kB / 0.5851 GB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5328, allocations: 0 / 0.5851 GB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00399/0.5368, allocations: 0.855 MB / 0.5859 GB, free: 13.73 MB / 410.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 (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.005891/0.5427, allocations: 1.003 MB / 0.5869 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009054/0.5436, allocations: 272 kB / 0.5872 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.5436, allocations: 0 / 0.5872 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.544, allocations: 167.9 kB / 0.5873 GB, free: 12.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.545, allocations: 168.7 kB / 0.5875 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5467, allocations: 1.256 MB / 0.5887 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.5471, allocations: 0.8518 MB / 0.5896 GB, free: 9.977 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003587/0.5475, allocations: 148.8 kB / 0.5897 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.5475, allocations: 27.44 kB / 0.5897 GB, free: 9.809 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5475, allocations: 0 / 0.5897 GB, free: 9.809 MB / 410.7 MB Notification: Performance of Templates: time 0.04522/0.5928, allocations: 33.59 MB / 0.6225 GB, free: 8.262 MB / 442.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches