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.000966/0.000966, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004586/0.004586, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.9535/0.9535, allocations: 177.2 MB / 205 MB, free: 5.727 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.2866/0.2866, allocations: 34.26 MB / 295.7 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 1.573e-06/1.573e-06, allocations: 0 / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.75e-05, allocations: 2.281 kB / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2145/0.2145, allocations: 27.53 MB / 471 MB, free: 27.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009833/0.2244, allocations: 13.79 MB / 484.8 MB, free: 18.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/0.2246, allocations: 13.97 kB / 484.8 MB, free: 18.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.2252, allocations: 212.6 kB / 485 MB, free: 18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.2256, allocations: 289 kB / 485.3 MB, free: 17.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.2383, allocations: 5.668 MB / 490.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000865/0.2391, allocations: 0.8291 MB / 491.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.2394, allocations: 194.7 kB / 491.9 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006794/0.2462, allocations: 5.605 MB / 497.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.2466, allocations: 212.3 kB / 497.8 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.2467, allocations: 32.56 kB / 497.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009988/0.2567, allocations: 5.851 MB / 0.4918 GB, free: 10.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.2568, allocations: 89.7 kB / 0.4919 GB, free: 10.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.2571, allocations: 134.1 kB / 0.492 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.2675, allocations: 4.652 MB / 0.4966 GB, free: 8.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2675, allocations: 4.531 kB / 0.4966 GB, free: 8.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2675, allocations: 0 / 0.4966 GB, free: 8.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.2675, allocations: 4 kB / 0.4966 GB, free: 8.902 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.00312/0.2706, allocations: 0.9436 MB / 0.4975 GB, free: 8.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2706, allocations: 9.656 kB / 0.4975 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005505/0.2712, allocations: 117.4 kB / 0.4976 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.2716, allocations: 286.7 kB / 0.4979 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.2716, allocations: 24.34 kB / 0.4979 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2717, allocations: 24.25 kB / 0.498 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/0.2724, allocations: 0.5915 MB / 0.4985 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2724, allocations: 4.5 kB / 0.4985 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2724, allocations: 16.31 kB / 0.4986 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.2724, allocations: 5.656 kB / 0.4986 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.273, allocations: 373.2 kB / 0.4989 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.2745, allocations: 1.718 MB / 0.5006 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.2751, allocations: 268.2 kB / 0.5009 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.2753, allocations: 97.25 kB / 0.5009 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.2754, allocations: 92.05 kB / 0.501 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2755, allocations: 43.7 kB / 0.5011 GB, free: 5.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.2755, allocations: 1.188 kB / 0.5011 GB, free: 5.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000862/0.2763, allocations: 439.2 kB / 0.5015 GB, free: 5.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2764, allocations: 105.2 kB / 0.5016 GB, free: 5.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.2766, allocations: 281.2 kB / 0.5019 GB, free: 4.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2766, allocations: 26.58 kB / 0.5019 GB, free: 4.879 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.2767, allocations: 219.8 kB / 0.5021 GB, free: 4.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.2767, allocations: 45.62 kB / 0.5021 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.2767, allocations: 58.19 kB / 0.5022 GB, free: 4.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.2768, allocations: 341.1 kB / 0.5025 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.2769, allocations: 80.47 kB / 0.5026 GB, free: 4.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.2771, allocations: 255.7 kB / 0.5028 GB, free: 3.973 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2775, allocations: 286.5 kB / 0.5031 GB, free: 3.742 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2775, allocations: 4.844 kB / 0.5031 GB, free: 3.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004176/0.2779, allocations: 318 kB / 0.5034 GB, free: 3.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2779, allocations: 6.906 kB / 0.5034 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2779, allocations: 7.812 kB / 0.5034 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2779, allocations: 5.094 kB / 0.5034 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2781, allocations: 66.55 kB / 0.5035 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2781, allocations: 5.406 kB / 0.5035 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2782, allocations: 43.17 kB / 0.5036 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.2782, allocations: 14.19 kB / 0.5036 GB, free: 3.516 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.0001093/0.2783, allocations: 157.6 kB / 0.5037 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.2784, allocations: 28.11 kB / 0.5037 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.2791, allocations: 0.7763 MB / 0.5045 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2791, allocations: 6.266 kB / 0.5045 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2791, allocations: 4 kB / 0.5045 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2791, allocations: 8.969 kB / 0.5045 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.2794, allocations: 439.5 kB / 0.5049 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2794, allocations: 0 / 0.5049 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.2795, allocations: 45.11 kB / 0.505 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2795, allocations: 1.062 kB / 0.505 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2796, allocations: 5.094 kB / 0.505 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2796, allocations: 1.156 kB / 0.505 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2796, allocations: 0 / 0.505 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.28, allocations: 475.7 kB / 0.5054 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.28, allocations: 37.8 kB / 0.5055 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.2801, allocations: 29.33 kB / 0.5055 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.2802, allocations: 16.73 kB / 0.5055 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.2802, allocations: 18.75 kB / 0.5055 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.2802, allocations: 7.875 kB / 0.5055 GB, free: 2.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.2804, allocations: 306.4 kB / 0.5058 GB, free: 1.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2804, allocations: 3.938 kB / 0.5058 GB, free: 1.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003504/0.2839, allocations: 0.8585 MB / 0.5067 GB, free: 1.816 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.003432/0.2874, allocations: 1.102 MB / 0.5078 GB, free: 1.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.2879, allocations: 267.5 kB / 0.508 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2879, allocations: 1.25 kB / 0.508 GB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2881, allocations: 138.3 kB / 0.5081 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.2886, allocations: 145.6 kB / 0.5083 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2896, allocations: 0.8601 MB / 0.5091 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.2897, allocations: 237.5 kB / 0.5094 GB, free: 432 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.2898, allocations: 37.91 kB / 0.5094 GB, free: 416 kB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2898, allocations: 0 / 0.5094 GB, free: 416 kB / 410.7 MB Notification: Performance of Templates: time 0.02679/0.3166, allocations: 19.75 MB / 0.5287 GB, free: 14.18 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] 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: 6.333014036528766]