Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.00144/0.00144, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.875/1.875, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.437/0.437, allocations: 43.5 MB / 313.5 MB, free: 8.562 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 63.91 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1737, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3826/0.5564, allocations: 30.88 MB / 470.7 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.5767, allocations: 16.48 MB / 487.2 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.5772, allocations: 10.06 kB / 487.2 MB, free: 22.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009086/0.5782, allocations: 180.5 kB / 487.4 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006043/0.5788, allocations: 261.2 kB / 487.6 MB, free: 22.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01818/0.597, allocations: 4.507 MB / 492.1 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.5985, allocations: 1.091 MB / 493.2 MB, free: 19.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.5989, allocations: 193.4 kB / 493.4 MB, free: 19.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.612, allocations: 5.4 MB / 498.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008579/0.6129, allocations: 251.2 kB / 499.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.613, allocations: 14.31 kB / 499.1 MB, free: 17.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/0.6284, allocations: 5.996 MB / 0.4932 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.6286, allocations: 78.12 kB / 0.4933 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.629, allocations: 168.7 kB / 0.4935 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.6432, allocations: 3.643 MB / 0.497 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.6433, allocations: 5.625 kB / 0.497 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6433, allocations: 0 / 0.497 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.6433, allocations: 0 / 0.497 GB, free: 14.41 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.004821/0.6481, allocations: 1.001 MB / 0.498 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6482, allocations: 12.81 kB / 0.498 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.6491, allocations: 109.1 kB / 0.4981 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.6495, allocations: 326.7 kB / 0.4984 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.6495, allocations: 21.19 kB / 0.4985 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.6496, allocations: 25.06 kB / 0.4985 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.6507, allocations: 453.8 kB / 0.4989 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6507, allocations: 1.125 kB / 0.4989 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.6507, allocations: 12.72 kB / 0.4989 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.6508, allocations: 6.938 kB / 0.4989 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.6518, allocations: 376.7 kB / 0.4993 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.6549, allocations: 2.371 MB / 0.5016 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.656, allocations: 284.2 kB / 0.5019 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.6563, allocations: 97.14 kB / 0.502 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/0.6567, allocations: 486.4 kB / 0.5024 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.6567, allocations: 40.8 kB / 0.5025 GB, free: 10.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.6568, allocations: 0 / 0.5025 GB, free: 10.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001784/0.6585, allocations: 445.3 kB / 0.5029 GB, free: 9.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.6586, allocations: 110.8 kB / 0.503 GB, free: 9.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.659, allocations: 326.2 kB / 0.5033 GB, free: 9.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.659, allocations: 26.73 kB / 0.5033 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.6592, allocations: 210.6 kB / 0.5035 GB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.6592, allocations: 36.2 kB / 0.5036 GB, free: 9.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.6593, allocations: 59.53 kB / 0.5036 GB, free: 9.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.6594, allocations: 337.2 kB / 0.504 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.6597, allocations: 85.52 kB / 0.504 GB, free: 8.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.66, allocations: 199.7 kB / 0.5042 GB, free: 8.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.6606, allocations: 285.6 kB / 0.5045 GB, free: 8.441 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6607, allocations: 1.219 kB / 0.5045 GB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008124/0.6615, allocations: 318.9 kB / 0.5048 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.6615, allocations: 7.281 kB / 0.5048 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6615, allocations: 4.406 kB / 0.5048 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.6616, allocations: 5.531 kB / 0.5048 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.6618, allocations: 68.27 kB / 0.5049 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.6619, allocations: 13.62 kB / 0.5049 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.6623, allocations: 47.2 kB / 0.5049 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.6623, allocations: 18.2 kB / 0.505 GB, free: 8.203 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.0001843/0.6625, allocations: 147.5 kB / 0.5051 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.6626, allocations: 34.59 kB / 0.5051 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.6639, allocations: 0.7485 MB / 0.5059 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.6639, allocations: 10.64 kB / 0.5059 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.6639, allocations: 5.219 kB / 0.5059 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6639, allocations: 0 / 0.5059 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.6647, allocations: 0.5269 MB / 0.5064 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6647, allocations: 0.7812 kB / 0.5064 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.6649, allocations: 49.05 kB / 0.5064 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.665, allocations: 5.062 kB / 0.5064 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.665, allocations: 1.062 kB / 0.5064 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.665, allocations: 1.094 kB / 0.5064 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.665, allocations: 3.938 kB / 0.5065 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.6658, allocations: 458.7 kB / 0.5069 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.666, allocations: 118.6 kB / 0.507 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.6661, allocations: 26.2 kB / 0.507 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.6664, allocations: 19.52 kB / 0.507 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.6665, allocations: 21.03 kB / 0.5071 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.6665, allocations: 7.312 kB / 0.5071 GB, free: 6.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000471/0.667, allocations: 347.2 kB / 0.5074 GB, free: 6.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.667, allocations: 0 / 0.5074 GB, free: 6.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006065/0.673, allocations: 0.8443 MB / 0.5082 GB, free: 6.289 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.009977/0.683, allocations: 0.9903 MB / 0.5092 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.684, allocations: 276.6 kB / 0.5095 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.684, allocations: 1.125 kB / 0.5095 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.6844, allocations: 164.4 kB / 0.5096 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.6857, allocations: 179.5 kB / 0.5098 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.6875, allocations: 0.9974 MB / 0.5108 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.688, allocations: 0.8432 MB / 0.5116 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004384/0.6884, allocations: 141.1 kB / 0.5117 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.6885, allocations: 28.06 kB / 0.5117 GB, free: 4.051 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.6885, allocations: 0 / 0.5117 GB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.05975/0.7483, allocations: 33.42 MB / 0.5444 GB, free: 5.961 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches