Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001832/0.001832, allocations: 116.3 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.002298/0.002298, 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.443/1.443, allocations: 230.3 MB / 255.2 MB, free: 15.2 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.2563/0.2563, 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30") [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.002355/0.002355, allocations: 83.88 kB / 0.4925 GB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1483, allocations: 66 MB / 0.557 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.00334/0.1517, allocations: 1.689 MB / 0.5586 GB, free: 3.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1528, allocations: 0.58 MB / 0.5592 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.1529, allocations: 3.938 kB / 0.5592 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1533, allocations: 79.75 kB / 0.5593 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1536, allocations: 103.6 kB / 0.5594 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.154, allocations: 174.7 kB / 0.5596 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1542, allocations: 87.81 kB / 0.5596 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1543, allocations: 28.14 kB / 0.5597 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.1544, allocations: 43.84 kB / 0.5597 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1545, allocations: 59.75 kB / 0.5598 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1545, allocations: 4 kB / 0.5598 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1547, allocations: 55.97 kB / 0.5598 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.1547, allocations: 27.91 kB / 0.5598 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1548, allocations: 31.75 kB / 0.5599 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.155, allocations: 127.4 kB / 0.56 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.155, allocations: 0 / 0.56 GB, free: 2.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.155, allocations: 4 kB / 0.56 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.155, allocations: 0 / 0.56 GB, free: 2.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007305/0.1557, allocations: 426.7 kB / 0.5604 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1558, allocations: 11.97 kB / 0.5604 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.1559, allocations: 8.891 kB / 0.5604 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1562, allocations: 216 kB / 0.5606 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1562, allocations: 8.375 kB / 0.5606 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1562, allocations: 4.375 kB / 0.5607 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1564, allocations: 74.16 kB / 0.5607 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1565, allocations: 192 / 0.5607 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.1565, allocations: 7.938 kB / 0.5607 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1565, allocations: 0 / 0.5607 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1566, allocations: 39.95 kB / 0.5608 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.1573, allocations: 332.7 kB / 0.5611 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1575, allocations: 62.55 kB / 0.5611 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.1576, allocations: 24.97 kB / 0.5612 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1576, allocations: 0 / 0.5612 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1576, allocations: 34.56 kB / 0.5612 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1576, allocations: 0 / 0.5612 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001599/0.1592, allocations: 440.9 kB / 0.5616 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1593, allocations: 51.41 kB / 0.5617 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.1595, allocations: 218.3 kB / 0.5619 GB, free: 280 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1596, allocations: 25.7 kB / 0.5619 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1597, allocations: 104.1 kB / 0.562 GB, free: 140 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1597, allocations: 43.67 kB / 0.562 GB, free: 96 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.1598, allocations: 33.64 kB / 0.5621 GB, free: 56 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.16, allocations: 322.8 kB / 0.5624 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1601, allocations: 55.95 kB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1603, allocations: 51.97 kB / 0.5625 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1606, allocations: 124.8 kB / 0.5626 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1606, allocations: 0 / 0.5626 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003703/0.161, allocations: 173.4 kB / 0.5628 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.161, allocations: 8 kB / 0.5628 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.161, allocations: 0 / 0.5628 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.161, allocations: 0 / 0.5628 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1611, allocations: 31.97 kB / 0.5628 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1611, allocations: 0 / 0.5628 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.1612, allocations: 15.92 kB / 0.5628 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1612, allocations: 0 / 0.5628 GB, free: 15.27 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 (11): * Single equations (assignments): 11 * 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.0001187/0.1613, allocations: 137.8 kB / 0.563 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1614, allocations: 11.91 kB / 0.563 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.1618, allocations: 195.4 kB / 0.5632 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1618, allocations: 4 kB / 0.5632 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1618, allocations: 0 / 0.5632 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1618, allocations: 7.922 kB / 0.5632 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.1626, allocations: 0.4999 MB / 0.5637 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1626, allocations: 4 kB / 0.5637 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1627, allocations: 31.91 kB / 0.5637 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1627, allocations: 4 kB / 0.5637 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1627, allocations: 4 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1628, allocations: 3.938 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1628, allocations: 4 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.1632, allocations: 273.7 kB / 0.564 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1632, allocations: 89 kB / 0.564 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1633, allocations: 0 / 0.564 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.1634, allocations: 11.98 kB / 0.5641 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.1634, allocations: 11.98 kB / 0.5641 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1634, allocations: 8 kB / 0.5641 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1636, allocations: 164.2 kB / 0.5642 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1636, allocations: 3.938 kB / 0.5642 GB, free: 13.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1638, allocations: 24 kB / 0.5643 GB, free: 13.67 MB / 430.1 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 (11): * Single equations (assignments): 11 * 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.00174/0.1656, allocations: 460.8 kB / 0.5647 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003736/0.166, allocations: 123.8 kB / 0.5648 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.166, allocations: 0 / 0.5648 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1661, allocations: 72.02 kB / 0.5649 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1665, allocations: 26.72 kB / 0.5649 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.1673, allocations: 358.2 kB / 0.5653 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.1677, allocations: 0.7197 MB / 0.566 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.1678, allocations: 23.38 kB / 0.566 GB, free: 12 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1678, allocations: 0 / 0.566 GB, free: 12 MB / 430.1 MB Notification: Performance of Templates: time 0.004634/0.1724, allocations: 2.125 MB / 0.5681 GB, free: 9.879 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test30.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.636313940005493]