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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 187.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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=5010,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=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003235/0.003235, allocations: 67.89 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4856, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04019/0.5258, allocations: 30.48 MB / 0.5786 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02276/0.5486, allocations: 15.65 MB / 0.5939 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005316/0.5491, allocations: 15.88 kB / 0.5939 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.55, allocations: 218.6 kB / 0.5941 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007408/0.5507, allocations: 278.4 kB / 0.5944 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02022/0.571, allocations: 5.645 MB / 0.5999 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.5726, allocations: 0.8303 MB / 0.6007 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005663/0.5731, allocations: 200.8 kB / 0.6009 GB, free: 10 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01661/0.5898, allocations: 5.509 MB / 0.6062 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.5905, allocations: 239 kB / 0.6065 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.5906, allocations: 28 kB / 0.6065 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01331/0.6039, allocations: 6.096 MB / 0.6125 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.6042, allocations: 95.61 kB / 0.6125 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.6046, allocations: 187.1 kB / 0.6127 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.6181, allocations: 3.663 MB / 0.6163 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.6181, allocations: 0 / 0.6163 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6181, allocations: 0 / 0.6163 GB, free: 10.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.711e-05/0.6182, allocations: 0 / 0.6163 GB, free: 10.09 MB / 462.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.004066/0.6222, allocations: 0.9392 MB / 0.6172 GB, free: 9.121 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.6223, allocations: 16.92 kB / 0.6172 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6234, allocations: 112.5 kB / 0.6173 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008373/0.6242, allocations: 280.9 kB / 0.6176 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.6243, allocations: 20.88 kB / 0.6176 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.6244, allocations: 24.38 kB / 0.6177 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.6257, allocations: 454.1 kB / 0.6181 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6257, allocations: 0 / 0.6181 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/0.6258, allocations: 12 kB / 0.6181 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6258, allocations: 8 kB / 0.6181 GB, free: 8.148 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.627, allocations: 369.2 kB / 0.6185 GB, free: 7.789 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.6308, allocations: 2.198 MB / 0.6206 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.632, allocations: 274.2 kB / 0.6209 GB, free: 5.141 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.6323, allocations: 96.78 kB / 0.621 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.6326, allocations: 95.88 kB / 0.6211 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.6327, allocations: 42.55 kB / 0.6211 GB, free: 4.898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.973e-06/0.6327, allocations: 0 / 0.6211 GB, free: 4.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001928/0.6346, allocations: 445.1 kB / 0.6215 GB, free: 4.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6347, allocations: 110.8 kB / 0.6216 GB, free: 4.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.6351, allocations: 316.5 kB / 0.6219 GB, free: 4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.6352, allocations: 37.64 kB / 0.622 GB, free: 3.957 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.6354, allocations: 212.1 kB / 0.6222 GB, free: 3.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.6354, allocations: 51.64 kB / 0.6222 GB, free: 3.695 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.6356, allocations: 53.69 kB / 0.6223 GB, free: 3.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.6358, allocations: 338.8 kB / 0.6226 GB, free: 3.297 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.6361, allocations: 83.92 kB / 0.6227 GB, free: 3.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.6365, allocations: 200.1 kB / 0.6229 GB, free: 2.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/0.6373, allocations: 289.4 kB / 0.6231 GB, free: 2.633 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6373, allocations: 0 / 0.6231 GB, free: 2.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009219/0.6382, allocations: 321 kB / 0.6234 GB, free: 2.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6382, allocations: 4 kB / 0.6234 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.6382, allocations: 7.938 kB / 0.6234 GB, free: 2.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.6382, allocations: 8 kB / 0.6235 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.6385, allocations: 64.36 kB / 0.6235 GB, free: 2.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.6385, allocations: 15.88 kB / 0.6235 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.6389, allocations: 47.72 kB / 0.6236 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.6389, allocations: 12 kB / 0.6236 GB, free: 2.156 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.0002087/0.6391, allocations: 153.8 kB / 0.6237 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.6392, allocations: 27.81 kB / 0.6238 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.6405, allocations: 0.7683 MB / 0.6245 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.6405, allocations: 7.984 kB / 0.6245 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6405, allocations: 3.938 kB / 0.6245 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6405, allocations: 4 kB / 0.6245 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.6413, allocations: 0.5057 MB / 0.625 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6413, allocations: 0 / 0.625 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.6416, allocations: 47.88 kB / 0.6251 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6416, allocations: 4 kB / 0.6251 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6416, allocations: 4 kB / 0.6251 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6416, allocations: 0 / 0.6251 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6416, allocations: 3.938 kB / 0.6251 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.6426, allocations: 473.8 kB / 0.6255 GB, free: 96 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6427, allocations: 35.7 kB / 0.6256 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.54e-05/0.6428, allocations: 27.73 kB / 0.6256 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.643, allocations: 23.91 kB / 0.6256 GB, free: 8 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6431, allocations: 23.98 kB / 0.6256 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.6431, allocations: 4 kB / 0.6256 GB, free: 15.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004632/0.6436, allocations: 342.9 kB / 0.626 GB, free: 15.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6436, allocations: 4 kB / 0.626 GB, free: 15.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003206/0.6468, allocations: 0.8461 MB / 0.6268 GB, free: 14.79 MB / 478.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.005204/0.652, allocations: 0.9965 MB / 0.6278 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.653, allocations: 280.4 kB / 0.628 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.653, allocations: 0 / 0.628 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.6535, allocations: 139.9 kB / 0.6282 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.6547, allocations: 169.7 kB / 0.6283 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.6566, allocations: 0.874 MB / 0.6292 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.6573, allocations: 0.8424 MB / 0.63 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.6577, allocations: 155.8 kB / 0.6302 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.616e-05/0.6578, allocations: 27.44 kB / 0.6302 GB, free: 11.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/0.6578, allocations: 0 / 0.6302 GB, free: 11.27 MB / 478.1 MB Notification: Performance of Templates: time 0.06201/0.7198, allocations: 34.06 MB / 0.6634 GB, free: 9.254 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.835520406253636]