Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001011/0.001011, allocations: 110.6 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7424/0.7424, allocations: 119.3 MB / 460.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009469/0.0009469, allocations: 51.92 kB / 0.5391 GB, free: 43.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1365, allocations: 80.7 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002398/0.1389, allocations: 1.462 MB / 0.6193 GB, free: 11.24 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.1398, allocations: 0.5884 MB / 0.6199 GB, free: 10.64 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.1399, allocations: 0 / 0.6199 GB, free: 10.64 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.1405, allocations: 0.8692 MB / 0.6208 GB, free: 9.773 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006631/0.1412, allocations: 0.9044 MB / 0.6217 GB, free: 8.867 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1414, allocations: 59.88 kB / 0.6217 GB, free: 8.809 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.00147/0.1429, allocations: 2.177 MB / 0.6238 GB, free: 6.629 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.143, allocations: 8 kB / 0.6238 GB, free: 6.621 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008148/0.1438, allocations: 1.084 MB / 0.6249 GB, free: 5.535 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.1451, allocations: 1.922 MB / 0.6268 GB, free: 3.609 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.1454, allocations: 128 kB / 0.6269 GB, free: 3.484 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.1458, allocations: 195.9 kB / 0.6271 GB, free: 3.293 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003895/0.1497, allocations: 4.975 MB / 0.6319 GB, free: 14.3 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.1518, allocations: 2.828 MB / 0.6347 GB, free: 11.45 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003772/0.1556, allocations: 6.005 MB / 0.6406 GB, free: 5.41 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1556, allocations: 0 / 0.6406 GB, free: 5.41 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1556, allocations: 0 / 0.6406 GB, free: 5.41 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001051/0.1557, allocations: 0 / 0.6406 GB, free: 5.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01095/0.1667, allocations: 9.974 MB / 0.6503 GB, free: 11.3 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1668, allocations: 8.031 kB / 0.6503 GB, free: 11.29 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.1679, allocations: 1.103 MB / 0.6514 GB, free: 10.17 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01938/0.1873, allocations: 12.95 MB / 0.664 GB, free: 13.09 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1873, allocations: 384 / 0.664 GB, free: 13.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/0.1874, allocations: 32.38 kB / 0.6641 GB, free: 13.06 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.188, allocations: 433.6 kB / 0.6645 GB, free: 12.63 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.188, allocations: 3.984 kB / 0.6645 GB, free: 12.63 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.1881, allocations: 32 kB / 0.6645 GB, free: 12.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1881, allocations: 8 kB / 0.6645 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.1884, allocations: 236 kB / 0.6648 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.1926, allocations: 3.576 MB / 0.6683 GB, free: 8.738 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.1928, allocations: 170.5 kB / 0.6684 GB, free: 8.562 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1931, allocations: 148.9 kB / 0.6686 GB, free: 8.414 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1931, allocations: 7.969 kB / 0.6686 GB, free: 8.406 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.1936, allocations: 412.7 kB / 0.669 GB, free: 7.984 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 2.575e-06/0.1936, allocations: 0 / 0.669 GB, free: 7.984 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.002452/0.1961, allocations: 2.192 MB / 0.6711 GB, free: 5.766 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1961, allocations: 77.11 kB / 0.6712 GB, free: 5.672 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/0.2092, allocations: 12.46 MB / 0.6833 GB, free: 9.305 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.2093, allocations: 57.7 kB / 0.6834 GB, free: 9.242 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004278/0.2136, allocations: 5.208 MB / 0.6885 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.2138, allocations: 47.95 kB / 0.6885 GB, free: 3.984 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.2141, allocations: 245.7 kB / 0.6888 GB, free: 3.738 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2143, allocations: 310 kB / 0.6891 GB, free: 3.43 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2145, allocations: 144 kB / 0.6892 GB, free: 3.289 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.2147, allocations: 143.9 kB / 0.6893 GB, free: 3.148 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.2152, allocations: 348.2 kB / 0.6897 GB, free: 2.793 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2152, allocations: 0 / 0.6897 GB, free: 2.793 MB / 0.4949 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002771/0.218, allocations: 2.059 MB / 0.6917 GB, free: 0.707 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.2181, allocations: 37.69 kB / 0.6917 GB, free: 0.6641 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2181, allocations: 0 / 0.6917 GB, free: 0.6641 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2181, allocations: 8 kB / 0.6917 GB, free: 0.6562 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.945e-05/0.2182, allocations: 4 kB / 0.6917 GB, free: 0.6523 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2182, allocations: 0 / 0.6917 GB, free: 0.6523 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008494/0.219, allocations: 35.91 kB / 0.6918 GB, free: 0.6172 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/0.2194, allocations: 444 kB / 0.6922 GB, free: 188 kB / 0.4949 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.4474/0.6668, allocations: 2.527 MB / 0.6947 GB, free: 72.36 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.6683, allocations: 1.137 MB / 0.6958 GB, free: 72.36 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6704, allocations: 1.282 MB / 0.697 GB, free: 71.98 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6705, allocations: 3.219 kB / 0.697 GB, free: 71.98 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.6705, allocations: 3.656 kB / 0.697 GB, free: 71.98 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6705, allocations: 0 / 0.697 GB, free: 71.98 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.6747, allocations: 3.888 MB / 0.7008 GB, free: 70.61 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6747, allocations: 7.594 kB / 0.7008 GB, free: 70.61 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.6748, allocations: 3.141 kB / 0.7008 GB, free: 70.61 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.6748, allocations: 4.812 kB / 0.7008 GB, free: 70.61 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.675, allocations: 103.6 kB / 0.7009 GB, free: 70.6 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6751, allocations: 1.25 kB / 0.7009 GB, free: 70.6 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6751, allocations: 0.5 kB / 0.7009 GB, free: 70.6 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/0.6818, allocations: 5.553 MB / 0.7064 GB, free: 68.67 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/0.6835, allocations: 1.039 MB / 0.7074 GB, free: 67.95 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005128/0.6841, allocations: 38.58 kB / 0.7074 GB, free: 67.95 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.6847, allocations: 35.3 kB / 0.7074 GB, free: 67.95 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.6847, allocations: 2.484 kB / 0.7074 GB, free: 67.95 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003769/0.6851, allocations: 443.2 kB / 0.7079 GB, free: 67.88 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.01181/0.6969, allocations: 8.57 MB / 0.7162 GB, free: 65.79 MB / 0.495 GB Notification: Performance of sort global known variables: time 4.91e-07/0.697, allocations: 0 / 0.7162 GB, free: 65.79 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.001086/0.6981, allocations: 342 kB / 0.7166 GB, free: 65.76 MB / 0.495 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.0002219/0.6983, allocations: 164.8 kB / 0.7167 GB, free: 65.61 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.6989, allocations: 422.3 kB / 0.7171 GB, free: 65.18 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6989, allocations: 0 / 0.7171 GB, free: 65.18 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.6992, allocations: 263.4 kB / 0.7174 GB, free: 64.91 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.7012, allocations: 0.8543 MB / 0.7182 GB, free: 64.06 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.7211, allocations: 19.33 MB / 0.7371 GB, free: 44.83 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/0.7251, allocations: 4.793 MB / 0.7418 GB, free: 40.01 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.005167/0.7303, allocations: 2.326 MB / 0.744 GB, free: 37.69 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.7307, allocations: 0.499 MB / 0.7445 GB, free: 37.2 MB / 0.495 GB Notification: Performance of SimCode: time 1.854e-06/0.7307, allocations: 0 / 0.7445 GB, free: 37.2 MB / 0.495 GB Notification: Performance of Templates: time 0.08982/0.8206, allocations: 41.08 MB / 0.7846 GB, free: 12.04 MB / 0.5107 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches