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.001348/0.001348, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001562/0.001562, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.619/1.619, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.241/0.241, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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 0.001986/0.001986, allocations: 71.88 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 66.03 MB / 0.5618 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0346/0.4116, allocations: 27.68 MB / 0.5888 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.4313, allocations: 13.84 MB / 0.6024 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.4317, allocations: 11.88 kB / 0.6024 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007523/0.4324, allocations: 198.7 kB / 0.6026 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000674/0.4331, allocations: 278.4 kB / 0.6028 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01632/0.4494, allocations: 5.601 MB / 0.6083 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.4508, allocations: 0.8381 MB / 0.6091 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.4512, allocations: 189.1 kB / 0.6093 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01503/0.4662, allocations: 5.497 MB / 0.6147 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.4669, allocations: 247 kB / 0.6149 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.467, allocations: 28 kB / 0.6149 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.479, allocations: 6.08 MB / 0.6209 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.4793, allocations: 91.67 kB / 0.621 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.4796, allocations: 151.3 kB / 0.6211 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008954/0.4885, allocations: 3.675 MB / 0.6247 GB, free: 3.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4885, allocations: 3.938 kB / 0.6247 GB, free: 3.684 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4885, allocations: 4 kB / 0.6247 GB, free: 3.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.4885, allocations: 0 / 0.6247 GB, free: 3.68 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.002684/0.4912, allocations: 0.947 MB / 0.6256 GB, free: 2.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4913, allocations: 12.03 kB / 0.6256 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4923, allocations: 116.6 kB / 0.6257 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.4929, allocations: 292.8 kB / 0.626 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.4929, allocations: 20.88 kB / 0.626 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.493, allocations: 24.38 kB / 0.6261 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.4942, allocations: 0.594 MB / 0.6266 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4942, allocations: 3.938 kB / 0.6266 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.4943, allocations: 12 kB / 0.6267 GB, free: 1.531 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.4943, allocations: 8 kB / 0.6267 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.4954, allocations: 369.2 kB / 0.627 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.4983, allocations: 1.719 MB / 0.6287 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4994, allocations: 266.3 kB / 0.629 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.4997, allocations: 96.78 kB / 0.629 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.4999, allocations: 108.1 kB / 0.6291 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5, allocations: 38.5 kB / 0.6292 GB, free: 14.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.5, allocations: 0 / 0.6292 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001756/0.5017, allocations: 449.1 kB / 0.6296 GB, free: 14.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.5018, allocations: 106.8 kB / 0.6297 GB, free: 14.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.5021, allocations: 284 kB / 0.63 GB, free: 13.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.5022, allocations: 25.7 kB / 0.63 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5023, allocations: 219.9 kB / 0.6302 GB, free: 13.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.5024, allocations: 43.62 kB / 0.6303 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5025, allocations: 65.64 kB / 0.6303 GB, free: 13.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5026, allocations: 330.8 kB / 0.6306 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.5029, allocations: 91.92 kB / 0.6307 GB, free: 13.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.5033, allocations: 250.7 kB / 0.631 GB, free: 12.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006532/0.504, allocations: 273.5 kB / 0.6312 GB, free: 12.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.504, allocations: 0 / 0.6312 GB, free: 12.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000768/0.5047, allocations: 317 kB / 0.6315 GB, free: 12.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5048, allocations: 14.59 kB / 0.6315 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5048, allocations: 4 kB / 0.6315 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5048, allocations: 4.469 kB / 0.6316 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.5051, allocations: 71.89 kB / 0.6316 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5051, allocations: 4 kB / 0.6316 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5053, allocations: 43.7 kB / 0.6317 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.5053, allocations: 12 kB / 0.6317 GB, free: 12.11 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.0001764/0.5055, allocations: 149.8 kB / 0.6318 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.5056, allocations: 23.86 kB / 0.6318 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5068, allocations: 0.7712 MB / 0.6326 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5068, allocations: 4 kB / 0.6326 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5068, allocations: 0 / 0.6326 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.5068, allocations: 7.922 kB / 0.6326 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.5074, allocations: 446.4 kB / 0.633 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5074, allocations: 0 / 0.633 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.5076, allocations: 39.95 kB / 0.6331 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5076, allocations: 0 / 0.6331 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.5076, allocations: 4 kB / 0.6331 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5076, allocations: 3.984 kB / 0.6331 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5076, allocations: 0 / 0.6331 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/0.5084, allocations: 482.3 kB / 0.6335 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.5084, allocations: 39.69 kB / 0.6336 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.5085, allocations: 23.78 kB / 0.6336 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.5087, allocations: 15.98 kB / 0.6336 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.5088, allocations: 19.97 kB / 0.6336 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.5088, allocations: 8 kB / 0.6336 GB, free: 10.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003559/0.5092, allocations: 303.1 kB / 0.6339 GB, free: 9.742 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5092, allocations: 4 kB / 0.6339 GB, free: 9.738 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002504/0.5117, allocations: 0.8654 MB / 0.6348 GB, free: 8.871 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.003763/0.5154, allocations: 0.9776 MB / 0.6357 GB, free: 7.879 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008126/0.5163, allocations: 272.5 kB / 0.636 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5163, allocations: 0 / 0.636 GB, free: 7.613 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.5166, allocations: 139.9 kB / 0.6361 GB, free: 7.477 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.5174, allocations: 136.4 kB / 0.6363 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.5188, allocations: 0.8799 MB / 0.6371 GB, free: 6.434 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.519, allocations: 243.7 kB / 0.6373 GB, free: 6.172 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/0.5191, allocations: 31.44 kB / 0.6374 GB, free: 6.141 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5191, allocations: 0 / 0.6374 GB, free: 6.141 MB / 478.1 MB Notification: Performance of Templates: time 0.03107/0.5502, allocations: 19.64 MB / 0.6566 GB, free: 2.508 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.477933622983983]