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.001296/0.001296, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001349/0.001349, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.389/1.389, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2268/0.2268, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001093, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5174, allocations: 60.83 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03682/0.5543, allocations: 30.04 MB / 0.5482 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.5743, allocations: 15.5 MB / 0.5634 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005418/0.5749, allocations: 11.94 kB / 0.5634 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.5757, allocations: 214.6 kB / 0.5636 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007637/0.5765, allocations: 274.4 kB / 0.5639 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02095/0.5975, allocations: 5.635 MB / 0.5694 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.5989, allocations: 0.8264 MB / 0.5702 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.5993, allocations: 228.7 kB / 0.5704 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/0.6124, allocations: 5.485 MB / 0.5757 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.613, allocations: 231 kB / 0.576 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.613, allocations: 31.94 kB / 0.576 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.6252, allocations: 6.08 MB / 0.5819 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.6254, allocations: 87.73 kB / 0.582 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.6258, allocations: 187.1 kB / 0.5822 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009668/0.6354, allocations: 3.645 MB / 0.5857 GB, free: 7.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6355, allocations: 4 kB / 0.5858 GB, free: 7.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6355, allocations: 0 / 0.5858 GB, free: 7.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.6355, allocations: 0 / 0.5858 GB, free: 7.383 MB / 446.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.00264/0.6381, allocations: 0.9939 MB / 0.5867 GB, free: 6.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6382, allocations: 16.02 kB / 0.5867 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/0.6392, allocations: 104.5 kB / 0.5868 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.6397, allocations: 350.5 kB / 0.5872 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.6398, allocations: 16.94 kB / 0.5872 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.6398, allocations: 24.38 kB / 0.5872 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.641, allocations: 454.9 kB / 0.5876 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.641, allocations: 0 / 0.5876 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.6411, allocations: 12 kB / 0.5877 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.6411, allocations: 8 kB / 0.5877 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6422, allocations: 373.2 kB / 0.588 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.6453, allocations: 2.379 MB / 0.5903 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.6464, allocations: 286.2 kB / 0.5906 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.6467, allocations: 96.78 kB / 0.5907 GB, free: 1.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/0.6472, allocations: 485.4 kB / 0.5912 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6472, allocations: 38.56 kB / 0.5912 GB, free: 1.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.6472, allocations: 0 / 0.5912 GB, free: 1.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001842/0.6491, allocations: 449.2 kB / 0.5916 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.6491, allocations: 110.7 kB / 0.5917 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.6495, allocations: 316.5 kB / 0.592 GB, free: 448 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.6496, allocations: 29.69 kB / 0.5921 GB, free: 412 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.6497, allocations: 207.6 kB / 0.5923 GB, free: 196 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.6497, allocations: 43.39 kB / 0.5923 GB, free: 152 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.129e-05/0.6498, allocations: 65.59 kB / 0.5924 GB, free: 80 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.65, allocations: 334.8 kB / 0.5927 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.6503, allocations: 83.94 kB / 0.5928 GB, free: 15.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.6506, allocations: 203.4 kB / 0.593 GB, free: 15.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.6513, allocations: 289.4 kB / 0.5932 GB, free: 15.07 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6513, allocations: 4 kB / 0.5932 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007533/0.6521, allocations: 312.8 kB / 0.5935 GB, free: 14.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6521, allocations: 8 kB / 0.5936 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6521, allocations: 4 kB / 0.5936 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.6521, allocations: 7.984 kB / 0.5936 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.6524, allocations: 68.38 kB / 0.5936 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.6525, allocations: 15.86 kB / 0.5936 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.6527, allocations: 39.67 kB / 0.5937 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.6527, allocations: 16 kB / 0.5937 GB, free: 14.6 MB / 462.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.0001677/0.6529, allocations: 149.8 kB / 0.5938 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.653, allocations: 27.72 kB / 0.5939 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.6542, allocations: 0.7327 MB / 0.5946 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6542, allocations: 11.98 kB / 0.5946 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6542, allocations: 3.938 kB / 0.5946 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6542, allocations: 3.984 kB / 0.5946 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.6548, allocations: 0.5298 MB / 0.5951 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6548, allocations: 3.938 kB / 0.5951 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.655, allocations: 47.95 kB / 0.5952 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.655, allocations: 0 / 0.5952 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.655, allocations: 4 kB / 0.5952 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6551, allocations: 0 / 0.5952 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.6551, allocations: 7.922 kB / 0.5952 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.6558, allocations: 465.6 kB / 0.5956 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.6559, allocations: 108.6 kB / 0.5957 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.656, allocations: 23.69 kB / 0.5957 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.6562, allocations: 15.98 kB / 0.5958 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.6563, allocations: 31.84 kB / 0.5958 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.6563, allocations: 4 kB / 0.5958 GB, free: 12.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.6567, allocations: 342.8 kB / 0.5961 GB, free: 12.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6567, allocations: 3.938 kB / 0.5961 GB, free: 12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002983/0.6597, allocations: 0.8432 MB / 0.597 GB, free: 11.16 MB / 462.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.003791/0.6635, allocations: 0.9906 MB / 0.5979 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008141/0.6643, allocations: 276.5 kB / 0.5982 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6643, allocations: 0 / 0.5982 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.6647, allocations: 167.9 kB / 0.5983 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009663/0.6656, allocations: 179.8 kB / 0.5985 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.667, allocations: 0.827 MB / 0.5993 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.6674, allocations: 0.8346 MB / 0.6001 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.6677, allocations: 148.6 kB / 0.6003 GB, free: 7.711 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.6678, allocations: 35.44 kB / 0.6003 GB, free: 7.676 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6678, allocations: 0 / 0.6003 GB, free: 7.676 MB / 462.1 MB Notification: Performance of Templates: time 0.04299/0.7108, allocations: 33.8 MB / 0.6333 GB, free: 5.914 MB / 494.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