Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001264/0.001264, allocations: 118.2 kB / 19.17 MB, free: 3.852 MB / 14.72 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.001629/0.001629, allocations: 205 kB / 22.12 MB, free: 0.9062 MB / 14.72 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.519/1.519, allocations: 230.3 MB / 255.2 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2603/0.2603, allocations: 46.92 MB / 358.2 MB, free: 10.41 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-beta.om/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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002645/0.002645, allocations: 84.14 kB / 0.4925 GB, free: 7.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.162, allocations: 66 MB / 0.557 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00346/0.1655, allocations: 1.667 MB / 0.5586 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1666, allocations: 0.5528 MB / 0.5592 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.419e-05/0.1667, allocations: 0 / 0.5592 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.167, allocations: 95.67 kB / 0.5593 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1673, allocations: 119.6 kB / 0.5594 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1676, allocations: 114.8 kB / 0.5595 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1678, allocations: 99.73 kB / 0.5596 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.168, allocations: 27.92 kB / 0.5596 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.168, allocations: 43.78 kB / 0.5596 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1682, allocations: 75.73 kB / 0.5597 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1682, allocations: 8 kB / 0.5597 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.1683, allocations: 47.97 kB / 0.5598 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.1683, allocations: 27.92 kB / 0.5598 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.723e-05/0.1684, allocations: 43.67 kB / 0.5598 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1686, allocations: 135.3 kB / 0.56 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1686, allocations: 0 / 0.56 GB, free: 2.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1686, allocations: 0 / 0.56 GB, free: 2.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.1686, allocations: 0 / 0.56 GB, free: 2.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005929/0.1692, allocations: 438.5 kB / 0.5604 GB, free: 1.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1693, allocations: 16.03 kB / 0.5604 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.1693, allocations: 12.84 kB / 0.5604 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1696, allocations: 208.2 kB / 0.5606 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1696, allocations: 4.359 kB / 0.5606 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1696, allocations: 12.38 kB / 0.5606 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1698, allocations: 70.17 kB / 0.5607 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1698, allocations: 4.141 kB / 0.5607 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1698, allocations: 3.938 kB / 0.5607 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1699, allocations: 4 kB / 0.5607 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.17, allocations: 47.95 kB / 0.5607 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.1705, allocations: 348.7 kB / 0.5611 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1707, allocations: 66.55 kB / 0.5611 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1707, allocations: 20.84 kB / 0.5612 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1707, allocations: 8 kB / 0.5612 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1708, allocations: 34.56 kB / 0.5612 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1708, allocations: 3.938 kB / 0.5612 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001157/0.1719, allocations: 341.6 kB / 0.5615 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.172, allocations: 59.34 kB / 0.5616 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1722, allocations: 239.4 kB / 0.5618 GB, free: 336 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1722, allocations: 25.7 kB / 0.5618 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.1723, allocations: 116.1 kB / 0.562 GB, free: 184 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.1724, allocations: 39.64 kB / 0.562 GB, free: 144 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.1724, allocations: 29.72 kB / 0.562 GB, free: 108 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1726, allocations: 322.8 kB / 0.5623 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1727, allocations: 47.97 kB / 0.5624 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1728, allocations: 43.97 kB / 0.5624 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.173, allocations: 116.3 kB / 0.5625 GB, free: 15.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.173, allocations: 0 / 0.5625 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002981/0.1733, allocations: 153.6 kB / 0.5627 GB, free: 15.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1733, allocations: 8 kB / 0.5627 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1733, allocations: 7.938 kB / 0.5627 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1734, allocations: 0 / 0.5627 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1735, allocations: 27.98 kB / 0.5627 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1735, allocations: 7.938 kB / 0.5627 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1735, allocations: 3.984 kB / 0.5627 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1736, allocations: 4 kB / 0.5627 GB, free: 15.36 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001296/0.1737, allocations: 141.8 kB / 0.5629 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.1737, allocations: 11.91 kB / 0.5629 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.1741, allocations: 191 kB / 0.5631 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1741, allocations: 4 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1741, allocations: 3.938 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1741, allocations: 3.984 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.1749, allocations: 0.4952 MB / 0.5636 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1749, allocations: 11.97 kB / 0.5636 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.175, allocations: 23.98 kB / 0.5636 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.175, allocations: 4 kB / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.175, allocations: 0 / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.175, allocations: 4 kB / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.175, allocations: 0 / 0.5636 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.1753, allocations: 260.2 kB / 0.5638 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.1754, allocations: 97 kB / 0.5639 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1754, allocations: 4 kB / 0.5639 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.1755, allocations: 4 kB / 0.5639 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.1756, allocations: 11.98 kB / 0.564 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1756, allocations: 4 kB / 0.564 GB, free: 13.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1757, allocations: 181.2 kB / 0.5641 GB, free: 13.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1757, allocations: 0 / 0.5641 GB, free: 13.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.176, allocations: 27.94 kB / 0.5642 GB, free: 13.79 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001699/0.1777, allocations: 449.5 kB / 0.5646 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.178, allocations: 111.9 kB / 0.5647 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.178, allocations: 0 / 0.5647 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1781, allocations: 59.91 kB / 0.5648 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1786, allocations: 27.67 kB / 0.5648 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.1793, allocations: 361.3 kB / 0.5651 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1796, allocations: 0.7225 MB / 0.5658 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.1797, allocations: 23.42 kB / 0.5658 GB, free: 12.15 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1797, allocations: 4 kB / 0.5659 GB, free: 12.14 MB / 430.1 MB Notification: Performance of Templates: time 0.004817/0.1845, allocations: 2.171 MB / 0.568 GB, free: 9.969 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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: 7.749780564001412]