Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.001631/0.001631, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001914/0.001914, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.503/1.503, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2301/0.2301, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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.002242/0.002242, allocations: 79.86 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1453, allocations: 65.98 MB / 0.5568 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003195/0.1485, allocations: 1.625 MB / 0.5584 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1495, allocations: 0.5371 MB / 0.5589 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.1496, allocations: 4 kB / 0.5589 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1499, allocations: 79.7 kB / 0.559 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1502, allocations: 111.6 kB / 0.5591 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1505, allocations: 87.14 kB / 0.5592 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1507, allocations: 91.73 kB / 0.5593 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1508, allocations: 8 kB / 0.5593 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.91e-05/0.1508, allocations: 35.91 kB / 0.5593 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.151, allocations: 67.73 kB / 0.5594 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.151, allocations: 0 / 0.5594 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1511, allocations: 51.92 kB / 0.5594 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1511, allocations: 23.91 kB / 0.5595 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.1512, allocations: 27.75 kB / 0.5595 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1514, allocations: 107.6 kB / 0.5596 GB, free: 3.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1514, allocations: 4 kB / 0.5596 GB, free: 3.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1514, allocations: 0 / 0.5596 GB, free: 3.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1514, allocations: 0 / 0.5596 GB, free: 3.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005577/0.152, allocations: 414.7 kB / 0.56 GB, free: 2.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.152, allocations: 8.031 kB / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1521, allocations: 16.84 kB / 0.56 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1523, allocations: 204.8 kB / 0.5602 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1523, allocations: 4.375 kB / 0.5602 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1523, allocations: 384 / 0.5602 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1525, allocations: 62.23 kB / 0.5603 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1525, allocations: 4.125 kB / 0.5603 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1525, allocations: 3.938 kB / 0.5603 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1525, allocations: 3.984 kB / 0.5603 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1526, allocations: 27.97 kB / 0.5603 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.153, allocations: 300.7 kB / 0.5606 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1531, allocations: 38.56 kB / 0.5606 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.1532, allocations: 16.95 kB / 0.5607 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1532, allocations: 3.984 kB / 0.5607 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1532, allocations: 38.56 kB / 0.5607 GB, free: 1.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1532, allocations: 0 / 0.5607 GB, free: 1.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009118/0.1542, allocations: 229.3 kB / 0.5609 GB, free: 1.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1542, allocations: 51.41 kB / 0.561 GB, free: 1.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1544, allocations: 206.4 kB / 0.5612 GB, free: 1.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1544, allocations: 25.7 kB / 0.5612 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.1545, allocations: 116 kB / 0.5613 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.1546, allocations: 27.8 kB / 0.5613 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.1546, allocations: 21.72 kB / 0.5613 GB, free: 1.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1547, allocations: 326.8 kB / 0.5617 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.1548, allocations: 23.98 kB / 0.5617 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.1549, allocations: 27.97 kB / 0.5617 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.155, allocations: 65.05 kB / 0.5618 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.155, allocations: 0 / 0.5618 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002105/0.1553, allocations: 109.5 kB / 0.5619 GB, free: 492 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1553, allocations: 8 kB / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1553, allocations: 0 / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1553, allocations: 0 / 0.5619 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.1554, allocations: 19.98 kB / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.1554, allocations: 0 / 0.5619 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.1554, allocations: 7.984 kB / 0.5619 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1555, allocations: 0 / 0.5619 GB, free: 456 kB / 414.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 (8): * Single equations (assignments): 8 * 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.0001214/0.1556, allocations: 137.7 kB / 0.562 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.1556, allocations: 11.91 kB / 0.5621 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.1559, allocations: 115 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1559, allocations: 4 kB / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1559, allocations: 0 / 0.5622 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1559, allocations: 3.984 kB / 0.5622 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.1565, allocations: 415.2 kB / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1565, allocations: 0 / 0.5626 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.1566, allocations: 15.98 kB / 0.5626 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1566, allocations: 4 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1566, allocations: 3.938 kB / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1566, allocations: 0 / 0.5626 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1566, allocations: 3.938 kB / 0.5626 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1568, allocations: 208.3 kB / 0.5628 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.1569, allocations: 89.02 kB / 0.5629 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1569, allocations: 7.938 kB / 0.5629 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.157, allocations: 4.422 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.157, allocations: 7.984 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.157, allocations: 4 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1572, allocations: 172.2 kB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1572, allocations: 0 / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1574, allocations: 19.98 kB / 0.5631 GB, free: 15.12 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 (8): * Single equations (assignments): 8 * 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.001668/0.1591, allocations: 463.7 kB / 0.5635 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1593, allocations: 59.91 kB / 0.5636 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1594, allocations: 0 / 0.5636 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.528e-05/0.1594, allocations: 39.91 kB / 0.5636 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1598, allocations: 15.98 kB / 0.5636 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.1604, allocations: 284.4 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1607, allocations: 0.7119 MB / 0.5646 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.1608, allocations: 15.44 kB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1608, allocations: 0 / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of Templates: time 0.003975/0.1647, allocations: 1.778 MB / 0.5664 GB, free: 11.89 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.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: 8.010954306926578]