Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005405/0.005405, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9377/0.9377, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.28/0.28, allocations: 34.24 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.217e-05, allocations: 6.219 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2553/0.2553, allocations: 27.52 MB / 470.9 MB, free: 27.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2659, allocations: 13.81 MB / 484.7 MB, free: 18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002536/0.2661, allocations: 14.19 kB / 484.8 MB, free: 17.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.2667, allocations: 207.6 kB / 485 MB, free: 17.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.2672, allocations: 293.3 kB / 485.2 MB, free: 17.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01294/0.2801, allocations: 5.672 MB / 490.9 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009968/0.2811, allocations: 0.8203 MB / 491.7 MB, free: 14.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.2815, allocations: 193.1 kB / 491.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008204/0.2897, allocations: 5.615 MB / 497.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.2904, allocations: 204.1 kB / 497.7 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.2904, allocations: 28.94 kB / 497.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/0.3031, allocations: 5.854 MB / 0.4918 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.3033, allocations: 94.62 kB / 0.4919 GB, free: 10.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.3037, allocations: 129.5 kB / 0.492 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.3181, allocations: 4.657 MB / 0.4966 GB, free: 8.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.3182, allocations: 5.469 kB / 0.4966 GB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3182, allocations: 0 / 0.4966 GB, free: 8.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3182, allocations: 0.8438 kB / 0.4966 GB, free: 8.777 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.004197/0.3224, allocations: 0.9346 MB / 0.4975 GB, free: 8.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.3224, allocations: 9.344 kB / 0.4975 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.3231, allocations: 126.7 kB / 0.4976 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.3236, allocations: 282.8 kB / 0.4979 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3236, allocations: 19.62 kB / 0.4979 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.3236, allocations: 29.42 kB / 0.4979 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.3244, allocations: 0.5913 MB / 0.4985 GB, free: 7.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3244, allocations: 5.781 kB / 0.4985 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3244, allocations: 16.97 kB / 0.4985 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.3244, allocations: 6.75 kB / 0.4986 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.3251, allocations: 364.3 kB / 0.4989 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.3269, allocations: 1.726 MB / 0.5006 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.3276, allocations: 271 kB / 0.5008 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3277, allocations: 88.92 kB / 0.5009 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.3279, allocations: 99.28 kB / 0.501 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.3279, allocations: 32.84 kB / 0.5011 GB, free: 5.336 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.3279, allocations: 0 / 0.5011 GB, free: 5.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009754/0.3289, allocations: 451.6 kB / 0.5015 GB, free: 5.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.329, allocations: 104 kB / 0.5016 GB, free: 4.984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3292, allocations: 286.7 kB / 0.5019 GB, free: 4.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3292, allocations: 28.64 kB / 0.5019 GB, free: 4.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.3293, allocations: 215.5 kB / 0.5021 GB, free: 4.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3293, allocations: 45.25 kB / 0.5021 GB, free: 4.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.3294, allocations: 58.03 kB / 0.5022 GB, free: 4.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.3295, allocations: 337.4 kB / 0.5025 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3296, allocations: 84.38 kB / 0.5026 GB, free: 4.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3299, allocations: 263.9 kB / 0.5028 GB, free: 3.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3303, allocations: 273.6 kB / 0.5031 GB, free: 3.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3303, allocations: 1.031 kB / 0.5031 GB, free: 3.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004512/0.3307, allocations: 326.9 kB / 0.5034 GB, free: 3.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3307, allocations: 5.656 kB / 0.5034 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3307, allocations: 3.969 kB / 0.5034 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.3308, allocations: 6.031 kB / 0.5034 GB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3309, allocations: 64.52 kB / 0.5035 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3309, allocations: 9.453 kB / 0.5035 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3311, allocations: 40.2 kB / 0.5035 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3311, allocations: 10.97 kB / 0.5035 GB, free: 3.395 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.3312, allocations: 165.7 kB / 0.5037 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3312, allocations: 23.3 kB / 0.5037 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007632/0.332, allocations: 0.7841 MB / 0.5045 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.332, allocations: 11.39 kB / 0.5045 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.332, allocations: 0 / 0.5045 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.332, allocations: 0 / 0.5045 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.3324, allocations: 439.9 kB / 0.5049 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3324, allocations: 1.062 kB / 0.5049 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3325, allocations: 40.11 kB / 0.505 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3325, allocations: 1.219 kB / 0.505 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3325, allocations: 1.281 kB / 0.505 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3325, allocations: 4.906 kB / 0.505 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3325, allocations: 0.5625 kB / 0.505 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.333, allocations: 476.2 kB / 0.5054 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.333, allocations: 37.23 kB / 0.5055 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.333, allocations: 30.59 kB / 0.5055 GB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.3331, allocations: 23.22 kB / 0.5055 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3332, allocations: 18.5 kB / 0.5055 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.3332, allocations: 4.281 kB / 0.5055 GB, free: 2.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000248/0.3335, allocations: 305 kB / 0.5058 GB, free: 1.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3335, allocations: 0 / 0.5058 GB, free: 1.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004393/0.3378, allocations: 0.8598 MB / 0.5067 GB, free: 1.691 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.004301/0.3421, allocations: 1.1 MB / 0.5077 GB, free: 1.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006466/0.3428, allocations: 269 kB / 0.508 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3428, allocations: 0 / 0.508 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.343, allocations: 148.4 kB / 0.5081 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006331/0.3436, allocations: 138.9 kB / 0.5083 GB, free: 1.016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3449, allocations: 0.8483 MB / 0.5091 GB, free: 464 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3451, allocations: 238.1 kB / 0.5093 GB, free: 308 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.3452, allocations: 33.64 kB / 0.5094 GB, free: 296 kB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3452, allocations: 0 / 0.5094 GB, free: 296 kB / 410.7 MB Notification: Performance of Templates: time 0.03046/0.3756, allocations: 19.76 MB / 0.5287 GB, free: 14.07 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.107414576224983]