Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.00126/0.00126, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001472/0.001472, allocations: 209.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2427/0.2427, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 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.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4078, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003634/0.4115, allocations: 1.815 MB / 0.5636 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.4133, allocations: 0.9674 MB / 0.5646 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.4134, allocations: 4 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.4136, allocations: 63.73 kB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.414, allocations: 119.4 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.4145, allocations: 167.3 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.4148, allocations: 195.4 kB / 0.5651 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4149, allocations: 17.73 kB / 0.5651 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.415, allocations: 87.67 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.4152, allocations: 103.6 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.4153, allocations: 16 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4154, allocations: 47.92 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4155, allocations: 39.89 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.201e-05/0.4156, allocations: 67.64 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.4159, allocations: 181.7 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4159, allocations: 4 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4159, allocations: 0 / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4159, allocations: 0 / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001169/0.4171, allocations: 0.4966 MB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4171, allocations: 16.03 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.4172, allocations: 28.78 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.4175, allocations: 166.2 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4175, allocations: 8.375 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.4175, allocations: 8.125 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.418, allocations: 145.4 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.418, allocations: 3.938 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4181, allocations: 8 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4181, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.4188, allocations: 159.8 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.4193, allocations: 288.3 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.4201, allocations: 190.4 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.4205, allocations: 92.7 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.4205, allocations: 3.938 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006265/0.4211, allocations: 167.2 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.4211, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00374/0.4249, allocations: 0.8127 MB / 0.5681 GB, free: 13.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.4249, allocations: 63.39 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.4252, allocations: 243.8 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.4253, allocations: 33.69 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4254, allocations: 124.1 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.4254, allocations: 47.69 kB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.4255, allocations: 29.7 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4257, allocations: 330.8 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.4264, allocations: 227.2 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/0.4272, allocations: 219.2 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.4285, allocations: 362.2 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4285, allocations: 0 / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001557/0.4301, allocations: 0.5077 MB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/0.4301, allocations: 66.2 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4301, allocations: 4 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.4302, allocations: 4.109 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.4306, allocations: 71.84 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4306, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.431, allocations: 71.84 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.4311, allocations: 11.98 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001702/0.4312, allocations: 129.8 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.4313, allocations: 19.86 kB / 0.5706 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.4328, allocations: 407.2 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4328, allocations: 8 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4328, allocations: 0 / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4328, allocations: 3.938 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.4346, allocations: 0.619 MB / 0.5716 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4346, allocations: 0 / 0.5716 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.435, allocations: 75.84 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.435, allocations: 3.984 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.435, allocations: 3.984 kB / 0.5717 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.435, allocations: 3.938 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.435, allocations: 4 kB / 0.5717 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.4365, allocations: 490.6 kB / 0.5722 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.4365, allocations: 15.91 kB / 0.5722 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.4366, allocations: 0 / 0.5722 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.437, allocations: 67.84 kB / 0.5722 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.4372, allocations: 43.92 kB / 0.5723 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.4372, allocations: 8 kB / 0.5723 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.4374, allocations: 184.6 kB / 0.5725 GB, free: 8.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4374, allocations: 0 / 0.5725 GB, free: 8.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.4377, allocations: 47.98 kB / 0.5725 GB, free: 8.887 MB / 414.1 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 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001696/0.4394, allocations: 430.5 kB / 0.5729 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.441, allocations: 0.5095 MB / 0.5734 GB, free: 8.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.441, allocations: 4 kB / 0.5734 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007312/0.4417, allocations: 175.7 kB / 0.5736 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4422, allocations: 33.84 kB / 0.5736 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.4433, allocations: 380.4 kB / 0.574 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4434, allocations: 115.9 kB / 0.5741 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.4435, allocations: 23.42 kB / 0.5741 GB, free: 7.328 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4435, allocations: 0 / 0.5741 GB, free: 7.328 MB / 414.1 MB Notification: Performance of Templates: time 0.006127/0.4496, allocations: 3.266 MB / 0.5773 GB, free: 4.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.110319731000345]