Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 109.1 kB / 17.7 MB, free: 5.492 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.002041/0.002041, allocations: 187.8 kB / 18.63 MB, free: 4.57 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.344/1.344, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.017/1.017, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.45 kB / 0.5715 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.207, allocations: 80.69 MB / 0.6503 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002567/0.2097, allocations: 1.413 MB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2107, allocations: 0.5729 MB / 0.6522 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.2108, allocations: 4 kB / 0.6522 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.2129, allocations: 3.426 MB / 0.6556 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.2152, allocations: 3.469 MB / 0.659 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.2156, allocations: 87.64 kB / 0.6591 GB, free: 4.105 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.005895/0.2215, allocations: 8.555 MB / 0.6674 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.2216, allocations: 4 kB / 0.6674 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005676/0.2272, allocations: 4.25 MB / 0.6716 GB, free: 7.277 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008834/0.2361, allocations: 8.081 MB / 0.6795 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.2379, allocations: 0.4922 MB / 0.6799 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.239, allocations: 0.5624 MB / 0.6805 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.01967/0.2587, allocations: 19.9 MB / 0.6999 GB, free: 10.17 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02008/0.2788, allocations: 11.26 MB / 0.7109 GB, free: 14.8 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03066/0.3095, allocations: 24.74 MB / 0.7351 GB, free: 5.926 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.308e-05/0.3096, allocations: 0 / 0.7351 GB, free: 5.926 MB / 0.5764 GB Notification: Performance of FrontEnd: time 3.046e-06/0.3096, allocations: 0 / 0.7351 GB, free: 5.926 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001382/0.311, allocations: 0 / 0.7351 GB, free: 5.926 MB / 0.5764 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.8193/1.13, allocations: 38.74 MB / 0.7729 GB, free: 84.43 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/1.13, allocations: 9.375 kB / 0.7729 GB, free: 84.43 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008752/1.139, allocations: 4.4 MB / 0.7772 GB, free: 83.66 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1411/1.28, allocations: 51.58 MB / 0.8276 GB, free: 45.47 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/1.28, allocations: 4.375 kB / 0.8276 GB, free: 45.46 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009285/1.281, allocations: 126.4 kB / 0.8277 GB, free: 45.34 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/1.284, allocations: 1.513 MB / 0.8292 GB, free: 43.82 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.284, allocations: 4 kB / 0.8292 GB, free: 43.82 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/1.285, allocations: 127.9 kB / 0.8293 GB, free: 43.7 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.285, allocations: 0 / 0.8293 GB, free: 43.7 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.286, allocations: 0.8741 MB / 0.8302 GB, free: 42.82 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/1.315, allocations: 13.85 MB / 0.8437 GB, free: 28.91 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/1.317, allocations: 0.5259 MB / 0.8442 GB, free: 28.38 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/1.32, allocations: 0.5126 MB / 0.8447 GB, free: 27.86 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/1.32, allocations: 0 / 0.8447 GB, free: 27.86 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002727/1.322, allocations: 1.321 MB / 0.846 GB, free: 26.53 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/1.322, allocations: 0 / 0.846 GB, free: 26.53 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01324/1.336, allocations: 8.334 MB / 0.8542 GB, free: 18.13 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/1.336, allocations: 81.11 kB / 0.8542 GB, free: 18.03 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09531/1.431, allocations: 49.58 MB / 0.9026 GB, free: 0.8672 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.0009903/1.432, allocations: 154.4 kB / 0.9028 GB, free: 0.7109 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.02787/1.46, allocations: 22.55 MB / 0.9248 GB, free: 10.15 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.461, allocations: 139.8 kB / 0.9249 GB, free: 10.01 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/1.464, allocations: 0.8774 MB / 0.9258 GB, free: 9.129 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.464, allocations: 314.8 kB / 0.9261 GB, free: 8.816 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.466, allocations: 0.5014 MB / 0.9266 GB, free: 8.316 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/1.467, allocations: 0.5062 MB / 0.9271 GB, free: 7.812 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/1.469, allocations: 1.086 MB / 0.9281 GB, free: 6.711 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.469, allocations: 1.969 kB / 0.9282 GB, free: 6.711 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01561/1.485, allocations: 7.815 MB / 0.9358 GB, free: 14.83 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/1.485, allocations: 41.62 kB / 0.9358 GB, free: 14.78 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.485, allocations: 4 kB / 0.9358 GB, free: 14.78 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/1.485, allocations: 0 / 0.9358 GB, free: 14.78 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/1.485, allocations: 4 kB / 0.9358 GB, free: 14.77 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.485, allocations: 0 / 0.9358 GB, free: 14.77 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006644/1.492, allocations: 130.4 kB / 0.936 GB, free: 14.65 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002597/1.494, allocations: 1.711 MB / 0.9376 GB, free: 12.94 MB / 0.686 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.01825/1.513, allocations: 9.678 MB / 0.9471 GB, free: 3.242 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009676/1.522, allocations: 4.524 MB / 0.9515 GB, free: 14.66 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.535, allocations: 5.115 MB / 0.9565 GB, free: 9.531 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.535, allocations: 0 / 0.9565 GB, free: 9.531 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.535, allocations: 4 kB / 0.9565 GB, free: 9.527 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/1.535, allocations: 0 / 0.9565 GB, free: 9.527 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0372/1.572, allocations: 15.07 MB / 0.9712 GB, free: 10.39 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.572, allocations: 2.375 kB / 0.9712 GB, free: 10.39 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/1.573, allocations: 7.984 kB / 0.9712 GB, free: 10.38 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/1.573, allocations: 3.938 kB / 0.9712 GB, free: 10.38 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001407/1.574, allocations: 378.8 kB / 0.9716 GB, free: 10.01 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.574, allocations: 4 kB / 0.9716 GB, free: 10.01 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.574, allocations: 2.188 kB / 0.9716 GB, free: 10.01 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.591, allocations: 8.15 MB / 0.9796 GB, free: 1.777 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01084/1.601, allocations: 3.876 MB / 0.9833 GB, free: 13.82 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00501/1.607, allocations: 146.8 kB / 0.9835 GB, free: 13.68 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005345/1.612, allocations: 128 kB / 0.9836 GB, free: 13.56 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/1.612, allocations: 3.984 kB / 0.9836 GB, free: 13.55 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002262/1.614, allocations: 1.716 MB / 0.9853 GB, free: 11.84 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.06699/1.681, allocations: 34.48 MB / 1.019 GB, free: 9.66 MB / 0.7642 GB Notification: Performance of sort global known variables: time 4.61e-07/1.681, allocations: 0 / 1.019 GB, free: 9.66 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.008165/1.689, allocations: 1.257 MB / 1.02 GB, free: 8.406 MB / 0.7642 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.001192/1.691, allocations: 249.7 kB / 1.02 GB, free: 8.16 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.006645/1.697, allocations: 1.23 MB / 1.022 GB, free: 6.918 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.697, allocations: 3.938 kB / 1.022 GB, free: 6.914 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.002814/1.7, allocations: 0.722 MB / 1.022 GB, free: 6.18 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02691/1.727, allocations: 3.379 MB / 1.026 GB, free: 2.797 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.522/2.249, allocations: 72.31 MB / 1.096 GB, free: 282.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03555/2.285, allocations: 17.33 MB / 1.113 GB, free: 276.3 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003453/2.288, allocations: 1.962 MB / 1.115 GB, free: 276.3 MB / 0.8267 GB Notification: Performance of SimCode: time 1.372e-06/2.288, allocations: 0 / 1.115 GB, free: 276.3 MB / 0.8267 GB Notification: Performance of Templates: time 19.87/22.16, allocations: 6.094 GB / 7.209 GB, free: 346.4 MB / 0.9204 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches