Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.002204/0.002204, allocations: 118 kB / 18.46 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.003299/0.003299, allocations: 207.4 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.533/1.533, allocations: 227.4 MB / 251.6 MB, free: 15.92 MB / 206.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.2414/0.2414, allocations: 46.17 MB / 351.1 MB, free: 14.28 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.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 83.56 kB / 490.3 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1451, allocations: 62.46 MB / 0.5398 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003714/0.1489, allocations: 1.724 MB / 0.5415 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1511, allocations: 1.02 MB / 0.5425 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1512, allocations: 4 kB / 0.5425 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.1516, allocations: 39.77 kB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1521, allocations: 99.47 kB / 0.5426 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1524, allocations: 75.73 kB / 0.5427 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1526, allocations: 99.69 kB / 0.5428 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1528, allocations: 20 kB / 0.5428 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1529, allocations: 43.77 kB / 0.5428 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.153, allocations: 35.8 kB / 0.5429 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.153, allocations: 4 kB / 0.5429 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1531, allocations: 43.98 kB / 0.5429 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.1532, allocations: 19.91 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.1533, allocations: 39.67 kB / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1536, allocations: 123.4 kB / 0.5431 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1536, allocations: 0 / 0.5431 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1536, allocations: 0 / 0.5431 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1536, allocations: 0 / 0.5431 GB, free: 0.7734 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007625/0.1544, allocations: 434.6 kB / 0.5435 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1545, allocations: 8.031 kB / 0.5435 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1545, allocations: 8.891 kB / 0.5435 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.155, allocations: 212.8 kB / 0.5437 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.155, allocations: 4.375 kB / 0.5437 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.1551, allocations: 4.375 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1553, allocations: 57.92 kB / 0.5438 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1553, allocations: 4 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1554, allocations: 8 kB / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1554, allocations: 0 / 0.5438 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.1555, allocations: 19.98 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.156, allocations: 280.9 kB / 0.5441 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1562, allocations: 62.61 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.1562, allocations: 20.86 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1563, allocations: 0 / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1565, allocations: 75.38 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1565, allocations: 0 / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006161/0.1571, allocations: 173.3 kB / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.1572, allocations: 51.41 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1574, allocations: 199.6 kB / 0.5446 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1575, allocations: 29.69 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.1575, allocations: 96.14 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.1576, allocations: 27.83 kB / 0.5448 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.1577, allocations: 25.72 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002902/0.158, allocations: 326.8 kB / 0.5451 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.158, allocations: 23.98 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.1581, allocations: 41.64 kB / 0.5452 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.1583, allocations: 57.7 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.1583, allocations: 0 / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.1585, allocations: 109.5 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1586, allocations: 5.875 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1586, allocations: 4.188 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1586, allocations: 0 / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1587, allocations: 19.92 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.1587, allocations: 4.031 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1588, allocations: 4 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1588, allocations: 4 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001463/0.159, allocations: 135.1 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.159, allocations: 15.89 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.1591, allocations: 17.41 kB / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1591, allocations: 0 / 0.5455 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1591, allocations: 3.984 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1591, allocations: 4 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.1597, allocations: 399.2 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1597, allocations: 0 / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1597, allocations: 8 kB / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1597, allocations: 0 / 0.5459 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1598, allocations: 11.98 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1598, allocations: 3.938 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1598, allocations: 0 / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.1601, allocations: 200.7 kB / 0.5461 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.1602, allocations: 89.02 kB / 0.5462 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1602, allocations: 4 kB / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.421e-05/0.1603, allocations: 15.92 kB / 0.5462 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.1604, allocations: 7.984 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1604, allocations: 4 kB / 0.5462 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1606, allocations: 156.2 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1606, allocations: 0 / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1608, allocations: 23.98 kB / 0.5464 GB, free: 13 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001857/0.1627, allocations: 456 kB / 0.5469 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1629, allocations: 51.92 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.163, allocations: 0 / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1631, allocations: 31.98 kB / 0.5469 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1635, allocations: 30.72 kB / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.1641, allocations: 234.6 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1645, allocations: 0.7081 MB / 0.5479 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.1646, allocations: 12.88 kB / 0.5479 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1646, allocations: 15.44 kB / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1646, allocations: 0 / 0.5479 GB, free: 11.57 MB / 414.1 MB Notification: Performance of Templates: time 0.005836/0.1705, allocations: 1.734 MB / 0.5496 GB, free: 9.855 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.210456559434533]