Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 109.6 kB / 17.17 MB, free: 6.348 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.001523/0.001523, allocations: 198.8 kB / 18.08 MB, free: 5.441 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.305/1.305, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9566/0.9566, allocations: 119.3 MB / 411.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 60.14 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5287, allocations: 80.69 MB / 0.5697 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002531/0.5313, allocations: 1.471 MB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.5322, allocations: 0.5849 MB / 0.5717 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.5323, allocations: 5.188 kB / 0.5717 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.533, allocations: 0.8652 MB / 0.5725 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.5337, allocations: 0.9013 MB / 0.5734 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.534, allocations: 63.12 kB / 0.5735 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.5358, allocations: 2.169 MB / 0.5756 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.5359, allocations: 6.422 kB / 0.5756 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002/0.5379, allocations: 1.086 MB / 0.5767 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.5406, allocations: 1.925 MB / 0.5786 GB, free: 38.63 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003475/0.5409, allocations: 127 kB / 0.5787 GB, free: 38.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.5414, allocations: 195.6 kB / 0.5789 GB, free: 38.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.005126/0.5465, allocations: 4.983 MB / 0.5837 GB, free: 35.55 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.5492, allocations: 2.828 MB / 0.5865 GB, free: 32.69 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.5524, allocations: 4.574 MB / 0.591 GB, free: 28.11 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5524, allocations: 0 / 0.591 GB, free: 28.11 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5524, allocations: 0 / 0.591 GB, free: 28.11 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001645/0.5526, allocations: 4 kB / 0.591 GB, free: 28.1 MB / 462.3 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.009005/0.5616, allocations: 9.966 MB / 0.6007 GB, free: 18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5617, allocations: 12.03 kB / 0.6007 GB, free: 17.98 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.5628, allocations: 1.107 MB / 0.6018 GB, free: 16.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/0.5801, allocations: 12.95 MB / 0.6144 GB, free: 3.789 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.5802, allocations: 384 / 0.6144 GB, free: 3.789 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.5803, allocations: 36.38 kB / 0.6145 GB, free: 3.754 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.5808, allocations: 433.6 kB / 0.6149 GB, free: 3.324 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5808, allocations: 0 / 0.6149 GB, free: 3.324 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.5809, allocations: 35.98 kB / 0.6149 GB, free: 3.289 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5809, allocations: 0 / 0.6149 GB, free: 3.289 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.5812, allocations: 236 kB / 0.6151 GB, free: 3.059 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004672/0.5859, allocations: 3.576 MB / 0.6186 GB, free: 15.44 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.5863, allocations: 162.6 kB / 0.6188 GB, free: 15.27 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.5866, allocations: 156.8 kB / 0.6189 GB, free: 15.11 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.5866, allocations: 0 / 0.6189 GB, free: 15.11 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006351/0.5873, allocations: 416.8 kB / 0.6193 GB, free: 14.69 MB / 478.3 MB Notification: Performance of pre-optimization done (n=8): time 3.256e-06/0.5873, allocations: 4 kB / 0.6193 GB, free: 14.68 MB / 478.3 MB Notification: Performance of matching and sorting (n=8): time 0.003381/0.5907, allocations: 2.184 MB / 0.6215 GB, free: 12.47 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.5908, allocations: 85.09 kB / 0.6215 GB, free: 12.37 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02109/0.6119, allocations: 12.46 MB / 0.6337 GB, free: 4 kB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.6121, allocations: 57.7 kB / 0.6338 GB, free: 15.94 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.006044/0.6182, allocations: 5.204 MB / 0.6389 GB, free: 10.73 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003445/0.6186, allocations: 51.73 kB / 0.6389 GB, free: 10.68 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.6189, allocations: 241.7 kB / 0.6391 GB, free: 10.44 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.619, allocations: 321.9 kB / 0.6394 GB, free: 10.12 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6193, allocations: 136 kB / 0.6396 GB, free: 9.988 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.6195, allocations: 151.9 kB / 0.6397 GB, free: 9.84 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.6201, allocations: 344.3 kB / 0.64 GB, free: 9.488 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6201, allocations: 0 / 0.64 GB, free: 9.488 MB / 494.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003335/0.6234, allocations: 2.059 MB / 0.6421 GB, free: 7.402 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.6235, allocations: 33.7 kB / 0.6421 GB, free: 7.363 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6235, allocations: 0 / 0.6421 GB, free: 7.363 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6235, allocations: 0 / 0.6421 GB, free: 7.363 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.6236, allocations: 7.984 kB / 0.6421 GB, free: 7.355 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6236, allocations: 7.984 kB / 0.6421 GB, free: 7.348 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.6251, allocations: 36 kB / 0.6421 GB, free: 7.312 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004169/0.6255, allocations: 440 kB / 0.6426 GB, free: 6.883 MB / 494.3 MB 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.004167/0.6297, allocations: 2.525 MB / 0.645 GB, free: 4.34 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/0.6317, allocations: 1.138 MB / 0.6461 GB, free: 3.188 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/0.6345, allocations: 1.284 MB / 0.6474 GB, free: 1.895 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6345, allocations: 0 / 0.6474 GB, free: 1.895 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6345, allocations: 4 kB / 0.6474 GB, free: 1.891 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6345, allocations: 0 / 0.6474 GB, free: 1.891 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007377/0.6419, allocations: 3.892 MB / 0.6512 GB, free: 13.95 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.642, allocations: 0 / 0.6512 GB, free: 13.95 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.642, allocations: 11.88 kB / 0.6512 GB, free: 13.94 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.6421, allocations: 0 / 0.6512 GB, free: 13.94 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/0.6424, allocations: 100 kB / 0.6513 GB, free: 13.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.6424, allocations: 0 / 0.6513 GB, free: 13.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.6424, allocations: 4 kB / 0.6513 GB, free: 13.84 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.6461, allocations: 2.162 MB / 0.6534 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/0.6484, allocations: 1.045 MB / 0.6544 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009861/0.6494, allocations: 32 kB / 0.6545 GB, free: 10.53 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6505, allocations: 39.98 kB / 0.6545 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.6506, allocations: 3.938 kB / 0.6545 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000383/0.651, allocations: 444 kB / 0.6549 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01425/0.6653, allocations: 8.567 MB / 0.6633 GB, free: 1.566 MB / 0.4983 GB Notification: Performance of sort global known variables: time 5.71e-07/0.6653, allocations: 0 / 0.6633 GB, free: 1.566 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001741/0.6671, allocations: 344 kB / 0.6636 GB, free: 1.23 MB / 0.4983 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.0003331/0.6674, allocations: 167.1 kB / 0.6638 GB, free: 1.059 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.6681, allocations: 419.4 kB / 0.6642 GB, free: 0.6367 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6682, allocations: 0 / 0.6642 GB, free: 0.6367 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.6685, allocations: 267.7 kB / 0.6644 GB, free: 372 kB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.6713, allocations: 0.8536 MB / 0.6653 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.6994, allocations: 19.66 MB / 0.6845 GB, free: 11.79 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005697/0.7052, allocations: 4.785 MB / 0.6892 GB, free: 6.98 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000826/0.706, allocations: 0.4994 MB / 0.6896 GB, free: 6.48 MB / 0.5295 GB Notification: Performance of SimCode: time 7.92e-07/0.7061, allocations: 4 kB / 0.6896 GB, free: 6.477 MB / 0.5295 GB Notification: Performance of Templates: time 1.512/2.218, allocations: 462.1 MB / 1.141 GB, free: 117.8 MB / 0.6704 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches