Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 110.4 kB / 17.06 MB, free: 6.023 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.001439/0.001439, allocations: 191 kB / 18 MB, free: 5.105 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.475/1.475, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.172/1.172, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 61.78 kB / 0.5709 GB, free: 39.92 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1744, allocations: 80.71 MB / 0.6497 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.00262/0.177, allocations: 1.398 MB / 0.6511 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1781, allocations: 0.573 MB / 0.6516 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.1782, allocations: 0 / 0.6516 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.008483/0.1867, allocations: 13.68 MB / 0.665 GB, free: 13.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.1955, allocations: 13.73 MB / 0.6784 GB, free: 15.74 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.196, allocations: 79.72 kB / 0.6785 GB, free: 15.66 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.02745/0.2234, allocations: 34.01 MB / 0.7117 GB, free: 13.61 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.2236, allocations: 8 kB / 0.7117 GB, free: 13.6 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02835/0.2519, allocations: 16.89 MB / 0.7282 GB, free: 12.69 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7552/1.007, allocations: 32.25 MB / 0.7597 GB, free: 32.98 MB / 0.5923 GB Notification: Performance of NFPackage.collectConstants: time 0.01188/1.019, allocations: 1.956 MB / 0.7616 GB, free: 32.98 MB / 0.5923 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01475/1.034, allocations: 2.027 MB / 0.7636 GB, free: 32.96 MB / 0.5923 GB Notification: Performance of NFScalarize.scalarize: time 0.07958/1.114, allocations: 79.6 MB / 0.8413 GB, free: 0.707 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.07791/1.192, allocations: 44.95 MB / 0.8852 GB, free: 3.324 MB / 0.6392 GB Notification: Performance of NFConvertDAE.convert: time 0.137/1.329, allocations: 98.72 MB / 0.9816 GB, free: 64 kB / 0.7329 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/1.329, allocations: 0 / 0.9816 GB, free: 64 kB / 0.7329 GB Notification: Performance of FrontEnd: time 2.715e-06/1.329, allocations: 0 / 0.9816 GB, free: 64 kB / 0.7329 GB Notification: Performance of Transformations before backend: time 0.006049/1.335, allocations: 0 / 0.9816 GB, free: 64 kB / 0.7329 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 1.095/2.43, allocations: 153.9 MB / 1.132 GB, free: 153.4 MB / 0.8272 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/2.43, allocations: 12.03 kB / 1.132 GB, free: 153.4 MB / 0.8272 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04059/2.471, allocations: 17.58 MB / 1.149 GB, free: 135.5 MB / 0.8272 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9023/3.373, allocations: 206 MB / 1.35 GB, free: 11.94 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/3.373, allocations: 4.375 kB / 1.35 GB, free: 11.93 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00557/3.379, allocations: 0.4886 MB / 1.351 GB, free: 11.45 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/3.404, allocations: 5.909 MB / 1.356 GB, free: 5.527 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/3.404, allocations: 0 / 1.356 GB, free: 5.527 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00365/3.408, allocations: 0.496 MB / 1.357 GB, free: 5.031 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/3.408, allocations: 4 kB / 1.357 GB, free: 5.027 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/3.422, allocations: 3.433 MB / 1.36 GB, free: 1.598 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/3.564, allocations: 54.93 MB / 1.414 GB, free: 10.55 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/3.575, allocations: 1.996 MB / 1.416 GB, free: 8.551 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009665/3.585, allocations: 1.981 MB / 1.418 GB, free: 6.566 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/3.585, allocations: 4.266 kB / 1.418 GB, free: 6.566 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01577/3.6, allocations: 4.982 MB / 1.423 GB, free: 1.566 MB / 0.9678 GB Notification: Performance of pre-optimization done (n=8): time 3.757e-06/3.6, allocations: 0 / 1.423 GB, free: 1.566 MB / 0.9678 GB Notification: Performance of matching and sorting (n=8): time 0.1094/3.71, allocations: 32.86 MB / 1.455 GB, free: 472 kB / 0.999 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/3.71, allocations: 80.95 kB / 1.455 GB, free: 376 kB / 0.999 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9951/4.705, allocations: 198 MB / 1.648 GB, free: 183.3 MB / 0.999 GB Notification: Performance of collectPreVariables (initialization): time 0.005106/4.71, allocations: 0.5163 MB / 1.649 GB, free: 182.8 MB / 0.999 GB Notification: Performance of collectInitialEqns (initialization): time 0.1067/4.817, allocations: 97.77 MB / 1.744 GB, free: 84.98 MB / 0.999 GB Notification: Performance of collectInitialBindings (initialization): time 0.004386/4.821, allocations: 0.5062 MB / 1.745 GB, free: 84.49 MB / 0.999 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01363/4.835, allocations: 3.435 MB / 1.748 GB, free: 81.05 MB / 0.999 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/4.835, allocations: 318 kB / 1.748 GB, free: 80.73 MB / 0.999 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009182/4.844, allocations: 1.965 MB / 1.75 GB, free: 78.77 MB / 0.999 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007843/4.852, allocations: 1.976 MB / 1.752 GB, free: 76.8 MB / 0.999 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/4.868, allocations: 4 MB / 1.756 GB, free: 72.78 MB / 0.999 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/4.868, allocations: 3.469 kB / 1.756 GB, free: 72.78 MB / 0.999 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0985/4.967, allocations: 30.9 MB / 1.786 GB, free: 51.65 MB / 0.999 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/4.967, allocations: 37.45 kB / 1.786 GB, free: 51.61 MB / 0.999 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/4.967, allocations: 0 / 1.786 GB, free: 51.61 MB / 0.999 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/4.967, allocations: 5.062 kB / 1.786 GB, free: 51.61 MB / 0.999 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/4.967, allocations: 5.938 kB / 1.786 GB, free: 51.6 MB / 0.999 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/4.967, allocations: 0 / 1.786 GB, free: 51.6 MB / 0.999 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03764/5.005, allocations: 0.4922 MB / 1.787 GB, free: 51.11 MB / 0.999 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01705/5.022, allocations: 6.836 MB / 1.794 GB, free: 44.27 MB / 0.999 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.05616/5.078, allocations: 38.24 MB / 1.831 GB, free: 5.988 MB / 0.999 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6306/5.708, allocations: 18.07 MB / 1.849 GB, free: 306.6 MB / 0.999 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05847/5.767, allocations: 20.44 MB / 1.869 GB, free: 300.9 MB / 0.999 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/5.767, allocations: 0 / 1.869 GB, free: 300.9 MB / 0.999 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/5.767, allocations: 0 / 1.869 GB, free: 300.9 MB / 0.999 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/5.767, allocations: 1.688 kB / 1.869 GB, free: 300.9 MB / 0.999 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1695/5.936, allocations: 59.83 MB / 1.927 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/5.937, allocations: 10.3 kB / 1.927 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/5.937, allocations: 5.406 kB / 1.927 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/5.937, allocations: 0 / 1.927 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005584/5.942, allocations: 1.468 MB / 1.928 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/5.942, allocations: 2.125 kB / 1.928 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/5.942, allocations: 0 / 1.928 GB, free: 274.9 MB / 0.999 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1049/6.047, allocations: 32.11 MB / 1.96 GB, free: 272.7 MB / 0.999 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06216/6.109, allocations: 15.23 MB / 1.975 GB, free: 264.3 MB / 0.999 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04119/6.151, allocations: 500 kB / 1.975 GB, free: 263.8 MB / 0.999 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04563/6.196, allocations: 0.4922 MB / 1.976 GB, free: 263.3 MB / 0.999 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/6.197, allocations: 8.5 kB / 1.976 GB, free: 263.3 MB / 0.999 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01819/6.215, allocations: 6.837 MB / 1.982 GB, free: 256.5 MB / 0.999 GB Notification: Performance of sorting global known variables: time 0.3887/6.604, allocations: 137.9 MB / 2.117 GB, free: 119.9 MB / 0.999 GB Notification: Performance of sort global known variables: time 1.312e-06/6.604, allocations: 2.594 kB / 2.117 GB, free: 119.9 MB / 0.999 GB Notification: Performance of remove unused functions: time 0.03543/6.639, allocations: 4.913 MB / 2.122 GB, free: 114.9 MB / 0.999 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.004437/6.644, allocations: 0.6093 MB / 2.122 GB, free: 114.3 MB / 0.999 GB Notification: Performance of simCode: created initialization part: time 0.0271/6.671, allocations: 4.543 MB / 2.127 GB, free: 109.8 MB / 0.999 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/6.671, allocations: 3 kB / 2.127 GB, free: 109.8 MB / 0.999 GB Notification: Performance of simCode: created simulation system equations: time 0.01556/6.686, allocations: 2.546 MB / 2.129 GB, free: 107.2 MB / 0.999 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1493/6.836, allocations: 13.48 MB / 2.142 GB, free: 93.74 MB / 0.999 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.17/8.006, allocations: 293.6 MB / 2.429 GB, free: 169.8 MB / 0.999 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1442/8.15, allocations: 68.47 MB / 2.496 GB, free: 102.5 MB / 0.999 GB Notification: Performance of simCode: alias equations: time 0.1117/8.262, allocations: 37.28 MB / 2.532 GB, free: 65.19 MB / 0.999 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01905/8.281, allocations: 7.82 MB / 2.54 GB, free: 57.37 MB / 0.999 GB Notification: Performance of SimCode: time 3.657e-06/8.281, allocations: 0 / 2.54 GB, free: 57.37 MB / 0.999 GB Notification: Performance of Templates: time 3.19/11.47, allocations: 0.6734 GB / 3.214 GB, free: 198.6 MB / 1.093 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches