Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 112.8 kB / 17.07 MB, free: 5.992 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.001678/0.001678, allocations: 197.3 kB / 18 MB, free: 5.074 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.479/1.479, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.185/1.185, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 66.25 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1765, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.003069/0.1796, allocations: 1.577 MB / 0.6513 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1812, allocations: 0.8846 MB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1813, allocations: 4 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.1843, allocations: 3.461 MB / 0.6555 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.1861, allocations: 1.805 MB / 0.6573 GB, free: 5.293 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.1865, allocations: 103.5 kB / 0.6574 GB, free: 5.195 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.004462/0.191, allocations: 4.349 MB / 0.6616 GB, free: 0.8398 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.1911, allocations: 15.92 kB / 0.6616 GB, free: 0.8242 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.1947, allocations: 2.16 MB / 0.6637 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00543/0.2001, allocations: 4.056 MB / 0.6677 GB, free: 10.6 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005968/0.2008, allocations: 256 kB / 0.668 GB, free: 10.35 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006383/0.2014, allocations: 280 kB / 0.6682 GB, free: 10.07 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0117/0.2131, allocations: 9.974 MB / 0.678 GB, free: 76 kB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.009203/0.2224, allocations: 5.64 MB / 0.6835 GB, free: 10.38 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01556/0.238, allocations: 12.55 MB / 0.6957 GB, free: 13.74 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.238, allocations: 4 kB / 0.6957 GB, free: 13.73 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2381, allocations: 0 / 0.6957 GB, free: 13.73 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0004899/0.2385, allocations: 0 / 0.6957 GB, free: 13.73 MB / 0.5452 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0332/0.2718, allocations: 20.43 MB / 0.7157 GB, free: 9.078 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.2718, allocations: 11.89 kB / 0.7157 GB, free: 9.066 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.276, allocations: 2.329 MB / 0.718 GB, free: 6.723 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05645/0.3325, allocations: 26.22 MB / 0.7436 GB, free: 12.35 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.3326, allocations: 4.375 kB / 0.7436 GB, free: 12.35 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3326, allocations: 8.125 kB / 0.7436 GB, free: 12.34 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3328, allocations: 53.66 kB / 0.7436 GB, free: 12.28 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3329, allocations: 0 / 0.7436 GB, free: 12.28 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3329, allocations: 0 / 0.7436 GB, free: 12.28 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3329, allocations: 0 / 0.7436 GB, free: 12.28 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.333, allocations: 19.92 kB / 0.7437 GB, free: 12.26 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.3442, allocations: 6.95 MB / 0.7504 GB, free: 5.266 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.3445, allocations: 58.55 kB / 0.7505 GB, free: 5.199 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.3446, allocations: 24.78 kB / 0.7505 GB, free: 5.172 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3446, allocations: 0 / 0.7505 GB, free: 5.172 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.3449, allocations: 67.39 kB / 0.7506 GB, free: 5.094 MB / 0.592 GB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.3449, allocations: 0 / 0.7506 GB, free: 5.094 MB / 0.592 GB Notification: Performance of matching and sorting (n=5): time 0.003955/0.3488, allocations: 2.474 MB / 0.753 GB, free: 2.598 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3489, allocations: 55.41 kB / 0.7531 GB, free: 2.531 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7781/1.127, allocations: 25.35 MB / 0.7778 GB, free: 85.05 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/1.127, allocations: 26.86 kB / 0.7778 GB, free: 85.02 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01512/1.142, allocations: 11.34 MB / 0.7889 GB, free: 75.86 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/1.142, allocations: 15.52 kB / 0.7889 GB, free: 75.85 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.143, allocations: 20.33 kB / 0.7889 GB, free: 75.83 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/1.143, allocations: 308.6 kB / 0.7892 GB, free: 75.53 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/1.143, allocations: 16.78 kB / 0.7893 GB, free: 75.52 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/1.143, allocations: 30.23 kB / 0.7893 GB, free: 75.5 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/1.143, allocations: 46.19 kB / 0.7893 GB, free: 75.47 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.143, allocations: 0 / 0.7893 GB, free: 75.47 MB / 0.6079 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007006/1.15, allocations: 2.459 MB / 0.7917 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.15, allocations: 5.188 kB / 0.7917 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.15, allocations: 4.141 kB / 0.7917 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.15, allocations: 1.188 kB / 0.7917 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/1.15, allocations: 12.19 kB / 0.7918 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.15, allocations: 1.578 kB / 0.7918 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/1.154, allocations: 75.33 kB / 0.7918 GB, free: 75.43 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.154, allocations: 2.406 kB / 0.7918 GB, free: 75.43 MB / 0.6079 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.009751/1.164, allocations: 4.763 MB / 0.7965 GB, free: 74.82 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004062/1.168, allocations: 2.449 MB / 0.7989 GB, free: 74.82 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/1.174, allocations: 2.571 MB / 0.8014 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.174, allocations: 2.016 kB / 0.8014 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.174, allocations: 0 / 0.8014 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.174, allocations: 5.375 kB / 0.8014 GB, free: 74.09 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/1.188, allocations: 7.622 MB / 0.8088 GB, free: 70.77 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.188, allocations: 1 kB / 0.8088 GB, free: 70.77 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/1.188, allocations: 5.828 kB / 0.8088 GB, free: 70.77 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.188, allocations: 2.75 kB / 0.8088 GB, free: 70.77 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.188, allocations: 3.938 kB / 0.8088 GB, free: 70.76 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.188, allocations: 3.906 kB / 0.8088 GB, free: 70.76 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.188, allocations: 0 / 0.8088 GB, free: 70.76 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/1.192, allocations: 2.691 MB / 0.8115 GB, free: 69.17 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003717/1.196, allocations: 1.921 MB / 0.8134 GB, free: 67.71 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/1.198, allocations: 66.25 kB / 0.8134 GB, free: 67.71 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.2, allocations: 66 kB / 0.8135 GB, free: 67.71 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/1.2, allocations: 7.984 kB / 0.8135 GB, free: 67.7 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/1.2, allocations: 3.688 kB / 0.8135 GB, free: 67.7 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.0263/1.226, allocations: 17.51 MB / 0.8306 GB, free: 55.94 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.51e-07/1.226, allocations: 0 / 0.8306 GB, free: 55.94 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003285/1.23, allocations: 0.6289 MB / 0.8312 GB, free: 55.31 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001504/1.231, allocations: 401.9 kB / 0.8316 GB, free: 55.13 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0002557/1.231, allocations: 48.36 kB / 0.8316 GB, free: 55.09 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.231, allocations: 3 kB / 0.8316 GB, free: 55.09 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/1.231, allocations: 23.05 kB / 0.8317 GB, free: 55.07 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00694/1.238, allocations: 1.707 MB / 0.8333 GB, free: 53.36 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04121/1.28, allocations: 35.26 MB / 0.8678 GB, free: 18.26 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009358/1.289, allocations: 8.933 MB / 0.8765 GB, free: 9.289 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.0109/1.3, allocations: 5.67 MB / 0.882 GB, free: 3.605 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/1.303, allocations: 2.217 MB / 0.8842 GB, free: 1.387 MB / 0.6079 GB Notification: Performance of SimCode: time 9.72e-07/1.303, allocations: 0 / 0.8842 GB, free: 1.387 MB / 0.6079 GB Notification: Performance of Templates: time 0.2005/1.504, allocations: 60.94 MB / 0.9437 GB, free: 4.488 MB / 0.6704 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches