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.0008609/0.0008609, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00476/0.00476, allocations: 160.7 kB / 24.7 MB, free: 8.898 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 0.8915/0.8915, allocations: 177.1 MB / 205 MB, free: 5.734 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.2533/0.2533, allocations: 32.79 MB / 294.2 MB, free: 1.207 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 1.353e-06/1.353e-06, allocations: 3.938 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.657e-05, allocations: 3.969 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2507/0.2508, allocations: 27.52 MB / 468.4 MB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.2617, allocations: 13.8 MB / 482.2 MB, free: 21.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.2621, allocations: 18.09 kB / 482.2 MB, free: 21.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.2629, allocations: 199.7 kB / 482.4 MB, free: 20.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.2634, allocations: 287.5 kB / 482.7 MB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0147/0.2782, allocations: 5.676 MB / 488.3 MB, free: 18.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.2794, allocations: 0.8198 MB / 489.2 MB, free: 17.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.2798, allocations: 199.7 kB / 489.4 MB, free: 17.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008211/0.2881, allocations: 5.604 MB / 495 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.2885, allocations: 207.7 kB / 495.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.2885, allocations: 28.88 kB / 495.2 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.3011, allocations: 5.855 MB / 0.4893 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.3012, allocations: 93.38 kB / 0.4894 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.3015, allocations: 138.7 kB / 0.4895 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.3123, allocations: 4.643 MB / 0.4941 GB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3123, allocations: 1.438 kB / 0.4941 GB, free: 12.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3123, allocations: 0 / 0.4941 GB, free: 12.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3123, allocations: 0 / 0.4941 GB, free: 12.28 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.003371/0.3157, allocations: 0.9583 MB / 0.495 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3157, allocations: 9.625 kB / 0.495 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005716/0.3163, allocations: 113.4 kB / 0.4951 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.3167, allocations: 281.9 kB / 0.4954 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.3168, allocations: 24.88 kB / 0.4954 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3168, allocations: 24.66 kB / 0.4954 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.3175, allocations: 0.5933 MB / 0.496 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.3175, allocations: 6.125 kB / 0.496 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.3175, allocations: 20 kB / 0.496 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3176, allocations: 7.688 kB / 0.496 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006143/0.3182, allocations: 372.1 kB / 0.4964 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3198, allocations: 1.721 MB / 0.4981 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.3204, allocations: 262.8 kB / 0.4983 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3205, allocations: 97.62 kB / 0.4984 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.3207, allocations: 99.19 kB / 0.4985 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.3207, allocations: 33.41 kB / 0.4985 GB, free: 8.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3207, allocations: 0 / 0.4985 GB, free: 8.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009961/0.3217, allocations: 447.2 kB / 0.499 GB, free: 8.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3218, allocations: 105 kB / 0.4991 GB, free: 8.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.322, allocations: 282.5 kB / 0.4993 GB, free: 8.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.322, allocations: 26.77 kB / 0.4994 GB, free: 8.242 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3221, allocations: 219.7 kB / 0.4996 GB, free: 8.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3222, allocations: 41.11 kB / 0.4996 GB, free: 8.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.3222, allocations: 57.83 kB / 0.4997 GB, free: 7.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/0.3223, allocations: 338 kB / 0.5 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3224, allocations: 83.98 kB / 0.5001 GB, free: 7.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.3227, allocations: 254.4 kB / 0.5003 GB, free: 7.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.323, allocations: 283.6 kB / 0.5006 GB, free: 7.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.323, allocations: 1.312 kB / 0.5006 GB, free: 7.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004669/0.3235, allocations: 317.7 kB / 0.5009 GB, free: 6.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3235, allocations: 6.188 kB / 0.5009 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3235, allocations: 4.375 kB / 0.5009 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3235, allocations: 4.969 kB / 0.5009 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3237, allocations: 69.33 kB / 0.501 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.3237, allocations: 5.469 kB / 0.501 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3238, allocations: 40.11 kB / 0.501 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.3239, allocations: 24.31 kB / 0.501 GB, free: 6.883 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.0001271/0.324, allocations: 154.1 kB / 0.5012 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.324, allocations: 28.78 kB / 0.5012 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008937/0.3249, allocations: 0.7834 MB / 0.502 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3249, allocations: 9.531 kB / 0.502 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3249, allocations: 0 / 0.502 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3249, allocations: 8.953 kB / 0.502 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.3253, allocations: 439.4 kB / 0.5024 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3253, allocations: 1.125 kB / 0.5024 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3254, allocations: 44.3 kB / 0.5025 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3254, allocations: 1.312 kB / 0.5025 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3255, allocations: 1.094 kB / 0.5025 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3255, allocations: 5.141 kB / 0.5025 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3255, allocations: 0 / 0.5025 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.326, allocations: 474.5 kB / 0.5029 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.326, allocations: 40.47 kB / 0.503 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3261, allocations: 30.66 kB / 0.503 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.3262, allocations: 13.3 kB / 0.503 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.3262, allocations: 18.06 kB / 0.503 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3263, allocations: 11.95 kB / 0.503 GB, free: 5.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.3265, allocations: 306.3 kB / 0.5033 GB, free: 5.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3265, allocations: 0 / 0.5033 GB, free: 5.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004125/0.3306, allocations: 0.8594 MB / 0.5042 GB, free: 5.176 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.002746/0.3334, allocations: 1.103 MB / 0.5052 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004326/0.3338, allocations: 273.9 kB / 0.5055 GB, free: 4.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3338, allocations: 0 / 0.5055 GB, free: 4.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.334, allocations: 142.5 kB / 0.5056 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.3345, allocations: 133.7 kB / 0.5058 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009086/0.3354, allocations: 0.8586 MB / 0.5066 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.3355, allocations: 236.7 kB / 0.5068 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3356, allocations: 34.53 kB / 0.5069 GB, free: 3.766 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3356, allocations: 0 / 0.5069 GB, free: 3.766 MB / 410.7 MB Notification: Performance of Templates: time 0.02493/0.3605, allocations: 19.75 MB / 0.5261 GB, free: 2.32 MB / 426.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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: 6.961965319700539]