Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 105 kB / 17.73 MB, free: 5.23 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.00126/0.00126, allocations: 188.1 kB / 18.67 MB, free: 4.309 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.154/1.154, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.16 kB / 0.5716 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.167, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002635/0.1697, allocations: 1.398 MB / 0.6517 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1708, allocations: 0.569 MB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.1709, allocations: 4 kB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1721, allocations: 1.715 MB / 0.654 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.1735, allocations: 1.766 MB / 0.6557 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1738, allocations: 79.78 kB / 0.6558 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003229/0.177, allocations: 4.31 MB / 0.66 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1771, allocations: 7.984 kB / 0.66 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.1793, allocations: 2.141 MB / 0.6621 GB, free: 1.043 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/0.183, allocations: 4.048 MB / 0.666 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005483/0.1836, allocations: 256 kB / 0.6663 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.1842, allocations: 331.9 kB / 0.6666 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01016/0.1944, allocations: 9.954 MB / 0.6763 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.007185/0.2016, allocations: 5.64 MB / 0.6818 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.2125, allocations: 12.41 MB / 0.694 GB, free: 268 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.2126, allocations: 4 kB / 0.694 GB, free: 264 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2126, allocations: 0 / 0.694 GB, free: 264 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0004234/0.213, allocations: 0 / 0.694 GB, free: 264 kB / 0.5295 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.02751/0.2405, allocations: 19.56 MB / 0.7131 GB, free: 12.47 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.2406, allocations: 8.031 kB / 0.7131 GB, free: 12.46 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.244, allocations: 2.206 MB / 0.7152 GB, free: 10.23 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05538/0.2994, allocations: 25.83 MB / 0.7404 GB, free: 208 kB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2995, allocations: 8.375 kB / 0.7404 GB, free: 200 kB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/0.2997, allocations: 64.38 kB / 0.7405 GB, free: 136 kB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009908/0.3007, allocations: 0.7864 MB / 0.7413 GB, free: 15.34 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3007, allocations: 0 / 0.7413 GB, free: 15.34 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.3009, allocations: 67.98 kB / 0.7413 GB, free: 15.27 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3009, allocations: 0 / 0.7413 GB, free: 15.27 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.3015, allocations: 452 kB / 0.7418 GB, free: 14.83 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3141, allocations: 7.011 MB / 0.7486 GB, free: 7.77 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.3149, allocations: 290.6 kB / 0.7489 GB, free: 7.477 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.3153, allocations: 276.9 kB / 0.7492 GB, free: 7.203 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3153, allocations: 0 / 0.7492 GB, free: 7.203 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00076/0.3161, allocations: 0.7112 MB / 0.7499 GB, free: 6.473 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.3161, allocations: 0 / 0.7499 GB, free: 6.473 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.00654/0.3227, allocations: 4.228 MB / 0.754 GB, free: 2.203 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.3227, allocations: 81.11 kB / 0.7541 GB, free: 2.105 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7526/1.075, allocations: 24.84 MB / 0.7783 GB, free: 90.38 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004649/1.076, allocations: 88.92 kB / 0.7784 GB, free: 90.35 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01319/1.089, allocations: 10.83 MB / 0.789 GB, free: 81.72 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007286/1.09, allocations: 81.47 kB / 0.7891 GB, free: 81.72 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/1.091, allocations: 460.9 kB / 0.7895 GB, free: 81.7 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/1.091, allocations: 312.9 kB / 0.7898 GB, free: 81.39 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/1.091, allocations: 263.8 kB / 0.79 GB, free: 81.39 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/1.092, allocations: 271.3 kB / 0.7903 GB, free: 81.38 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.093, allocations: 0.5933 MB / 0.7909 GB, free: 81.3 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.093, allocations: 0 / 0.7909 GB, free: 81.3 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007513/1.1, allocations: 3.976 MB / 0.7948 GB, free: 81.21 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/1.1, allocations: 37.64 kB / 0.7948 GB, free: 81.18 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.1, allocations: 1.281 kB / 0.7948 GB, free: 81.18 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.101, allocations: 3.625 kB / 0.7948 GB, free: 81.18 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/1.101, allocations: 4.109 kB / 0.7948 GB, free: 81.18 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.101, allocations: 0 / 0.7948 GB, free: 81.18 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.104, allocations: 65.61 kB / 0.7949 GB, free: 81.18 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/1.105, allocations: 0.8608 MB / 0.7957 GB, free: 81.06 MB / 0.6079 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.008076/1.113, allocations: 4.905 MB / 0.8005 GB, free: 80.42 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003068/1.116, allocations: 2.27 MB / 0.8027 GB, free: 80.42 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/1.12, allocations: 2.569 MB / 0.8052 GB, free: 79.68 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.12, allocations: 0 / 0.8052 GB, free: 79.68 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.12, allocations: 0 / 0.8052 GB, free: 79.68 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.12, allocations: 2.062 kB / 0.8052 GB, free: 79.68 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.132, allocations: 7.617 MB / 0.8127 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.132, allocations: 5.219 kB / 0.8127 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/1.132, allocations: 0 / 0.8127 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/1.132, allocations: 3.688 kB / 0.8127 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006852/1.133, allocations: 190.9 kB / 0.8129 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.133, allocations: 4.406 kB / 0.8129 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.133, allocations: 0 / 0.8129 GB, free: 76.82 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/1.138, allocations: 4.168 MB / 0.8169 GB, free: 75.29 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004369/1.143, allocations: 1.985 MB / 0.8189 GB, free: 73.94 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002374/1.145, allocations: 72 kB / 0.8189 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.147, allocations: 67.94 kB / 0.819 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/1.147, allocations: 0 / 0.819 GB, free: 73.93 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006642/1.148, allocations: 0.8589 MB / 0.8198 GB, free: 73.81 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.03115/1.179, allocations: 17.25 MB / 0.8367 GB, free: 57.08 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.332e-06/1.179, allocations: 0 / 0.8367 GB, free: 57.08 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.004245/1.184, allocations: 0.6473 MB / 0.8373 GB, free: 56.44 MB / 0.6079 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.0006622/1.184, allocations: 194.1 kB / 0.8375 GB, free: 56.25 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001618/1.186, allocations: 0.6791 MB / 0.8382 GB, free: 55.56 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.186, allocations: 4 kB / 0.8382 GB, free: 55.55 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/1.186, allocations: 419.4 kB / 0.8386 GB, free: 55.13 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008295/1.195, allocations: 1.699 MB / 0.8402 GB, free: 53.44 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05152/1.246, allocations: 35.49 MB / 0.8749 GB, free: 18.15 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01144/1.258, allocations: 8.916 MB / 0.8836 GB, free: 9.195 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.259, allocations: 0.9877 MB / 0.8846 GB, free: 8.207 MB / 0.6079 GB Notification: Performance of SimCode: time 8.71e-07/1.259, allocations: 0 / 0.8846 GB, free: 8.207 MB / 0.6079 GB Notification: Performance of Templates: time 5.071/6.331, allocations: 1.622 GB / 2.507 GB, free: 97.36 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches