Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001186/0.001186, 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.006899/0.006899, allocations: 160.8 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.8942/0.8942, allocations: 177 MB / 204.9 MB, free: 5.73 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.242/0.242, 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.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.143e-05, allocations: 6.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.1601/0.1601, allocations: 1.652 MB / 445.1 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.1608, allocations: 0.5618 MB / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.1609, allocations: 0 / 445.7 MB, free: 43.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.1612, allocations: 464.5 kB / 446.1 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.1615, allocations: 294.9 kB / 446.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1618, allocations: 176.6 kB / 446.6 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.162, allocations: 178.6 kB / 446.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1621, allocations: 13.08 kB / 446.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.1622, allocations: 126.7 kB / 446.9 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1624, allocations: 249.3 kB / 447.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1624, allocations: 2.875 kB / 447.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1624, allocations: 36.19 kB / 447.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.1625, allocations: 86.12 kB / 447.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.1625, allocations: 44.08 kB / 447.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1628, allocations: 245.1 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1628, allocations: 0 / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1628, allocations: 0 / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1628, allocations: 7.031 kB / 447.5 MB, free: 43.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004552/0.1632, allocations: 0.5835 MB / 448.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1633, allocations: 8.812 kB / 448.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1633, allocations: 44.62 kB / 448.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1635, allocations: 247.9 kB / 448.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1635, allocations: 384 / 448.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1635, allocations: 3.281 kB / 448.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1636, allocations: 62.61 kB / 448.5 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1636, allocations: 6.766 kB / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1636, allocations: 384 / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1636, allocations: 3.625 kB / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.1637, allocations: 45.55 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.164, allocations: 339.4 kB / 448.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.1641, allocations: 46.55 kB / 448.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.1642, allocations: 27.23 kB / 448.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1642, allocations: 4 kB / 448.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.1642, allocations: 37.38 kB / 449 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1642, allocations: 0 / 449 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005012/0.1647, allocations: 329.9 kB / 449.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.1647, allocations: 51.41 kB / 449.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.1651, allocations: 0.8584 MB / 450.2 MB, free: 41.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.1652, allocations: 32.77 kB / 450.2 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.1652, allocations: 215.6 kB / 450.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1653, allocations: 22.2 kB / 450.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.1653, allocations: 19.97 kB / 450.5 MB, free: 41.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.1653, allocations: 361 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.1654, allocations: 48.69 kB / 450.9 MB, free: 40.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.162e-05/0.1654, allocations: 37.86 kB / 450.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1656, allocations: 87.02 kB / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1656, allocations: 2.844 kB / 451 MB, free: 40.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001548/0.1657, allocations: 158.9 kB / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1657, allocations: 9.75 kB / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1657, allocations: 0 / 451.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1657, allocations: 3.938 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.1658, allocations: 26.31 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1658, allocations: 3.469 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.1659, allocations: 5.875 kB / 451.2 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1659, allocations: 6.172 kB / 451.2 MB, free: 40.75 MB / 410.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 9.94e-05/0.166, allocations: 211.9 kB / 451.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.166, allocations: 51.48 kB / 451.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.1662, allocations: 187.6 kB / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1662, allocations: 3.812 kB / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1662, allocations: 0 / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1662, allocations: 0 / 451.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.1665, allocations: 460.5 kB / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1665, allocations: 7.234 kB / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.1666, allocations: 18.09 kB / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1666, allocations: 0 / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1666, allocations: 6.844 kB / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1666, allocations: 0 / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1666, allocations: 0 / 452.1 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1668, allocations: 258.7 kB / 452.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.1668, allocations: 34.97 kB / 452.4 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1668, allocations: 8 kB / 452.4 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.289e-05/0.1669, allocations: 8.844 kB / 452.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1669, allocations: 9.062 kB / 452.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1669, allocations: 2.625 kB / 452.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003079/0.1672, allocations: 0.6537 MB / 453.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1672, allocations: 3.938 kB / 453.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.1674, allocations: 35.64 kB / 453.2 MB, free: 39.73 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: 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.0006662/0.168, allocations: 422.2 kB / 453.6 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1682, allocations: 99.41 kB / 453.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1682, allocations: 0 / 453.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.794e-05/0.1683, allocations: 38.84 kB / 453.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1686, allocations: 32.66 kB / 453.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.1693, allocations: 0.8671 MB / 454.6 MB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.1694, allocations: 226.8 kB / 454.8 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1695, allocations: 27.98 kB / 454.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.1695, allocations: 0 / 454.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of Templates: time 0.004043/0.1735, allocations: 4.084 MB / 458.9 MB, free: 38.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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: 4.84439432900399]