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.002071/0.002071, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002187/0.002187, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.4046/0.4046, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 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 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.37e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0423/0.04233, allocations: 30.73 MB / 408 MB, free: 4.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02381/0.06615, allocations: 15.4 MB / 423.4 MB, free: 4.684 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004007/0.06655, allocations: 15.88 kB / 423.4 MB, free: 4.668 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007982/0.06735, allocations: 202.5 kB / 423.6 MB, free: 4.469 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.06818, allocations: 294.1 kB / 423.9 MB, free: 4.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01761/0.08579, allocations: 5.653 MB / 429.6 MB, free: 14.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.08717, allocations: 0.8263 MB / 430.4 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004083/0.08757, allocations: 204.9 kB / 430.6 MB, free: 13.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.102, allocations: 5.614 MB / 436.2 MB, free: 7.773 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.1024, allocations: 211.4 kB / 436.4 MB, free: 7.566 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.1025, allocations: 28 kB / 436.4 MB, free: 7.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/0.1175, allocations: 5.853 MB / 442.3 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003172/0.1178, allocations: 95.66 kB / 442.4 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.1183, allocations: 131.7 kB / 442.5 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2497/0.368, allocations: 4.65 MB / 447.2 MB, free: 58.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.368, allocations: 0 / 447.2 MB, free: 58.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.368, allocations: 3.281 kB / 447.2 MB, free: 58.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3681, allocations: 0 / 447.2 MB, free: 58.8 MB / 410.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.002539/0.3706, allocations: 1.056 MB / 448.2 MB, free: 58.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3706, allocations: 9.219 kB / 448.2 MB, free: 58.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/0.3716, allocations: 177.8 kB / 448.4 MB, free: 58.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.372, allocations: 290.9 kB / 448.7 MB, free: 57.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.372, allocations: 20.22 kB / 448.7 MB, free: 57.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.3721, allocations: 25.12 kB / 448.7 MB, free: 57.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.373, allocations: 0.6054 MB / 449.3 MB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.373, allocations: 6.75 kB / 449.3 MB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.373, allocations: 14.28 kB / 449.4 MB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3731, allocations: 5.469 kB / 449.4 MB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.374, allocations: 321.9 kB / 449.7 MB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.3764, allocations: 2.298 MB / 452 MB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.3772, allocations: 256 kB / 452.2 MB, free: 55.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.3774, allocations: 83.08 kB / 452.3 MB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.3777, allocations: 104.2 kB / 452.4 MB, free: 55.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3777, allocations: 36.17 kB / 452.4 MB, free: 55.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.836e-06/0.3777, allocations: 2.906 kB / 452.4 MB, free: 55.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001291/0.379, allocations: 406 kB / 452.8 MB, free: 55.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.379, allocations: 106.4 kB / 452.9 MB, free: 55.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.3793, allocations: 378.5 kB / 453.3 MB, free: 55.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3793, allocations: 27.2 kB / 453.3 MB, free: 55.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3795, allocations: 277 kB / 453.6 MB, free: 55.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3795, allocations: 45.86 kB / 453.7 MB, free: 55.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.3796, allocations: 69.33 kB / 453.7 MB, free: 55.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3797, allocations: 0.528 MB / 454.3 MB, free: 54.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.3799, allocations: 66.89 kB / 454.3 MB, free: 54.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3801, allocations: 295.3 kB / 454.6 MB, free: 54.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.3807, allocations: 297.2 kB / 454.9 MB, free: 54.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3807, allocations: 0.9062 kB / 454.9 MB, free: 54.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005605/0.3812, allocations: 293.2 kB / 455.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.3812, allocations: 8.953 kB / 455.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3813, allocations: 5.844 kB / 455.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3813, allocations: 7.125 kB / 455.2 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.3815, allocations: 56.28 kB / 455.3 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3815, allocations: 9.562 kB / 455.3 MB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.3817, allocations: 29 kB / 455.3 MB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.3817, allocations: 19.83 kB / 455.3 MB, free: 54.29 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 0.0001302/0.3818, allocations: 200.4 kB / 455.5 MB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3819, allocations: 31.53 kB / 455.5 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.3826, allocations: 0.5595 MB / 456.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.3827, allocations: 6.938 kB / 456.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3827, allocations: 2.656 kB / 456.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3827, allocations: 0 / 456.1 MB, free: 53.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.383, allocations: 442.1 kB / 456.5 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.383, allocations: 0 / 456.5 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.3832, allocations: 34.36 kB / 456.6 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3832, allocations: 0 / 456.6 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3832, allocations: 6.625 kB / 456.6 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3832, allocations: 0 / 456.6 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3832, allocations: 3.312 kB / 456.6 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.3838, allocations: 454.1 kB / 457 MB, free: 53.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.3838, allocations: 28.41 kB / 457.1 MB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.3839, allocations: 34.31 kB / 457.1 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.3841, allocations: 12.52 kB / 457.1 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.3841, allocations: 19.45 kB / 457.1 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3841, allocations: 9.438 kB / 457.1 MB, free: 53.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.3844, allocations: 359.9 kB / 457.5 MB, free: 53.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3844, allocations: 0 / 457.5 MB, free: 53.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003593/0.388, allocations: 0.8553 MB / 458.3 MB, free: 53.3 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.00392/0.3919, allocations: 1.101 MB / 459.4 MB, free: 53.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.3926, allocations: 222 kB / 459.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3926, allocations: 3.375 kB / 459.7 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3928, allocations: 110.6 kB / 459.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.3936, allocations: 166.1 kB / 459.9 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.3948, allocations: 0.7953 MB / 460.7 MB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.395, allocations: 237.5 kB / 461 MB, free: 52.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.3952, allocations: 138.6 kB / 461.1 MB, free: 52.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.3953, allocations: 37.91 kB / 461.1 MB, free: 52.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3953, allocations: 0 / 461.1 MB, free: 52.56 MB / 410.7 MB Notification: Performance of Templates: time 0.04576/0.4411, allocations: 33.91 MB / 495 MB, free: 46.39 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","/var/lib/jenkins/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: 7.624049823964015]