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.0009656/0.0009656, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.000931/0.000931, allocations: 162 kB / 24.99 MB, free: 8.746 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.9699/0.9699, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.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.2777/0.2777, allocations: 34.25 MB / 296.1 MB, free: 0.6953 MB / 266.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.795e-06/2.795e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.519e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02448/0.02452, allocations: 30.82 MB / 408.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.03979, allocations: 15.4 MB / 424.2 MB, free: 4.566 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.04007, allocations: 19.88 kB / 424.3 MB, free: 4.547 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.0407, allocations: 198.6 kB / 424.5 MB, free: 4.352 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.04124, allocations: 286.1 kB / 424.7 MB, free: 4.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.05329, allocations: 5.661 MB / 430.4 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.0541, allocations: 0.8301 MB / 431.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.05443, allocations: 197 kB / 431.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009294/0.06372, allocations: 5.61 MB / 437 MB, free: 7.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.06401, allocations: 215.3 kB / 437.2 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.06406, allocations: 28 kB / 437.3 MB, free: 7.422 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009112/0.07317, allocations: 5.853 MB / 443.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.0733, allocations: 95.66 kB / 443.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.07344, allocations: 127.7 kB / 443.3 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2149/0.2883, allocations: 4.505 MB / 447.8 MB, free: 58.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2883, allocations: 4.828 kB / 447.8 MB, free: 58.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2883, allocations: 0 / 447.8 MB, free: 58.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.2883, allocations: 0 / 447.8 MB, free: 58.69 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.002183/0.2905, allocations: 1.031 MB / 448.9 MB, free: 58.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2906, allocations: 14.73 kB / 448.9 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006326/0.2912, allocations: 177.9 kB / 449.1 MB, free: 58.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.2916, allocations: 289.6 kB / 449.4 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2916, allocations: 23.69 kB / 449.4 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.2916, allocations: 24.66 kB / 449.4 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.2923, allocations: 0.5884 MB / 450 MB, free: 57.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2923, allocations: 9.312 kB / 450 MB, free: 57.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.2924, allocations: 16.81 kB / 450 MB, free: 57.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2924, allocations: 8.344 kB / 450 MB, free: 57.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.2928, allocations: 253.3 kB / 450.3 MB, free: 57.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2946, allocations: 2.197 MB / 452.5 MB, free: 55.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.2951, allocations: 237.9 kB / 452.7 MB, free: 55.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.2952, allocations: 38.94 kB / 452.7 MB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.2954, allocations: 99.81 kB / 452.8 MB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2954, allocations: 38.34 kB / 452.9 MB, free: 55.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.2954, allocations: 1.75 kB / 452.9 MB, free: 55.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007473/0.2962, allocations: 334.3 kB / 453.2 MB, free: 55.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2962, allocations: 107.3 kB / 453.3 MB, free: 55.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.2964, allocations: 317.6 kB / 453.6 MB, free: 55.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2965, allocations: 31.02 kB / 453.6 MB, free: 55.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.2966, allocations: 260.2 kB / 453.9 MB, free: 55.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2966, allocations: 50.05 kB / 453.9 MB, free: 55.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.2967, allocations: 69.33 kB / 454 MB, free: 55.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2968, allocations: 0.5105 MB / 454.5 MB, free: 54.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.2969, allocations: 41.11 kB / 454.6 MB, free: 54.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.297, allocations: 267.2 kB / 454.8 MB, free: 54.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.2972, allocations: 252.2 kB / 455.1 MB, free: 54.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2972, allocations: 0 / 455.1 MB, free: 54.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002998/0.2975, allocations: 252 kB / 455.3 MB, free: 54.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2976, allocations: 5.906 kB / 455.3 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2976, allocations: 7.156 kB / 455.3 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2976, allocations: 3.25 kB / 455.3 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2977, allocations: 58.95 kB / 455.4 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2977, allocations: 13.28 kB / 455.4 MB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.2978, allocations: 30.27 kB / 455.4 MB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2978, allocations: 14.75 kB / 455.4 MB, free: 54.17 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 8.914e-05/0.2979, allocations: 180.7 kB / 455.6 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.2979, allocations: 33.33 kB / 455.7 MB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.2984, allocations: 0.5134 MB / 456.2 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.2984, allocations: 12.69 kB / 456.2 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2984, allocations: 0 / 456.2 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2984, allocations: 0 / 456.2 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.2987, allocations: 402.6 kB / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2987, allocations: 3.656 kB / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.2988, allocations: 31.73 kB / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2988, allocations: 0 / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2988, allocations: 8.891 kB / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2988, allocations: 3.188 kB / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2988, allocations: 3.969 kB / 456.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.2991, allocations: 412.8 kB / 457 MB, free: 53.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.2991, allocations: 31.94 kB / 457.1 MB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2992, allocations: 27.61 kB / 457.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.2993, allocations: 12.41 kB / 457.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.2993, allocations: 14.95 kB / 457.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2993, allocations: 9.375 kB / 457.1 MB, free: 53.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.2995, allocations: 305.3 kB / 457.4 MB, free: 53.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2995, allocations: 0 / 457.4 MB, free: 53.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002616/0.3021, allocations: 0.8561 MB / 458.3 MB, free: 53.18 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.002538/0.3047, allocations: 1.104 MB / 459.4 MB, free: 52.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002828/0.305, allocations: 157.2 kB / 459.5 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.305, allocations: 4.391 kB / 459.5 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.873e-05/0.3051, allocations: 77.41 kB / 459.6 MB, free: 52.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3055, allocations: 164 kB / 459.8 MB, free: 52.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3067, allocations: 0.793 MB / 460.6 MB, free: 52.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.3067, allocations: 116.6 kB / 460.7 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.3069, allocations: 135.9 kB / 460.8 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.307, allocations: 32.42 kB / 460.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.307, allocations: 0 / 460.8 MB, free: 52.45 MB / 410.7 MB Notification: Performance of Templates: time 0.03682/0.3438, allocations: 33.92 MB / 494.8 MB, free: 46.48 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","",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.598415223881602]