Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.001266/0.001266, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001334/0.001334, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9289/0.9289, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1322/0.1322, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.504e-05, allocations: 2.312 kB / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003396/0.003421, allocations: 1.62 MB / 300.7 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000742/0.004163, allocations: 331.3 kB / 301 MB, free: 244 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.004229, allocations: 4 kB / 301 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.004594, allocations: 99.67 kB / 301.1 MB, free: 140 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.004816, allocations: 67.73 kB / 301.2 MB, free: 72 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1503/0.1552, allocations: 86.42 kB / 301.3 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1554, allocations: 86.88 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.576e-05/0.1555, allocations: 17.77 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.1555, allocations: 46.17 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1556, allocations: 49.89 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1557, allocations: 3.688 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.1557, allocations: 37.23 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1558, allocations: 28.44 kB / 301.5 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1558, allocations: 14.62 kB / 301.5 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.156, allocations: 88.83 kB / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.156, allocations: 0 / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.156, allocations: 0.7969 kB / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.156, allocations: 0 / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002697/0.1562, allocations: 316.2 kB / 301.9 MB, free: 19.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1563, allocations: 9.75 kB / 302 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.1563, allocations: 11.83 kB / 302 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.897e-05/0.1564, allocations: 147.7 kB / 302.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1564, allocations: 2.719 kB / 302.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1564, allocations: 4.359 kB / 302.1 MB, free: 18.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/0.1565, allocations: 78.67 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1565, allocations: 2.156 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1565, allocations: 8.469 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1565, allocations: 1.094 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.1566, allocations: 11.97 kB / 302.2 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.1568, allocations: 264 kB / 302.5 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1569, allocations: 71.92 kB / 302.5 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.1569, allocations: 17.38 kB / 302.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1569, allocations: 2.766 kB / 302.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.157, allocations: 41.84 kB / 302.6 MB, free: 18.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.157, allocations: 0 / 302.6 MB, free: 18.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000291/0.1572, allocations: 132.6 kB / 302.7 MB, free: 18.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.1573, allocations: 83.36 kB / 302.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.1574, allocations: 183 kB / 303 MB, free: 18.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-06/0.1574, allocations: 25.7 kB / 303 MB, free: 18.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.1574, allocations: 96 kB / 303.1 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.1574, allocations: 36.7 kB / 303.1 MB, free: 18.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1574, allocations: 24.61 kB / 303.2 MB, free: 18.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.367e-05/0.1575, allocations: 324.6 kB / 303.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.1575, allocations: 7.781 kB / 303.5 MB, free: 17.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.1575, allocations: 23.97 kB / 303.5 MB, free: 17.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.1575, allocations: 48.92 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1575, allocations: 1.281 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.22e-05/0.1576, allocations: 69.89 kB / 303.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1576, allocations: 8.25 kB / 303.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1576, allocations: 2.781 kB / 303.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1576, allocations: 1 kB / 303.6 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.53e-05/0.1577, allocations: 17.95 kB / 303.7 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1577, allocations: 1.125 kB / 303.7 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.1577, allocations: 4.25 kB / 303.7 MB, free: 17.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-06/0.1577, allocations: 1.719 kB / 303.7 MB, free: 17.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 3.925e-05/0.1577, allocations: 117.7 kB / 303.8 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1578, allocations: 17.39 kB / 303.8 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1579, allocations: 86.98 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1579, allocations: 2.344 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1579, allocations: 0 / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1579, allocations: 1.641 kB / 303.9 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1581, allocations: 342.4 kB / 304.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1581, allocations: 1.656 kB / 304.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1582, allocations: 22.08 kB / 304.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1582, allocations: 4.312 kB / 304.3 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1582, allocations: 1.516 kB / 304.3 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1582, allocations: 1 kB / 304.3 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1582, allocations: 1.844 kB / 304.3 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.614e-05/0.1583, allocations: 251.6 kB / 304.5 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.1583, allocations: 8.844 kB / 304.5 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1583, allocations: 2.688 kB / 304.5 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.1583, allocations: 7.406 kB / 304.5 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.1584, allocations: 12.83 kB / 304.5 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1584, allocations: 2.656 kB / 304.5 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.1584, allocations: 64.77 kB / 304.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1584, allocations: 0 / 304.6 MB, free: 17.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.1586, allocations: 23.52 kB / 304.6 MB, free: 17 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.000929/0.1595, allocations: 0.5056 MB / 305.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.925e-05/0.1596, allocations: 49.41 kB / 305.2 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1596, allocations: 4.562 kB / 305.2 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.797e-05/0.1596, allocations: 29.59 kB / 305.2 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.1598, allocations: 23.53 kB / 305.2 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.1601, allocations: 249 kB / 305.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.47e-05/0.1602, allocations: 72.03 kB / 305.5 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.451e-05/0.1602, allocations: 8.984 kB / 305.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1602, allocations: 66.77 kB / 305.6 MB, free: 16.42 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1602, allocations: 4.062 kB / 305.6 MB, free: 16.41 MB / 282.7 MB Notification: Performance of Templates: time 0.003242/0.1635, allocations: 1.422 MB / 307 MB, free: 16.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.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: 3.072345355991274]