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.001308/0.001308, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001651/0.001651, allocations: 166.2 kB / 24.99 MB, free: 9.289 MB / 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.3091/0.3091, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.885e-05, allocations: 2.312 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02591/0.02594, allocations: 30.82 MB / 406.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.04229, allocations: 15.4 MB / 422.2 MB, free: 6.609 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.04271, allocations: 15.88 kB / 422.2 MB, free: 6.594 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.04341, allocations: 198.6 kB / 422.4 MB, free: 6.398 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.04406, allocations: 294.1 kB / 422.7 MB, free: 6.109 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01453/0.0586, allocations: 5.661 MB / 428.4 MB, free: 440 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.05979, allocations: 0.8224 MB / 429.2 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.06014, allocations: 205 kB / 429.4 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009896/0.07004, allocations: 5.618 MB / 435 MB, free: 9.695 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005097/0.07055, allocations: 215.3 kB / 435.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.07062, allocations: 28 kB / 435.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01078/0.0814, allocations: 5.849 MB / 441.1 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.08158, allocations: 95.66 kB / 441.2 MB, free: 3.508 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.08181, allocations: 131.7 kB / 441.3 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1989/0.2807, allocations: 4.499 MB / 445.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.2808, allocations: 0 / 445.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2808, allocations: 1.422 kB / 445.8 MB, free: 60.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.2808, allocations: 0 / 445.8 MB, free: 60.93 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.002426/0.2832, allocations: 1.036 MB / 446.9 MB, free: 60.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2832, allocations: 12.38 kB / 446.9 MB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006519/0.2839, allocations: 174 kB / 447 MB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.2843, allocations: 295.5 kB / 447.3 MB, free: 60.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.2843, allocations: 21.97 kB / 447.4 MB, free: 60.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.2843, allocations: 30.09 kB / 447.4 MB, free: 60.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.285, allocations: 0.5843 MB / 448 MB, free: 59.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.285, allocations: 6.062 kB / 448 MB, free: 59.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.285, allocations: 17.09 kB / 448 MB, free: 59.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.285, allocations: 9.141 kB / 448 MB, free: 59.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.2855, allocations: 255.6 kB / 448.2 MB, free: 59.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.287, allocations: 2.203 MB / 450.4 MB, free: 58.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.2876, allocations: 226 kB / 450.7 MB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.2876, allocations: 44.73 kB / 450.7 MB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/0.2878, allocations: 97.3 kB / 450.8 MB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2878, allocations: 41.61 kB / 450.8 MB, free: 58.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.2878, allocations: 0 / 450.8 MB, free: 58.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006989/0.2885, allocations: 329.5 kB / 451.2 MB, free: 58.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.2886, allocations: 110.3 kB / 451.3 MB, free: 57.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2888, allocations: 318.3 kB / 451.6 MB, free: 57.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2888, allocations: 29.27 kB / 451.6 MB, free: 57.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2889, allocations: 268.5 kB / 451.9 MB, free: 57.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.2889, allocations: 40.8 kB / 451.9 MB, free: 57.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.289, allocations: 64.19 kB / 452 MB, free: 57.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2891, allocations: 0.5093 MB / 452.5 MB, free: 56.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.2892, allocations: 43.28 kB / 452.5 MB, free: 56.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.2893, allocations: 266.2 kB / 452.8 MB, free: 56.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.2895, allocations: 253.9 kB / 453 MB, free: 56.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2895, allocations: 0 / 453 MB, free: 56.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003231/0.2899, allocations: 254 kB / 453.3 MB, free: 56.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2899, allocations: 5.656 kB / 453.3 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.2899, allocations: 6.062 kB / 453.3 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.2899, allocations: 6.625 kB / 453.3 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2901, allocations: 56.05 kB / 453.4 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.2901, allocations: 9.531 kB / 453.4 MB, free: 56.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2902, allocations: 34.36 kB / 453.4 MB, free: 56.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.2902, allocations: 16.03 kB / 453.4 MB, free: 56.42 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.0001102/0.2903, allocations: 173.9 kB / 453.6 MB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2904, allocations: 29.94 kB / 453.6 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/0.2909, allocations: 0.5282 MB / 454.1 MB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2909, allocations: 11.19 kB / 454.2 MB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2909, allocations: 0 / 454.2 MB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2909, allocations: 0 / 454.2 MB, free: 56.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.2912, allocations: 406.8 kB / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2913, allocations: 1 kB / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.395e-05/0.2913, allocations: 35.16 kB / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2913, allocations: 0 / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.2913, allocations: 3 kB / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2913, allocations: 1.406 kB / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2913, allocations: 0 / 454.6 MB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.2917, allocations: 411.2 kB / 455 MB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.2917, allocations: 32.31 kB / 455 MB, free: 55.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2917, allocations: 32.56 kB / 455.1 MB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.2918, allocations: 6.938 kB / 455.1 MB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.2919, allocations: 19.89 kB / 455.1 MB, free: 55.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.2919, allocations: 5.625 kB / 455.1 MB, free: 55.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.2921, allocations: 311.2 kB / 455.4 MB, free: 55.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.2921, allocations: 1.188 kB / 455.4 MB, free: 55.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003161/0.2953, allocations: 0.8564 MB / 456.3 MB, free: 55.43 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.004411/0.2997, allocations: 1.094 MB / 457.3 MB, free: 55.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004319/0.3001, allocations: 170.2 kB / 457.5 MB, free: 55.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3001, allocations: 0 / 457.5 MB, free: 55.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3002, allocations: 80.69 kB / 457.6 MB, free: 55.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.3008, allocations: 162.2 kB / 457.8 MB, free: 55.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3023, allocations: 0.7859 MB / 458.5 MB, free: 54.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.904e-05/0.3024, allocations: 114.1 kB / 458.6 MB, free: 54.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000244/0.3026, allocations: 135 kB / 458.8 MB, free: 54.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.3027, allocations: 33.67 kB / 458.8 MB, free: 54.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3027, allocations: 4 kB / 458.8 MB, free: 54.71 MB / 410.7 MB Notification: Performance of Templates: time 0.04924/0.352, allocations: 33.91 MB / 492.7 MB, free: 49.49 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.732492623152211]