Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.318/0.318, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.759e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01312/0.01315, allocations: 14.53 MB / 392.6 MB, free: 4.078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009459/0.02261, allocations: 11.68 MB / 404.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.02276, allocations: 15.88 kB / 404.3 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.02314, allocations: 131.1 kB / 404.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.02353, allocations: 286.1 kB / 404.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008347/0.03188, allocations: 5.378 MB / 410 MB, free: 2.527 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.0326, allocations: 0.8497 MB / 410.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.03305, allocations: 201.3 kB / 411.1 MB, free: 1.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.03646, allocations: 2.201 MB / 413.3 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.03667, allocations: 215.4 kB / 413.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.03671, allocations: 32 kB / 413.5 MB, free: 15 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007141/0.04385, allocations: 5.822 MB / 419.4 MB, free: 9.176 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.04393, allocations: 87.67 kB / 419.4 MB, free: 9.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.04404, allocations: 131.7 kB / 419.6 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.04759, allocations: 4.459 MB / 424 MB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.04759, allocations: 7.938 kB / 424 MB, free: 4.484 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04759, allocations: 0 / 424 MB, free: 4.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.0476, allocations: 0 / 424 MB, free: 4.484 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.001062/0.04866, allocations: 1.019 MB / 425.1 MB, free: 3.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.04869, allocations: 8.031 kB / 425.1 MB, free: 3.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005081/0.0492, allocations: 180.1 kB / 425.2 MB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.04965, allocations: 291.4 kB / 425.5 MB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.04967, allocations: 20.88 kB / 425.5 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.0497, allocations: 28.38 kB / 425.6 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.05029, allocations: 0.5867 MB / 426.2 MB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.0503, allocations: 4.188 kB / 426.2 MB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.05033, allocations: 15.94 kB / 426.2 MB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.05033, allocations: 4 kB / 426.2 MB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.0507, allocations: 258.6 kB / 426.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.05222, allocations: 2.198 MB / 428.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.05263, allocations: 234.7 kB / 428.9 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.05268, allocations: 43.66 kB / 428.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.05281, allocations: 95.92 kB / 429 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.05283, allocations: 45.38 kB / 429 MB, free: 15.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 9.51e-07/0.05283, allocations: 0 / 429 MB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005551/0.05339, allocations: 329.1 kB / 429.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.05342, allocations: 110.8 kB / 429.5 MB, free: 14.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.05361, allocations: 314.2 kB / 429.8 MB, free: 14.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.05362, allocations: 33.7 kB / 429.8 MB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.05374, allocations: 266.6 kB / 430.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.05376, allocations: 39.69 kB / 430.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.05384, allocations: 71.3 kB / 430.2 MB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.05395, allocations: 0.5 MB / 430.7 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.05402, allocations: 47.94 kB / 430.7 MB, free: 13.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.05417, allocations: 273 kB / 431 MB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.05435, allocations: 251.2 kB / 431.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.05436, allocations: 7.938 kB / 431.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002462/0.0546, allocations: 249 kB / 431.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.05461, allocations: 6.031 kB / 431.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.05462, allocations: 4.469 kB / 431.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.05463, allocations: 15.94 kB / 431.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.05475, allocations: 55.91 kB / 431.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.05475, allocations: 4 kB / 431.6 MB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.05484, allocations: 35.81 kB / 431.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.05485, allocations: 12 kB / 431.6 MB, free: 12.39 MB / 410.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 9.558e-05/0.05495, allocations: 172.5 kB / 431.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.05498, allocations: 35.81 kB / 431.8 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/0.05559, allocations: 0.5257 MB / 432.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.0556, allocations: 11.98 kB / 432.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.0556, allocations: 0 / 432.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.0556, allocations: 0 / 432.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.05588, allocations: 402 kB / 432.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.05588, allocations: 0 / 432.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.05595, allocations: 27.98 kB / 432.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.05595, allocations: 4 kB / 432.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.05597, allocations: 11.98 kB / 432.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.05597, allocations: 4 kB / 432.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.05597, allocations: 0 / 432.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.05624, allocations: 408.1 kB / 433.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.05627, allocations: 35.64 kB / 433.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.0563, allocations: 27.78 kB / 433.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.05637, allocations: 7.984 kB / 433.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.05642, allocations: 19.97 kB / 433.3 MB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.05642, allocations: 8 kB / 433.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.05662, allocations: 311 kB / 433.6 MB, free: 10.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05662, allocations: 0 / 433.6 MB, free: 10.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001063/0.05768, allocations: 0.8538 MB / 434.5 MB, free: 9.484 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.002065/0.05975, allocations: 1.095 MB / 435.6 MB, free: 8.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.05996, allocations: 159.4 kB / 435.7 MB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.05996, allocations: 0.9375 kB / 435.7 MB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.06004, allocations: 79.59 kB / 435.8 MB, free: 8.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.06046, allocations: 161.2 kB / 435.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.06148, allocations: 0.7742 MB / 436.7 MB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.06155, allocations: 129 kB / 436.8 MB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.06171, allocations: 137.6 kB / 437 MB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.06175, allocations: 28.5 kB / 437 MB, free: 6.867 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.06176, allocations: 0 / 437 MB, free: 6.867 MB / 410.7 MB Notification: Performance of Templates: time 0.211/0.2727, allocations: 39.15 MB / 476.2 MB, free: 71.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9981947876513]