Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001162/0.001163, allocations: 112.8 kB / 17.71 MB, free: 5.258 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.001042/0.001042, allocations: 192.1 kB / 18.64 MB, free: 4.34 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.334/1.334, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.011/1.011, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 62.86 kB / 0.5715 GB, free: 39.95 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1742, allocations: 80.69 MB / 0.6503 GB, free: 13.22 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002432/0.1767, allocations: 1.417 MB / 0.6517 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.1777, allocations: 0.5768 MB / 0.6523 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.1778, allocations: 0 / 0.6523 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.1782, allocations: 451.1 kB / 0.6527 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.1787, allocations: 487 kB / 0.6532 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.179, allocations: 91.53 kB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008105/0.1798, allocations: 1.12 MB / 0.6543 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.1799, allocations: 4 kB / 0.6543 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.1804, allocations: 0.5615 MB / 0.6549 GB, free: 8.523 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007943/0.1812, allocations: 1.033 MB / 0.6559 GB, free: 7.488 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.1813, allocations: 64 kB / 0.656 GB, free: 7.426 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1815, allocations: 143.9 kB / 0.6561 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.1837, allocations: 2.501 MB / 0.6585 GB, free: 4.777 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0009408/0.1846, allocations: 1.42 MB / 0.6599 GB, free: 3.344 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.1867, allocations: 3.166 MB / 0.663 GB, free: 164 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1867, allocations: 0 / 0.663 GB, free: 164 kB / 0.4983 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1867, allocations: 0 / 0.663 GB, free: 164 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.547e-05/0.1868, allocations: 4 kB / 0.663 GB, free: 160 kB / 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.004936/0.1917, allocations: 5.169 MB / 0.6681 GB, free: 10.89 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1918, allocations: 8.031 kB / 0.6681 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.1924, allocations: 0.5599 MB / 0.6686 GB, free: 10.32 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009564/0.202, allocations: 6.527 MB / 0.675 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.202, allocations: 4.375 kB / 0.675 GB, free: 3.703 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.2021, allocations: 16.38 kB / 0.675 GB, free: 3.688 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.2026, allocations: 245.8 kB / 0.6753 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2026, allocations: 4 kB / 0.6753 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.265e-05/0.2027, allocations: 16 kB / 0.6753 GB, free: 3.422 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2027, allocations: 0 / 0.6753 GB, free: 3.422 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.203, allocations: 132 kB / 0.6754 GB, free: 3.293 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.206, allocations: 1.862 MB / 0.6772 GB, free: 1.383 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.2063, allocations: 102.6 kB / 0.6773 GB, free: 1.273 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.2065, allocations: 92.89 kB / 0.6774 GB, free: 1.18 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.2065, allocations: 7.938 kB / 0.6774 GB, free: 1.172 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.2069, allocations: 256.8 kB / 0.6777 GB, free: 0.9023 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.2069, allocations: 0 / 0.6777 GB, free: 0.9023 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.002153/0.2091, allocations: 1.16 MB / 0.6788 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.2092, allocations: 81.11 kB / 0.6789 GB, free: 15.62 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/0.2208, allocations: 6.275 MB / 0.685 GB, free: 9.395 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.221, allocations: 45.7 kB / 0.685 GB, free: 9.344 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.003216/0.2243, allocations: 2.527 MB / 0.6875 GB, free: 6.812 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.2245, allocations: 35.7 kB / 0.6875 GB, free: 6.777 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.2247, allocations: 133.7 kB / 0.6877 GB, free: 6.641 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2249, allocations: 310 kB / 0.688 GB, free: 6.332 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.2251, allocations: 79.98 kB / 0.688 GB, free: 6.254 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2253, allocations: 75.94 kB / 0.6881 GB, free: 6.18 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.2258, allocations: 228.2 kB / 0.6883 GB, free: 5.941 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2258, allocations: 0 / 0.6883 GB, free: 5.941 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00207/0.2279, allocations: 1.09 MB / 0.6894 GB, free: 4.832 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.2279, allocations: 41.69 kB / 0.6894 GB, free: 4.785 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2279, allocations: 4 kB / 0.6894 GB, free: 4.781 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.228, allocations: 4 kB / 0.6894 GB, free: 4.777 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2281, allocations: 4 kB / 0.6894 GB, free: 4.773 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2281, allocations: 0 / 0.6894 GB, free: 4.773 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007667/0.2289, allocations: 19.94 kB / 0.6895 GB, free: 4.754 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002762/0.2292, allocations: 228 kB / 0.6897 GB, free: 4.531 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.002659/0.2318, allocations: 1.338 MB / 0.691 GB, free: 3.18 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009013/0.2328, allocations: 0.5785 MB / 0.6916 GB, free: 2.594 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.2341, allocations: 0.6519 MB / 0.6922 GB, free: 1.938 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2341, allocations: 0 / 0.6922 GB, free: 1.938 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2341, allocations: 0 / 0.6922 GB, free: 1.938 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2341, allocations: 0 / 0.6922 GB, free: 1.938 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.2371, allocations: 2.018 MB / 0.6942 GB, free: 15.87 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.2371, allocations: 4 kB / 0.6942 GB, free: 15.86 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.2372, allocations: 11.97 kB / 0.6942 GB, free: 15.85 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2372, allocations: 3.938 kB / 0.6942 GB, free: 15.85 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.934e-05/0.2373, allocations: 55.98 kB / 0.6942 GB, free: 15.79 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2373, allocations: 0 / 0.6942 GB, free: 15.79 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2373, allocations: 0 / 0.6942 GB, free: 15.79 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.2392, allocations: 1.168 MB / 0.6954 GB, free: 14.6 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.2403, allocations: 0.564 MB / 0.6959 GB, free: 14.01 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004035/0.2408, allocations: 20 kB / 0.6959 GB, free: 13.99 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.2412, allocations: 16 kB / 0.696 GB, free: 13.97 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.2412, allocations: 8 kB / 0.696 GB, free: 13.96 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/0.2415, allocations: 228 kB / 0.6962 GB, free: 13.74 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.008482/0.25, allocations: 4.324 MB / 0.7004 GB, free: 9.457 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7.21e-07/0.25, allocations: 4 kB / 0.7004 GB, free: 9.453 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001178/0.2512, allocations: 188 kB / 0.7006 GB, free: 9.27 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.0003219/0.2516, allocations: 139.8 kB / 0.7007 GB, free: 9.125 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0006719/0.2522, allocations: 279.3 kB / 0.701 GB, free: 8.84 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2523, allocations: 0 / 0.701 GB, free: 8.84 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.2526, allocations: 187.4 kB / 0.7012 GB, free: 8.645 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.2544, allocations: 441.2 kB / 0.7016 GB, free: 8.211 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/0.2692, allocations: 8.612 MB / 0.71 GB, free: 15.56 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.2716, allocations: 2.732 MB / 0.7127 GB, free: 12.8 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.2719, allocations: 259.4 kB / 0.7129 GB, free: 12.55 MB / 0.5608 GB Notification: Performance of SimCode: time 1.303e-06/0.2719, allocations: 7.938 kB / 0.7129 GB, free: 12.54 MB / 0.5608 GB Notification: Performance of Templates: time 0.8749/1.147, allocations: 140 MB / 0.8497 GB, free: 49.63 MB / 0.6079 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches