Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 110.9 kB / 17.74 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 188.5 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9874/0.9874, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 58.11 kB / 0.5715 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 80.71 MB / 0.6503 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002555/0.1567, allocations: 1.396 MB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000965/0.1577, allocations: 0.5675 MB / 0.6523 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.1578, allocations: 0 / 0.6523 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.1579, allocations: 15.92 kB / 0.6523 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.1582, allocations: 67.8 kB / 0.6523 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1585, allocations: 79.78 kB / 0.6524 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1586, allocations: 91.8 kB / 0.6525 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.1587, allocations: 4 kB / 0.6525 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1588, allocations: 51.81 kB / 0.6526 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.159, allocations: 43.84 kB / 0.6526 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.159, allocations: 8 kB / 0.6526 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1591, allocations: 75.92 kB / 0.6527 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1593, allocations: 63.81 kB / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.1593, allocations: 47.61 kB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1596, allocations: 151.5 kB / 0.6529 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1596, allocations: 4 kB / 0.6529 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1596, allocations: 3.938 kB / 0.6529 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1596, allocations: 0 / 0.6529 GB, free: 10.43 MB / 0.4983 GB 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.0005479/0.1602, allocations: 480.1 kB / 0.6534 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1602, allocations: 11.89 kB / 0.6534 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1603, allocations: 20.73 kB / 0.6534 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.1607, allocations: 316.7 kB / 0.6537 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1607, allocations: 384 / 0.6537 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1607, allocations: 8.375 kB / 0.6537 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1609, allocations: 50 kB / 0.6538 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1609, allocations: 0 / 0.6538 GB, free: 9.465 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1609, allocations: 4 kB / 0.6538 GB, free: 9.461 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1609, allocations: 0 / 0.6538 GB, free: 9.461 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.161, allocations: 23.98 kB / 0.6538 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.1612, allocations: 197.6 kB / 0.654 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.023e-05/0.1612, allocations: 42.52 kB / 0.654 GB, free: 9.145 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.1613, allocations: 36.89 kB / 0.6541 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.1613, allocations: 0 / 0.6541 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.1615, allocations: 97.03 kB / 0.6542 GB, free: 8.992 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/0.1615, allocations: 7.984 kB / 0.6542 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003074/0.1618, allocations: 171.2 kB / 0.6543 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1618, allocations: 81.11 kB / 0.6544 GB, free: 8.707 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.162, allocations: 232.2 kB / 0.6546 GB, free: 8.469 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1621, allocations: 33.7 kB / 0.6547 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.1621, allocations: 116.1 kB / 0.6548 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1622, allocations: 15.81 kB / 0.6548 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.1622, allocations: 29.7 kB / 0.6548 GB, free: 8.262 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1624, allocations: 326.8 kB / 0.6551 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.1624, allocations: 19.98 kB / 0.6552 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.1624, allocations: 16 kB / 0.6552 GB, free: 7.898 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1626, allocations: 108.3 kB / 0.6553 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1626, allocations: 7.938 kB / 0.6553 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001806/0.1628, allocations: 155 kB / 0.6554 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.1628, allocations: 41.69 kB / 0.6555 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1628, allocations: 0 / 0.6555 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1628, allocations: 0 / 0.6555 GB, free: 7.559 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.1629, allocations: 4 kB / 0.6555 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1629, allocations: 0 / 0.6555 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.1629, allocations: 7.938 kB / 0.6555 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.163, allocations: 8 kB / 0.6555 GB, free: 7.539 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001407/0.1631, allocations: 191.6 kB / 0.6557 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1632, allocations: 19.75 kB / 0.6557 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.1632, allocations: 17.41 kB / 0.6557 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1632, allocations: 4 kB / 0.6557 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1632, allocations: 0 / 0.6557 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1632, allocations: 3.984 kB / 0.6557 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1634, allocations: 209.5 kB / 0.6559 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1634, allocations: 0 / 0.6559 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.1634, allocations: 7.938 kB / 0.6559 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1634, allocations: 0 / 0.6559 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1634, allocations: 8 kB / 0.6559 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1634, allocations: 4 kB / 0.6559 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1635, allocations: 0 / 0.6559 GB, free: 7.023 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1637, allocations: 202.8 kB / 0.6561 GB, free: 6.801 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.1638, allocations: 104.8 kB / 0.6562 GB, free: 6.68 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1638, allocations: 4 kB / 0.6562 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.1639, allocations: 0 / 0.6562 GB, free: 6.676 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.1639, allocations: 11.92 kB / 0.6562 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1639, allocations: 12 kB / 0.6563 GB, free: 6.652 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001367/0.1641, allocations: 177.6 kB / 0.6564 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 0 / 0.6564 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002167/0.1643, allocations: 36 kB / 0.6565 GB, free: 6.445 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0001553/0.1644, allocations: 123.2 kB / 0.6566 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1647, allocations: 135.4 kB / 0.6567 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1647, allocations: 4 kB / 0.6567 GB, free: 6.168 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1648, allocations: 111.3 kB / 0.6568 GB, free: 6.047 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.165, allocations: 28.59 kB / 0.6568 GB, free: 6.016 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.1655, allocations: 317.3 kB / 0.6571 GB, free: 5.676 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1658, allocations: 0.7239 MB / 0.6579 GB, free: 4.926 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.1658, allocations: 15.44 kB / 0.6579 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of SimCode: time 2.3e-07/0.1658, allocations: 0 / 0.6579 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of Templates: time 0.003791/0.1696, allocations: 2.08 MB / 0.6599 GB, free: 2.832 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches