Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 46.92 MB / 357.1 MB, free: 10.3 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 0.4914 GB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1516, allocations: 66 MB / 0.5559 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003585/0.1552, allocations: 1.599 MB / 0.5574 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1563, allocations: 0.5455 MB / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.1564, allocations: 0 / 0.558 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1566, allocations: 31.78 kB / 0.558 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.157, allocations: 71.69 kB / 0.5581 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1573, allocations: 107.7 kB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1574, allocations: 75.77 kB / 0.5582 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1576, allocations: 11.98 kB / 0.5583 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1576, allocations: 19.94 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.1577, allocations: 23.84 kB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1577, allocations: 4 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-05/0.1578, allocations: 31.98 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.1579, allocations: 15.92 kB / 0.5583 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.1579, allocations: 27.75 kB / 0.5584 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1581, allocations: 79.66 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1581, allocations: 0 / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1581, allocations: 8 kB / 0.5585 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1581, allocations: 0 / 0.5585 GB, free: 2.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006097/0.1587, allocations: 383 kB / 0.5588 GB, free: 2.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1588, allocations: 8.031 kB / 0.5588 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.1588, allocations: 8.891 kB / 0.5588 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.159, allocations: 192.2 kB / 0.559 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.1591, allocations: 4.375 kB / 0.559 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.1591, allocations: 384 / 0.559 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1593, allocations: 61.75 kB / 0.5591 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1593, allocations: 3.984 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1593, allocations: 3.938 kB / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1593, allocations: 0 / 0.5591 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1594, allocations: 23.98 kB / 0.5591 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1598, allocations: 280.9 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.16, allocations: 54.48 kB / 0.5594 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.1601, allocations: 16.95 kB / 0.5595 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.1601, allocations: 11.95 kB / 0.5595 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1602, allocations: 30.56 kB / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1602, allocations: 0 / 0.5595 GB, free: 1.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006157/0.1608, allocations: 153.4 kB / 0.5596 GB, free: 1.277 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1608, allocations: 55.41 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.161, allocations: 147.7 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.161, allocations: 25.7 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1611, allocations: 100.1 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1611, allocations: 15.86 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1612, allocations: 21.7 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1614, allocations: 318.8 kB / 0.5603 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.1615, allocations: 23.98 kB / 0.5603 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.382e-05/0.1615, allocations: 23.97 kB / 0.5603 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1617, allocations: 56.77 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1617, allocations: 0 / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002135/0.1619, allocations: 85.61 kB / 0.5605 GB, free: 372 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.162, allocations: 8 kB / 0.5605 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.162, allocations: 4 kB / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.162, allocations: 0 / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.1621, allocations: 8 kB / 0.5605 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1621, allocations: 4 kB / 0.5605 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1621, allocations: 3.984 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1621, allocations: 4 kB / 0.5605 GB, free: 340 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 (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.0001059/0.1622, allocations: 123.9 kB / 0.5606 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.1623, allocations: 7.953 kB / 0.5606 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.1625, allocations: 105.9 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1625, allocations: 0 / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1625, allocations: 320 / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1625, allocations: 0 / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.1631, allocations: 358.4 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1631, allocations: 0 / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.1631, allocations: 19.98 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1631, allocations: 0 / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1631, allocations: 4 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1632, allocations: 3.938 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1632, allocations: 0 / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1634, allocations: 183.4 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.1635, allocations: 85.06 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1635, allocations: 7.984 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.1636, allocations: 7.938 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1636, allocations: 4 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1636, allocations: 4 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.958e-05/0.1637, allocations: 116.4 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1637, allocations: 0 / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.164, allocations: 19.94 kB / 0.5615 GB, free: 15.2 MB / 430.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.001568/0.1655, allocations: 413.6 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1658, allocations: 55.95 kB / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1658, allocations: 0 / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.1659, allocations: 31.86 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1662, allocations: 11.98 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.1667, allocations: 186.1 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.167, allocations: 0.7002 MB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.1671, allocations: 19.75 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1671, allocations: 15.44 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1671, allocations: 0 / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of Templates: time 0.004391/0.1715, allocations: 1.139 MB / 0.564 GB, free: 12.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.388979326933622]