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.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.001628/0.001628, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001835/0.001835, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.653/1.653, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2557/0.2557, allocations: 44.94 MB / 359.6 MB, free: 6.074 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 68.09 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.403, allocations: 65.49 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0369/0.4399, allocations: 27.68 MB / 0.5852 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02024/0.4601, allocations: 13.83 MB / 0.5987 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.4605, allocations: 19.75 kB / 0.5988 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.4613, allocations: 202.7 kB / 0.599 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007497/0.462, allocations: 274.4 kB / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.4801, allocations: 5.587 MB / 0.6047 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.4816, allocations: 0.8342 MB / 0.6055 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.482, allocations: 193 kB / 0.6057 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.4938, allocations: 5.493 MB / 0.611 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.4943, allocations: 235 kB / 0.6113 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.4943, allocations: 32 kB / 0.6113 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.5069, allocations: 5.846 MB / 0.617 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.5071, allocations: 95.61 kB / 0.6171 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.5074, allocations: 155.4 kB / 0.6172 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009438/0.5169, allocations: 3.675 MB / 0.6208 GB, free: 7.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5169, allocations: 0 / 0.6208 GB, free: 7.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5169, allocations: 0 / 0.6208 GB, free: 7.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5169, allocations: 0 / 0.6208 GB, free: 7.113 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.002716/0.5196, allocations: 0.9508 MB / 0.6218 GB, free: 6.129 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5196, allocations: 8.031 kB / 0.6218 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009869/0.5206, allocations: 120.6 kB / 0.6219 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.5213, allocations: 281 kB / 0.6221 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.5213, allocations: 32.75 kB / 0.6222 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.5213, allocations: 24.38 kB / 0.6222 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.5226, allocations: 0.5901 MB / 0.6228 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5226, allocations: 4 kB / 0.6228 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.5227, allocations: 12 kB / 0.6228 GB, free: 4.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.5227, allocations: 8 kB / 0.6228 GB, free: 4.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.5238, allocations: 369.2 kB / 0.6231 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.5268, allocations: 1.719 MB / 0.6248 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5278, allocations: 270.3 kB / 0.6251 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.528, allocations: 100.7 kB / 0.6252 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.5283, allocations: 107.9 kB / 0.6253 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.5284, allocations: 38.78 kB / 0.6253 GB, free: 2.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.5284, allocations: 0 / 0.6253 GB, free: 2.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001692/0.53, allocations: 445 kB / 0.6257 GB, free: 1.832 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.5301, allocations: 106.8 kB / 0.6258 GB, free: 1.703 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.5305, allocations: 288 kB / 0.6261 GB, free: 1.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.5305, allocations: 29.7 kB / 0.6262 GB, free: 1.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.5307, allocations: 219.9 kB / 0.6264 GB, free: 1.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.5307, allocations: 43.62 kB / 0.6264 GB, free: 1.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.5308, allocations: 57.66 kB / 0.6265 GB, free: 1.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.531, allocations: 334.8 kB / 0.6268 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.5313, allocations: 91.86 kB / 0.6269 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.5317, allocations: 250.8 kB / 0.6271 GB, free: 324 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.5323, allocations: 281.4 kB / 0.6274 GB, free: 15.99 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5323, allocations: 0 / 0.6274 GB, free: 15.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007456/0.5331, allocations: 313.1 kB / 0.6277 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5331, allocations: 7.938 kB / 0.6277 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5331, allocations: 4 kB / 0.6277 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.5331, allocations: 8 kB / 0.6277 GB, free: 15.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.5334, allocations: 60.36 kB / 0.6277 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5334, allocations: 8 kB / 0.6278 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.5336, allocations: 43.7 kB / 0.6278 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.5337, allocations: 19.98 kB / 0.6278 GB, free: 15.53 MB / 478.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.0001884/0.5339, allocations: 149.7 kB / 0.628 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.5339, allocations: 31.84 kB / 0.628 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.5352, allocations: 0.775 MB / 0.6287 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5352, allocations: 7.984 kB / 0.6288 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5352, allocations: 0 / 0.6288 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5352, allocations: 3.938 kB / 0.6288 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.5357, allocations: 434.5 kB / 0.6292 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5357, allocations: 0 / 0.6292 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.5359, allocations: 47.95 kB / 0.6292 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5359, allocations: 3.938 kB / 0.6292 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.536, allocations: 7.984 kB / 0.6292 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.536, allocations: 0 / 0.6292 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.536, allocations: 3.938 kB / 0.6292 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/0.5367, allocations: 473.9 kB / 0.6297 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.5368, allocations: 35.64 kB / 0.6297 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.5369, allocations: 31.78 kB / 0.6297 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.5371, allocations: 11.98 kB / 0.6298 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.5371, allocations: 19.97 kB / 0.6298 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.5372, allocations: 7.984 kB / 0.6298 GB, free: 13.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.5375, allocations: 307.1 kB / 0.6301 GB, free: 13.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5375, allocations: 0 / 0.6301 GB, free: 13.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002768/0.5403, allocations: 0.8615 MB / 0.6309 GB, free: 12.28 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.003449/0.5437, allocations: 0.9921 MB / 0.6319 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.5445, allocations: 260.6 kB / 0.6321 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5445, allocations: 4 kB / 0.6321 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.5448, allocations: 139.9 kB / 0.6323 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.5456, allocations: 138.1 kB / 0.6324 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.5471, allocations: 0.8766 MB / 0.6333 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5474, allocations: 247.7 kB / 0.6335 GB, free: 9.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.5474, allocations: 31.42 kB / 0.6335 GB, free: 9.543 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5474, allocations: 0 / 0.6335 GB, free: 9.543 MB / 478.1 MB Notification: Performance of Templates: time 0.03179/0.5792, allocations: 19.64 MB / 0.6527 GB, free: 5.914 MB / 494.1 MB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/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: 11.180790898855776]