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.001948/0.001948, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002148/0.002148, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.66/1.66, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.4244/0.4244, allocations: 34.26 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.615e-06/2.615e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.209e-05/4.47e-05, allocations: 3.859 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.07879/0.07883, allocations: 30.72 MB / 407.9 MB, free: 4.062 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04563/0.1245, allocations: 15.42 MB / 423.3 MB, free: 4.59 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008507/0.1253, allocations: 19.81 kB / 423.4 MB, free: 4.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.1269, allocations: 202.5 kB / 423.6 MB, free: 4.371 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001585/0.1285, allocations: 278.2 kB / 423.8 MB, free: 4.098 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03169/0.1602, allocations: 5.661 MB / 429.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002309/0.1625, allocations: 0.8263 MB / 430.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000744/0.1632, allocations: 205 kB / 430.5 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01892/0.1821, allocations: 5.61 MB / 436.1 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.1829, allocations: 207.4 kB / 436.3 MB, free: 7.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.183, allocations: 28 kB / 436.4 MB, free: 7.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01349/0.1965, allocations: 5.857 MB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1967, allocations: 99.66 kB / 442.3 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.1971, allocations: 131.7 kB / 442.4 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.239/0.4361, allocations: 4.656 MB / 447.1 MB, free: 58.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4361, allocations: 0 / 447.1 MB, free: 58.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4361, allocations: 0 / 447.1 MB, free: 58.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.4361, allocations: 0 / 447.1 MB, free: 58.75 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.00224/0.4384, allocations: 1.053 MB / 448.2 MB, free: 58.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4384, allocations: 8.531 kB / 448.2 MB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.4393, allocations: 177.3 kB / 448.3 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.4398, allocations: 296.6 kB / 448.6 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.4398, allocations: 23.19 kB / 448.6 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.4399, allocations: 25 kB / 448.7 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008873/0.4407, allocations: 0.6032 MB / 449.3 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4408, allocations: 384 / 449.3 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.4408, allocations: 17.66 kB / 449.3 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4408, allocations: 8.594 kB / 449.3 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.4415, allocations: 322 kB / 449.6 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.444, allocations: 2.298 MB / 451.9 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.4447, allocations: 250.5 kB / 452.2 MB, free: 55.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4449, allocations: 84.03 kB / 452.2 MB, free: 55.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.4452, allocations: 101.6 kB / 452.3 MB, free: 55.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.4452, allocations: 38.77 kB / 452.4 MB, free: 55.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.4452, allocations: 1.844 kB / 452.4 MB, free: 55.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001298/0.4465, allocations: 400.3 kB / 452.8 MB, free: 55.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4465, allocations: 112.4 kB / 452.9 MB, free: 55.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4468, allocations: 374.5 kB / 453.2 MB, free: 55.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.4468, allocations: 29.64 kB / 453.3 MB, free: 55.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4469, allocations: 275.3 kB / 453.5 MB, free: 55.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.447, allocations: 44.47 kB / 453.6 MB, free: 55.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.4471, allocations: 74.33 kB / 453.7 MB, free: 55.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4472, allocations: 0.5232 MB / 454.2 MB, free: 54.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.4473, allocations: 73.02 kB / 454.3 MB, free: 54.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.4476, allocations: 293.8 kB / 454.5 MB, free: 54.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.448, allocations: 297.5 kB / 454.8 MB, free: 54.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.448, allocations: 0.9688 kB / 454.8 MB, free: 54.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005383/0.4485, allocations: 295.5 kB / 455.1 MB, free: 54.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4486, allocations: 9.062 kB / 455.1 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4486, allocations: 2.562 kB / 455.1 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4486, allocations: 5 kB / 455.1 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.4488, allocations: 62.33 kB / 455.2 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4488, allocations: 5.594 kB / 455.2 MB, free: 54.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.449, allocations: 31.41 kB / 455.2 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.449, allocations: 15.16 kB / 455.2 MB, free: 54.23 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.0001244/0.4491, allocations: 203.3 kB / 455.4 MB, free: 54.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.4492, allocations: 34.41 kB / 455.5 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.4499, allocations: 0.5492 MB / 456 MB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4499, allocations: 13.58 kB / 456 MB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4499, allocations: 0 / 456 MB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4499, allocations: 0 / 456 MB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.4503, allocations: 448 kB / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4503, allocations: 0 / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4505, allocations: 36.39 kB / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4505, allocations: 2.969 kB / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.4505, allocations: 1.969 kB / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4505, allocations: 0 / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4505, allocations: 4.516 kB / 456.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.451, allocations: 455.1 kB / 457 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.451, allocations: 35.48 kB / 457 MB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.4511, allocations: 28.45 kB / 457 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.4513, allocations: 8.812 kB / 457 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.4513, allocations: 18.78 kB / 457.1 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.4514, allocations: 5.594 kB / 457.1 MB, free: 53.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002706/0.4516, allocations: 362.8 kB / 457.4 MB, free: 53.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4516, allocations: 1.531 kB / 457.4 MB, free: 53.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002801/0.4544, allocations: 0.8546 MB / 458.3 MB, free: 53.24 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.003617/0.458, allocations: 1.096 MB / 459.4 MB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.4586, allocations: 223.8 kB / 459.6 MB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4586, allocations: 0 / 459.6 MB, free: 53.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.4588, allocations: 115.8 kB / 459.7 MB, free: 53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000818/0.4597, allocations: 167.2 kB / 459.9 MB, free: 52.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4607, allocations: 0.7964 MB / 460.7 MB, free: 52.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.4609, allocations: 242.8 kB / 460.9 MB, free: 52.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.4611, allocations: 131 kB / 461 MB, free: 52.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.4612, allocations: 30.28 kB / 461.1 MB, free: 52.5 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4612, allocations: 1.422 kB / 461.1 MB, free: 52.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04566/0.5069, allocations: 33.91 MB / 495 MB, free: 46.27 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] 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.832906141062267]