Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.001426/0.001426, allocations: 188.5 kB / 18.67 MB, free: 4.41 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.896/0.896, allocations: 119.3 MB / 411.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.28 kB / 0.5716 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002871/0.1488, allocations: 1.413 MB / 0.6518 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.15, allocations: 0.5691 MB / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.1501, allocations: 0 / 0.6523 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.1506, allocations: 451.1 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.1512, allocations: 487 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.1515, allocations: 83.78 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009771/0.1525, allocations: 1.131 MB / 0.6544 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1526, allocations: 4 kB / 0.6544 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007849/0.1534, allocations: 0.5654 MB / 0.6549 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.1543, allocations: 1.03 MB / 0.6559 GB, free: 7.332 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1544, allocations: 71.88 kB / 0.656 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.1547, allocations: 139.9 kB / 0.6562 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002591/0.1573, allocations: 2.497 MB / 0.6586 GB, free: 4.621 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.1585, allocations: 1.423 MB / 0.66 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.1612, allocations: 3.166 MB / 0.6631 GB, free: 0 / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.236e-05/0.1613, allocations: 4.047 kB / 0.6631 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.675e-06/0.1613, allocations: 0 / 0.6631 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.772e-05/0.1613, allocations: 0 / 0.6631 GB, free: 15.99 MB / 0.5139 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.005918/0.1673, allocations: 5.165 MB / 0.6681 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.1673, allocations: 12.03 kB / 0.6681 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1685, allocations: 0.556 MB / 0.6687 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.1827, allocations: 6.527 MB / 0.675 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.1828, allocations: 4.375 kB / 0.6751 GB, free: 3.547 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.1829, allocations: 20.31 kB / 0.6751 GB, free: 3.527 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.1834, allocations: 241.8 kB / 0.6753 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1834, allocations: 3.938 kB / 0.6753 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.1834, allocations: 16 kB / 0.6753 GB, free: 3.266 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.1835, allocations: 4 kB / 0.6753 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.1837, allocations: 128 kB / 0.6754 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.1869, allocations: 1.866 MB / 0.6773 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1871, allocations: 102.6 kB / 0.6774 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1873, allocations: 96.8 kB / 0.6775 GB, free: 1.016 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.1873, allocations: 0 / 0.6775 GB, free: 1.016 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.1877, allocations: 256.9 kB / 0.6777 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/0.1877, allocations: 0 / 0.6777 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001809/0.1895, allocations: 1.16 MB / 0.6788 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1896, allocations: 81.05 kB / 0.6789 GB, free: 15.47 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00783/0.1974, allocations: 6.279 MB / 0.685 GB, free: 9.234 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.1975, allocations: 41.7 kB / 0.6851 GB, free: 9.188 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.1998, allocations: 2.52 MB / 0.6875 GB, free: 6.664 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1999, allocations: 39.84 kB / 0.6876 GB, free: 6.625 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2, allocations: 129.7 kB / 0.6877 GB, free: 6.492 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2002, allocations: 318 kB / 0.688 GB, free: 6.176 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2003, allocations: 76 kB / 0.6881 GB, free: 6.102 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2004, allocations: 79.98 kB / 0.6882 GB, free: 6.023 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.2007, allocations: 224.3 kB / 0.6884 GB, free: 5.789 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2007, allocations: 4 kB / 0.6884 GB, free: 5.785 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001445/0.2022, allocations: 1.097 MB / 0.6894 GB, free: 4.668 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.2022, allocations: 29.7 kB / 0.6895 GB, free: 4.633 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2023, allocations: 4 kB / 0.6895 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.2023, allocations: 0 / 0.6895 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.2024, allocations: 11.98 kB / 0.6895 GB, free: 4.617 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2024, allocations: 0 / 0.6895 GB, free: 4.617 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.2028, allocations: 24.08 kB / 0.6895 GB, free: 4.594 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.203, allocations: 220 kB / 0.6897 GB, free: 4.379 MB / 0.5295 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.001564/0.2046, allocations: 1.342 MB / 0.691 GB, free: 3.023 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/0.2051, allocations: 0.5785 MB / 0.6916 GB, free: 2.438 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006471/0.2057, allocations: 0.648 MB / 0.6922 GB, free: 1.785 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2057, allocations: 0 / 0.6922 GB, free: 1.785 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.2058, allocations: 8 kB / 0.6922 GB, free: 1.777 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2058, allocations: 0 / 0.6922 GB, free: 1.777 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.2076, allocations: 2.022 MB / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2076, allocations: 0 / 0.6942 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.2076, allocations: 11.92 kB / 0.6942 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2076, allocations: 0 / 0.6942 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-05/0.2077, allocations: 52 kB / 0.6943 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2077, allocations: 0 / 0.6943 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2077, allocations: 0 / 0.6943 GB, free: 15.64 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2089, allocations: 1.168 MB / 0.6954 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/0.2096, allocations: 0.5601 MB / 0.696 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.2099, allocations: 20 kB / 0.696 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.2102, allocations: 24 kB / 0.696 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.2102, allocations: 3.984 kB / 0.696 GB, free: 13.81 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.2104, allocations: 224 kB / 0.6962 GB, free: 13.59 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005527/0.2159, allocations: 4.321 MB / 0.7004 GB, free: 9.312 MB / 0.5452 GB Notification: Performance of sort global known variables: time 6.91e-07/0.216, allocations: 0 / 0.7004 GB, free: 9.312 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0008081/0.2168, allocations: 191.9 kB / 0.7006 GB, free: 9.125 MB / 0.5452 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.0002608/0.2171, allocations: 159.5 kB / 0.7008 GB, free: 8.965 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004958/0.2176, allocations: 275.6 kB / 0.701 GB, free: 8.684 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2176, allocations: 8 kB / 0.701 GB, free: 8.676 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.2178, allocations: 183.4 kB / 0.7012 GB, free: 8.484 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.219, allocations: 437.2 kB / 0.7016 GB, free: 8.055 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.2306, allocations: 8.623 MB / 0.7101 GB, free: 15.39 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/0.2332, allocations: 2.724 MB / 0.7127 GB, free: 12.64 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.2337, allocations: 263.4 kB / 0.713 GB, free: 12.39 MB / 0.5608 GB Notification: Performance of SimCode: time 1.212e-06/0.2337, allocations: 0 / 0.713 GB, free: 12.39 MB / 0.5608 GB Notification: Performance of Templates: time 0.8153/1.049, allocations: 141.4 MB / 0.851 GB, free: 48.08 MB / 0.6079 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches