Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.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 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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 178.7 kB / 13.63 MB, free: 1.684 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.218/1.218, allocations: 221.3 MB / 235.5 MB, free: 2.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 86.94 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8215/0.8215, allocations: 120.5 MB / 457.9 MB, free: 7.004 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.995e-05, allocations: 0 / 0.5357 GB, free: 12.16 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4831, allocations: 82.84 MB / 0.6166 GB, free: 9.32 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.6219, allocations: 126.6 MB / 0.7403 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001293/0.6221, allocations: 63.86 kB / 0.7403 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/1.849, allocations: 193.5 MB / 0.9293 GB, free: 6.523 MB / 0.589 GB Notification: Performance of FrontEnd: time 1.683e-06/1.849, allocations: 0 / 0.9293 GB, free: 6.523 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.001041/1.85, allocations: 252 kB / 0.9295 GB, free: 6.277 MB / 0.589 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.02038/1.87, allocations: 12.61 MB / 0.9418 GB, free: 9.543 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.87, allocations: 8.031 kB / 0.9418 GB, free: 9.535 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/1.873, allocations: 2.267 MB / 0.9441 GB, free: 7.242 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04672/1.92, allocations: 22.34 MB / 0.9659 GB, free: 0.7383 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.92, allocations: 0 / 0.9659 GB, free: 0.7383 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/1.92, allocations: 64 kB / 0.9659 GB, free: 0.6758 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/1.921, allocations: 0.7822 MB / 0.9667 GB, free: 15.89 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/1.921, allocations: 0 / 0.9667 GB, free: 15.89 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/1.921, allocations: 67.98 kB / 0.9668 GB, free: 15.82 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.921, allocations: 7.953 kB / 0.9668 GB, free: 15.81 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/1.922, allocations: 459.9 kB / 0.9672 GB, free: 15.36 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/1.936, allocations: 7 MB / 0.974 GB, free: 8.312 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/1.936, allocations: 290.6 kB / 0.9743 GB, free: 8.02 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/1.937, allocations: 276.9 kB / 0.9746 GB, free: 7.746 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/1.937, allocations: 0 / 0.9746 GB, free: 7.746 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006881/1.938, allocations: 0.7036 MB / 0.9753 GB, free: 7.023 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=8): time 3.046e-06/1.938, allocations: 0 / 0.9753 GB, free: 7.023 MB / 0.6359 GB Notification: Performance of matching and sorting (n=8): time 0.004769/1.942, allocations: 3.732 MB / 0.9789 GB, free: 3.25 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.942, allocations: 85.06 kB / 0.979 GB, free: 3.148 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3479/2.29, allocations: 21.08 MB / 0.9996 GB, free: 175.9 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/2.291, allocations: 89.17 kB / 0.9997 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.01125/2.302, allocations: 11.01 MB / 1.01 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/2.302, allocations: 80.03 kB / 1.01 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/2.303, allocations: 67.09 kB / 1.011 GB, free: 169.6 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/2.303, allocations: 309.5 kB / 1.011 GB, free: 169.3 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/2.303, allocations: 266.8 kB / 1.011 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/2.303, allocations: 268.2 kB / 1.011 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/2.304, allocations: 294.3 kB / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/2.304, allocations: 3.375 kB / 1.012 GB, free: 169.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005099/2.309, allocations: 3.726 MB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/2.309, allocations: 32.83 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/2.309, allocations: 0 / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/2.309, allocations: 3.75 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/2.309, allocations: 13.91 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/2.309, allocations: 0 / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/2.31, allocations: 69.36 kB / 1.015 GB, free: 169.1 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/2.311, allocations: 0.8546 MB / 1.016 GB, free: 169 MB / 0.6515 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002405/2.311, allocations: 275.2 kB / 1.017 GB, free: 168.8 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/2.312, allocations: 2.265 MB / 1.019 GB, free: 167.6 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/2.316, allocations: 2.562 MB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/2.316, allocations: 3.969 kB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.316, allocations: 4.469 kB / 1.021 GB, free: 166.9 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/2.316, allocations: 3.953 kB / 1.021 GB, free: 166.8 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008162/2.325, allocations: 7.613 MB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/2.325, allocations: 2.219 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/2.325, allocations: 8.219 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/2.325, allocations: 0.6562 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003744/2.325, allocations: 194.8 kB / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/2.325, allocations: 0 / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.325, allocations: 0 / 1.029 GB, free: 164.3 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/2.329, allocations: 3.914 MB / 1.033 GB, free: 162.8 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/2.331, allocations: 1.982 MB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/2.332, allocations: 66.36 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/2.333, allocations: 65.67 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/2.333, allocations: 8.359 kB / 1.035 GB, free: 161.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004775/2.334, allocations: 0.8572 MB / 1.036 GB, free: 161.3 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.02792/2.362, allocations: 16.94 MB / 1.052 GB, free: 156.9 MB / 0.6515 GB Notification: Performance of sort global known variables: time 4.21e-07/2.362, allocations: 3.344 kB / 1.052 GB, free: 156.9 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.002574/2.364, allocations: 0.6484 MB / 1.053 GB, free: 156.9 MB / 0.6515 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004148/2.365, allocations: 188.2 kB / 1.053 GB, free: 156.8 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.001065/2.366, allocations: 0.6791 MB / 1.054 GB, free: 156.7 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.366, allocations: 0 / 1.054 GB, free: 156.7 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004816/2.366, allocations: 424.7 kB / 1.054 GB, free: 156.6 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/2.37, allocations: 1.634 MB / 1.056 GB, free: 155.5 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/2.411, allocations: 28.22 MB / 1.083 GB, free: 140.1 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00903/2.42, allocations: 9.283 MB / 1.092 GB, free: 134.1 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01109/2.431, allocations: 4.693 MB / 1.097 GB, free: 130.6 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008935/2.432, allocations: 0.9853 MB / 1.098 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of SimCode: time 7.21e-07/2.432, allocations: 0 / 1.098 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of Templates: time 0.1792/2.611, allocations: 81.95 MB / 1.178 GB, free: 48.35 MB / 0.6515 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches