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.0007533/0.0007533, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002317, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001036/0.001036, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002214, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9849/0.9849, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1131/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.3094/0.3094, allocations: 34.26 MB / 278.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03685/0.3463, allocations: 13.1 MB / 291.5 MB, free: 7.352 MB / 282.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.475e-06/2.475e-06, allocations: 0 / 292.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.029e-05, allocations: 7.656 kB / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02274/0.02277, allocations: 14.58 MB / 307.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.04102, allocations: 11.75 MB / 319.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.04142, allocations: 15.88 kB / 319.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.04198, allocations: 123 kB / 319.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007992/0.04278, allocations: 294.1 kB / 319.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0228/0.06558, allocations: 4.881 MB / 324.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001478/0.06706, allocations: 0.842 MB / 325.3 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.06755, allocations: 205.3 kB / 325.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004671/0.07222, allocations: 1.875 MB / 327.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.07263, allocations: 203.3 kB / 327.6 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.0727, allocations: 32 kB / 327.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/0.08697, allocations: 6.228 MB / 333.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.0872, allocations: 75.73 kB / 333.9 MB, free: 13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.0875, allocations: 115.8 kB / 334 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.09594, allocations: 3.353 MB / 337.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.09595, allocations: 0 / 337.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.09596, allocations: 0 / 337.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.09597, allocations: 4 kB / 337.4 MB, free: 9.523 MB / 330.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.003258/0.09923, allocations: 1.152 MB / 338.5 MB, free: 8.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.09928, allocations: 8.031 kB / 338.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.1003, allocations: 257.3 kB / 338.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.1008, allocations: 264.6 kB / 339 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.1009, allocations: 20.88 kB / 339.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.1009, allocations: 24.38 kB / 339.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/0.1019, allocations: 0.5579 MB / 339.7 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1019, allocations: 4.188 kB / 339.7 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.102, allocations: 15.94 kB / 339.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.102, allocations: 8 kB / 339.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006107/0.1026, allocations: 228.8 kB / 339.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.1047, allocations: 1.511 MB / 341.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.1054, allocations: 226.2 kB / 341.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.842e-05/0.1054, allocations: 28.84 kB / 341.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07768/0.1831, allocations: 38.88 MB / 380.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.1832, allocations: 38.56 kB / 380.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.384e-06/0.1832, allocations: 0 / 380.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008053/0.184, allocations: 302.6 kB / 380.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.184, allocations: 55.41 kB / 380.9 MB, free: 13.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1842, allocations: 262.8 kB / 381.2 MB, free: 13.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1842, allocations: 33.7 kB / 381.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1843, allocations: 196.4 kB / 381.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1843, allocations: 43.67 kB / 381.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.1844, allocations: 49.64 kB / 381.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.1845, allocations: 342.8 kB / 381.8 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.1845, allocations: 35.95 kB / 381.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1847, allocations: 201.6 kB / 382.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1848, allocations: 220.6 kB / 382.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1849, allocations: 4 kB / 382.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002031/0.1851, allocations: 193.2 kB / 382.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1851, allocations: 9.562 kB / 382.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1851, allocations: 480 / 382.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1851, allocations: 15.94 kB / 382.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.1852, allocations: 67.89 kB / 382.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1853, allocations: 7.938 kB / 382.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1854, allocations: 27.84 kB / 382.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1854, allocations: 11.98 kB / 382.6 MB, free: 11.82 MB / 378.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 0.0001043/0.1855, allocations: 136.5 kB / 382.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.1855, allocations: 15.98 kB / 382.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/0.1862, allocations: 0.5068 MB / 383.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.1862, allocations: 11.92 kB / 383.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1862, allocations: 0 / 383.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1862, allocations: 3.984 kB / 383.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.1865, allocations: 290.6 kB / 383.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1865, allocations: 0 / 383.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/0.1866, allocations: 47.91 kB / 383.6 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.1866, allocations: 39.62 kB / 383.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1866, allocations: 0 / 383.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1866, allocations: 4 kB / 383.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1866, allocations: 3.938 kB / 383.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1866, allocations: 0 / 383.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1869, allocations: 335.5 kB / 384 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.1869, allocations: 31.72 kB / 384 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.187, allocations: 8 kB / 384 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.187, allocations: 19.91 kB / 384.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.187, allocations: 11.98 kB / 384.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1871, allocations: 156.7 kB / 384.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1871, allocations: 0 / 384.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002048/0.1892, allocations: 0.8538 MB / 385.1 MB, free: 9.312 MB / 378.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.002568/0.1918, allocations: 1.174 MB / 386.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.192, allocations: 138.4 kB / 386.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/0.192, allocations: 4 kB / 386.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.1921, allocations: 79.44 kB / 386.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.1928, allocations: 0.9392 MB / 387.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.1967, allocations: 0.7899 MB / 388.2 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.1968, allocations: 124.9 kB / 388.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.197, allocations: 124.1 kB / 388.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.1972, allocations: 161.2 kB / 388.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1972, allocations: 0 / 388.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of Templates: time 0.03378/0.231, allocations: 32.32 MB / 420.9 MB, free: 5.379 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.656009971164167]