Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001817/0.001817, allocations: 116.2 kB / 18.45 MB, free: 4.613 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.002199/0.002198, allocations: 205 kB / 21.4 MB, free: 1.668 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.6/1.6, allocations: 227.4 MB / 251.6 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] 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.2407/0.2407, allocations: 46.17 MB / 351.1 MB, free: 14.31 MB / 286.1 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 82.62 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1517, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.00385/0.1556, allocations: 1.6 MB / 0.5413 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1578, allocations: 1.155 MB / 0.5424 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.677e-05/0.1579, allocations: 0 / 0.5424 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1582, allocations: 31.78 kB / 0.5424 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1586, allocations: 79.62 kB / 0.5425 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1589, allocations: 93.94 kB / 0.5426 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1591, allocations: 75.7 kB / 0.5427 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1592, allocations: 15.92 kB / 0.5427 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.1593, allocations: 27.92 kB / 0.5427 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1595, allocations: 27.84 kB / 0.5427 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1595, allocations: 4 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.1597, allocations: 107.9 kB / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.1598, allocations: 15.92 kB / 0.5428 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1598, allocations: 19.88 kB / 0.5429 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1601, allocations: 143.5 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1601, allocations: 0 / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1601, allocations: 4 kB / 0.543 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1601, allocations: 0 / 0.543 GB, free: 0.8477 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005726/0.1607, allocations: 394.8 kB / 0.5434 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1608, allocations: 12.03 kB / 0.5434 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.1608, allocations: 8.891 kB / 0.5434 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.161, allocations: 197.6 kB / 0.5436 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.161, allocations: 4.312 kB / 0.5436 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1611, allocations: 4.375 kB / 0.5436 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1612, allocations: 71.89 kB / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1613, allocations: 192 / 0.5437 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1613, allocations: 3.938 kB / 0.5437 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1613, allocations: 0 / 0.5437 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.1614, allocations: 19.98 kB / 0.5437 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.1619, allocations: 273 kB / 0.544 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1621, allocations: 50.44 kB / 0.544 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.1622, allocations: 16.86 kB / 0.544 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1622, allocations: 0 / 0.544 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1622, allocations: 34.64 kB / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1622, allocations: 0 / 0.544 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006527/0.1629, allocations: 149.6 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.163, allocations: 81.11 kB / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1632, allocations: 147.7 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1632, allocations: 25.7 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.1633, allocations: 96.12 kB / 0.5445 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1633, allocations: 11.86 kB / 0.5445 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1634, allocations: 21.7 kB / 0.5446 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1635, allocations: 326.8 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.1636, allocations: 15.98 kB / 0.5449 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.1637, allocations: 33.7 kB / 0.5449 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1638, allocations: 48.95 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1638, allocations: 4 kB / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001783/0.164, allocations: 85.64 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1641, allocations: 11.94 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1641, allocations: 0 / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1641, allocations: 0 / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.1641, allocations: 11.98 kB / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1642, allocations: 0 / 0.5451 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.1642, allocations: 11.92 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1642, allocations: 4 kB / 0.5451 GB, free: 14.47 MB / 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 (5): * Single equations (assignments): 5 * 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.0001097/0.1643, allocations: 129.7 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.1644, allocations: 7.953 kB / 0.5452 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1646, allocations: 85.91 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1646, allocations: 7.984 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1647, allocations: 0 / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1647, allocations: 0 / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1651, allocations: 358.4 kB / 0.5456 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1651, allocations: 0 / 0.5456 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/0.1652, allocations: 11.98 kB / 0.5457 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1652, allocations: 0 / 0.5457 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1652, allocations: 4 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1652, allocations: 0 / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.1652, allocations: 3.938 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1655, allocations: 183.7 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.1655, allocations: 81.06 kB / 0.5459 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1656, allocations: 4 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1656, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.1657, allocations: 19.86 kB / 0.5459 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.1657, allocations: 0 / 0.5459 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1658, allocations: 117.6 kB / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 0 / 0.5461 GB, free: 13.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1661, allocations: 35.88 kB / 0.5461 GB, free: 13.34 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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.00177/0.1678, allocations: 489.1 kB / 0.5466 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1681, allocations: 43.97 kB / 0.5466 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1681, allocations: 0 / 0.5466 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.1682, allocations: 27.92 kB / 0.5466 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1685, allocations: 19.36 kB / 0.5466 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.169, allocations: 173.4 kB / 0.5468 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1693, allocations: 0.6885 MB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.267e-05/0.1694, allocations: 15.77 kB / 0.5475 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.1694, allocations: 19.42 kB / 0.5475 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1694, allocations: 0 / 0.5475 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Templates: time 0.005093/0.1745, allocations: 1.746 MB / 0.5492 GB, free: 10.24 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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: 5.329121130518615]