Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.2 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7609/0.7609, allocations: 119.3 MB / 460.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 55.91 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 80.69 MB / 0.6179 GB, free: 12.72 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002771/0.1318, allocations: 1.641 MB / 0.6195 GB, free: 11.07 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1331, allocations: 0.8731 MB / 0.6204 GB, free: 10.19 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.1332, allocations: 0 / 0.6204 GB, free: 10.19 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007653/0.134, allocations: 0.9005 MB / 0.6213 GB, free: 9.285 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.1345, allocations: 0.5107 MB / 0.6217 GB, free: 8.773 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1348, allocations: 91.77 kB / 0.6218 GB, free: 8.684 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000795/0.1356, allocations: 1.158 MB / 0.623 GB, free: 7.523 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1356, allocations: 4 kB / 0.623 GB, free: 7.52 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.1361, allocations: 0.5809 MB / 0.6235 GB, free: 6.938 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.1368, allocations: 0.9788 MB / 0.6245 GB, free: 5.957 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.137, allocations: 64 kB / 0.6246 GB, free: 5.895 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.1372, allocations: 91.97 kB / 0.6246 GB, free: 5.805 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.1391, allocations: 2.505 MB / 0.6271 GB, free: 3.293 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0009575/0.1401, allocations: 1.439 MB / 0.6285 GB, free: 1.84 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.1421, allocations: 3.046 MB / 0.6315 GB, free: 14.78 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1421, allocations: 4 kB / 0.6315 GB, free: 14.77 MB / 458.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1421, allocations: 0 / 0.6315 GB, free: 14.77 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.891e-05/0.1421, allocations: 0 / 0.6315 GB, free: 14.77 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005128/0.1473, allocations: 5.175 MB / 0.6365 GB, free: 9.508 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1473, allocations: 8.031 kB / 0.6365 GB, free: 9.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.1478, allocations: 0.5599 MB / 0.6371 GB, free: 8.934 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009309/0.1571, allocations: 6.551 MB / 0.6435 GB, free: 2.301 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1572, allocations: 4.375 kB / 0.6435 GB, free: 2.297 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1572, allocations: 12.06 kB / 0.6435 GB, free: 2.285 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1574, allocations: 49.67 kB / 0.6435 GB, free: 2.23 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1574, allocations: 3.938 kB / 0.6435 GB, free: 2.227 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1575, allocations: 0 / 0.6435 GB, free: 2.227 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1575, allocations: 0 / 0.6435 GB, free: 2.227 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.1575, allocations: 12 kB / 0.6436 GB, free: 2.215 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1595, allocations: 1.855 MB / 0.6454 GB, free: 320 kB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1597, allocations: 70.47 kB / 0.6454 GB, free: 240 kB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.1597, allocations: 24.78 kB / 0.6455 GB, free: 212 kB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1598, allocations: 0 / 0.6455 GB, free: 212 kB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.16, allocations: 67.39 kB / 0.6455 GB, free: 132 kB / 458.8 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.16, allocations: 0 / 0.6455 GB, free: 132 kB / 458.8 MB Notification: Performance of matching and sorting (n=5): time 0.0008857/0.1609, allocations: 0.6544 MB / 0.6462 GB, free: 15.46 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.161, allocations: 59.34 kB / 0.6462 GB, free: 15.39 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006494/0.1675, allocations: 6.439 MB / 0.6525 GB, free: 8.996 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1675, allocations: 25.7 kB / 0.6525 GB, free: 8.965 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.1697, allocations: 2.665 MB / 0.6551 GB, free: 6.297 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.1698, allocations: 15.81 kB / 0.6551 GB, free: 6.281 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.1698, allocations: 17.72 kB / 0.6552 GB, free: 6.258 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.1699, allocations: 314 kB / 0.6555 GB, free: 5.945 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.17, allocations: 8 kB / 0.6555 GB, free: 5.938 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.1701, allocations: 37.69 kB / 0.6555 GB, free: 5.895 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.834e-05/0.1702, allocations: 45.95 kB / 0.6556 GB, free: 5.844 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1702, allocations: 0 / 0.6556 GB, free: 5.844 MB / 474.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007858/0.171, allocations: 0.6465 MB / 0.6562 GB, free: 5.184 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.171, allocations: 4 kB / 0.6562 GB, free: 5.18 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.171, allocations: 4 kB / 0.6562 GB, free: 5.176 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1711, allocations: 4.031 kB / 0.6562 GB, free: 5.172 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.1712, allocations: 11.98 kB / 0.6562 GB, free: 5.16 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1712, allocations: 0 / 0.6562 GB, free: 5.16 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.1716, allocations: 31.88 kB / 0.6562 GB, free: 5.129 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1716, allocations: 0 / 0.6562 GB, free: 5.129 MB / 474.8 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.001366/0.173, allocations: 1.278 MB / 0.6575 GB, free: 3.84 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/0.1735, allocations: 0.5863 MB / 0.6581 GB, free: 3.246 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006539/0.1742, allocations: 0.6521 MB / 0.6587 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1742, allocations: 0 / 0.6587 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1742, allocations: 4 kB / 0.6587 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1742, allocations: 3.938 kB / 0.6587 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.1759, allocations: 2.031 MB / 0.6607 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1759, allocations: 0 / 0.6607 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.176, allocations: 4 kB / 0.6607 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.176, allocations: 0 / 0.6607 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.176, allocations: 3.984 kB / 0.6607 GB, free: 0.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.176, allocations: 0 / 0.6607 GB, free: 0.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.176, allocations: 3.984 kB / 0.6607 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.178, allocations: 2.665 MB / 0.6633 GB, free: 13.76 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.1787, allocations: 0.5171 MB / 0.6638 GB, free: 13.21 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.179, allocations: 24.12 kB / 0.6638 GB, free: 13.19 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.1793, allocations: 16 kB / 0.6638 GB, free: 13.18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1794, allocations: 7.922 kB / 0.6639 GB, free: 13.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1794, allocations: 7.938 kB / 0.6639 GB, free: 13.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005134/0.1845, allocations: 4.42 MB / 0.6682 GB, free: 8.781 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1845, allocations: 0 / 0.6682 GB, free: 8.781 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0007285/0.1853, allocations: 172 kB / 0.6683 GB, free: 8.613 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008663/0.1862, allocations: 407.7 kB / 0.6687 GB, free: 8.367 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1863, allocations: 39.92 kB / 0.6688 GB, free: 8.328 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1864, allocations: 0 / 0.6688 GB, free: 8.328 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.1864, allocations: 27.98 kB / 0.6688 GB, free: 8.301 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.1876, allocations: 457.5 kB / 0.6692 GB, free: 7.852 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.1977, allocations: 9.643 MB / 0.6786 GB, free: 14.15 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/0.1999, allocations: 2.737 MB / 0.6813 GB, free: 11.39 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003549/0.2035, allocations: 1.407 MB / 0.6827 GB, free: 9.977 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.2046, allocations: 0.5694 MB / 0.6832 GB, free: 9.406 MB / 0.4949 GB Notification: Performance of SimCode: time 7.11e-07/0.2046, allocations: 4 kB / 0.6833 GB, free: 9.402 MB / 0.4949 GB Notification: Performance of Templates: time 0.4411/0.6458, allocations: 15.57 MB / 0.6985 GB, free: 73.61 MB / 0.495 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches