Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001275/0.001275, 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.001439/0.001439, allocations: 169 kB / 24.14 MB, free: 364 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.9334/0.9334, allocations: 158.6 MB / 186 MB, free: 2.773 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.1554/0.1554, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.144e-05, allocations: 2.312 kB / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002074/0.002086, allocations: 1.643 MB / 300.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1543/0.1564, allocations: 1.093 MB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1564, allocations: 1 kB / 301.8 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1567, allocations: 29.88 kB / 301.8 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1569, allocations: 47.91 kB / 301.9 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1572, allocations: 149.6 kB / 302 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1574, allocations: 68.97 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1575, allocations: 16.09 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.1576, allocations: 35.5 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.1577, allocations: 23.64 kB / 302.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1577, allocations: 5.875 kB / 302.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1578, allocations: 51.78 kB / 302.2 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.1578, allocations: 12.5 kB / 302.2 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.1579, allocations: 23.53 kB / 302.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.158, allocations: 85.03 kB / 302.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.158, allocations: 0 / 302.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.158, allocations: 0.7812 kB / 302.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.158, allocations: 1.094 kB / 302.3 MB, free: 19.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003075/0.1583, allocations: 293.2 kB / 302.6 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1584, allocations: 9.75 kB / 302.6 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.1584, allocations: 7.141 kB / 302.6 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1585, allocations: 135.7 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-06/0.1585, allocations: 4.75 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1586, allocations: 5.109 kB / 302.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.1587, allocations: 100.7 kB / 302.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1587, allocations: 1.344 kB / 302.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1587, allocations: 5.781 kB / 302.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1587, allocations: 1.219 kB / 302.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.1587, allocations: 8.109 kB / 302.9 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.1589, allocations: 180.9 kB / 303.1 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.159, allocations: 32.73 kB / 303.1 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.159, allocations: 8.828 kB / 303.1 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.159, allocations: 0.8438 kB / 303.1 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.159, allocations: 36.72 kB / 303.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.159, allocations: 0.6562 kB / 303.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003332/0.1594, allocations: 103.6 kB / 303.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1594, allocations: 83.28 kB / 303.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.1595, allocations: 137.2 kB / 303.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.1595, allocations: 34.48 kB / 303.5 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.1595, allocations: 88.53 kB / 303.6 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1595, allocations: 22.42 kB / 303.6 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1596, allocations: 20.27 kB / 303.6 MB, free: 18.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.1596, allocations: 321.9 kB / 304 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.1596, allocations: 5.547 kB / 304 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.1597, allocations: 44.53 kB / 304 MB, free: 17.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.1597, allocations: 32.69 kB / 304 MB, free: 17.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1597, allocations: 1.125 kB / 304 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.16e-05/0.1598, allocations: 69.09 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1598, allocations: 7.719 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1598, allocations: 2.875 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.1598, allocations: 0.5156 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.1599, allocations: 15.44 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1599, allocations: 0 / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.1599, allocations: 6.094 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1599, allocations: 1.188 kB / 304.1 MB, free: 17.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 4.002e-05/0.16, allocations: 116.5 kB / 304.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.16, allocations: 10.94 kB / 304.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.1601, allocations: 68.25 kB / 304.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1601, allocations: 2.312 kB / 304.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1601, allocations: 2.406 kB / 304.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1601, allocations: 0.75 kB / 304.3 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1603, allocations: 224.5 kB / 304.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1603, allocations: 0 / 304.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.1603, allocations: 22.73 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1603, allocations: 0.9062 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.1603, allocations: 7.016 kB / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1603, allocations: 0 / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1603, allocations: 0 / 304.6 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.432e-05/0.1604, allocations: 152.4 kB / 304.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.1604, allocations: 5.953 kB / 304.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1604, allocations: 0.8125 kB / 304.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.1605, allocations: 10.39 kB / 304.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1605, allocations: 5.859 kB / 304.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1605, allocations: 1.062 kB / 304.8 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.1605, allocations: 28.11 kB / 304.8 MB, free: 17.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1605, allocations: 1.156 kB / 304.8 MB, free: 17.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.1607, allocations: 26.62 kB / 304.8 MB, free: 17.21 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001154/0.1618, allocations: 0.564 MB / 305.4 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.162, allocations: 32.7 kB / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.162, allocations: 1.188 kB / 305.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.162, allocations: 22.56 kB / 305.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.1621, allocations: 28.77 kB / 305.5 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.1625, allocations: 182.9 kB / 305.6 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.1625, allocations: 65.64 kB / 305.7 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.1626, allocations: 17.16 kB / 305.7 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.1626, allocations: 65.27 kB / 305.8 MB, free: 16.6 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1626, allocations: 0 / 305.8 MB, free: 16.6 MB / 282.7 MB Notification: Performance of Templates: time 0.00384/0.1665, allocations: 1.688 MB / 307.5 MB, free: 16.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.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: 2.9955562092363834]