Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001559, allocations: 110.9 kB / 17.07 MB, free: 6.016 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.001626/0.001626, allocations: 191.7 kB / 18 MB, free: 5.098 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.744/1.744, allocations: 222.9 MB / 241.7 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.272/1.272, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 69.16 kB / 0.5709 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1765, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002986/0.1796, allocations: 1.41 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1808, allocations: 0.5652 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.1809, allocations: 4 kB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.1834, allocations: 3.43 MB / 0.655 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.1864, allocations: 3.473 MB / 0.6584 GB, free: 4.172 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.187, allocations: 79.78 kB / 0.6585 GB, free: 4.094 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.008171/0.1952, allocations: 8.551 MB / 0.6668 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.1953, allocations: 4 kB / 0.6668 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007017/0.2024, allocations: 4.247 MB / 0.671 GB, free: 7.273 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.2125, allocations: 8.089 MB / 0.6789 GB, free: 15.17 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001932/0.2145, allocations: 0.4922 MB / 0.6794 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.2158, allocations: 0.5702 MB / 0.6799 GB, free: 14.11 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02119/0.237, allocations: 19.9 MB / 0.6993 GB, free: 10.15 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02083/0.2579, allocations: 11.24 MB / 0.7103 GB, free: 14.79 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03503/0.293, allocations: 25 MB / 0.7347 GB, free: 5.625 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.2931, allocations: 0 / 0.7347 GB, free: 5.625 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2931, allocations: 0 / 0.7347 GB, free: 5.625 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001234/0.2943, allocations: 0 / 0.7347 GB, free: 5.625 MB / 0.5764 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.8646/1.159, allocations: 40.45 MB / 0.7742 GB, free: 84.86 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.159, allocations: 9.266 kB / 0.7742 GB, free: 84.86 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009227/1.168, allocations: 4.649 MB / 0.7788 GB, free: 82.66 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1507/1.319, allocations: 52.31 MB / 0.8299 GB, free: 43.39 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.319, allocations: 7.984 kB / 0.8299 GB, free: 43.39 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/1.319, allocations: 132.4 kB / 0.83 GB, free: 43.26 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.321, allocations: 1.51 MB / 0.8315 GB, free: 41.74 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/1.321, allocations: 0 / 0.8315 GB, free: 41.74 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/1.321, allocations: 130.8 kB / 0.8316 GB, free: 41.62 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.321, allocations: 0.875 kB / 0.8316 GB, free: 41.62 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009014/1.322, allocations: 0.8827 MB / 0.8325 GB, free: 40.74 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/1.353, allocations: 13.84 MB / 0.846 GB, free: 26.83 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/1.356, allocations: 0.5294 MB / 0.8465 GB, free: 26.3 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/1.357, allocations: 0.524 MB / 0.847 GB, free: 25.77 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.357, allocations: 0 / 0.847 GB, free: 25.77 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/1.358, allocations: 1.312 MB / 0.8483 GB, free: 24.44 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.857e-06/1.358, allocations: 0 / 0.8483 GB, free: 24.44 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01736/1.375, allocations: 8.568 MB / 0.8567 GB, free: 15.83 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/1.375, allocations: 82.55 kB / 0.8567 GB, free: 15.73 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1214/1.497, allocations: 49.58 MB / 0.9052 GB, free: 14.57 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.001468/1.498, allocations: 153.7 kB / 0.9053 GB, free: 14.41 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.03642/1.535, allocations: 22.54 MB / 0.9273 GB, free: 7.852 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.536, allocations: 147.8 kB / 0.9275 GB, free: 7.707 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003836/1.54, allocations: 0.8769 MB / 0.9283 GB, free: 6.828 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.54, allocations: 314.8 kB / 0.9286 GB, free: 6.516 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009357/1.541, allocations: 0.5055 MB / 0.9291 GB, free: 6.012 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/1.542, allocations: 0.5076 MB / 0.9296 GB, free: 5.508 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/1.544, allocations: 1.071 MB / 0.9307 GB, free: 4.422 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.544, allocations: 4 kB / 0.9307 GB, free: 4.418 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01592/1.56, allocations: 8.059 MB / 0.9385 GB, free: 12.31 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/1.56, allocations: 33.7 kB / 0.9386 GB, free: 12.27 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.56, allocations: 0 / 0.9386 GB, free: 12.27 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.56, allocations: 4 kB / 0.9386 GB, free: 12.27 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.56, allocations: 14.8 kB / 0.9386 GB, free: 12.26 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.56, allocations: 0 / 0.9386 GB, free: 12.26 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00982/1.57, allocations: 135.5 kB / 0.9387 GB, free: 12.13 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001777/1.571, allocations: 1.711 MB / 0.9404 GB, free: 10.42 MB / 0.686 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.01795/1.589, allocations: 9.666 MB / 0.9498 GB, free: 0.7344 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01058/1.6, allocations: 4.769 MB / 0.9545 GB, free: 11.93 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.613, allocations: 5.118 MB / 0.9595 GB, free: 6.805 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.613, allocations: 3.75 kB / 0.9595 GB, free: 6.805 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.613, allocations: 0 / 0.9595 GB, free: 6.805 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.613, allocations: 96 / 0.9595 GB, free: 6.805 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03794/1.651, allocations: 15.08 MB / 0.9742 GB, free: 7.66 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.651, allocations: 0 / 0.9742 GB, free: 7.66 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/1.651, allocations: 8 kB / 0.9742 GB, free: 7.652 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.651, allocations: 0 / 0.9742 GB, free: 7.652 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001347/1.653, allocations: 379.9 kB / 0.9746 GB, free: 7.281 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.653, allocations: 6.172 kB / 0.9746 GB, free: 7.277 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.653, allocations: 2.688 kB / 0.9746 GB, free: 7.277 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.667, allocations: 8.398 MB / 0.9828 GB, free: 14.82 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01512/1.682, allocations: 4.118 MB / 0.9868 GB, free: 10.66 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005465/1.688, allocations: 131.8 kB / 0.9869 GB, free: 10.53 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007163/1.695, allocations: 131 kB / 0.9871 GB, free: 10.41 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/1.695, allocations: 5.5 kB / 0.9871 GB, free: 10.4 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002011/1.697, allocations: 1.72 MB / 0.9887 GB, free: 8.684 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07707/1.774, allocations: 34.49 MB / 1.022 GB, free: 6.5 MB / 0.7642 GB Notification: Performance of sort global known variables: time 9.91e-07/1.774, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.007356/1.782, allocations: 1.25 MB / 1.024 GB, free: 5.25 MB / 0.7642 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.0005208/1.782, allocations: 252.3 kB / 1.024 GB, free: 5 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.784, allocations: 1.238 MB / 1.025 GB, free: 3.75 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.784, allocations: 0 / 1.025 GB, free: 3.75 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.785, allocations: 0.7182 MB / 1.026 GB, free: 3.02 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.016/1.801, allocations: 3.381 MB / 1.029 GB, free: 15.64 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5668/2.368, allocations: 71.79 MB / 1.099 GB, free: 282 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03609/2.404, allocations: 17.34 MB / 1.116 GB, free: 275.5 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02297/2.427, allocations: 9.427 MB / 1.125 GB, free: 270.8 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002907/2.43, allocations: 1.961 MB / 1.127 GB, free: 270.8 MB / 0.8267 GB Notification: Performance of SimCode: time 1.663e-06/2.43, allocations: 2.656 kB / 1.127 GB, free: 270.8 MB / 0.8267 GB Notification: Performance of Templates: time 0.4649/2.895, allocations: 167.3 MB / 1.291 GB, free: 120.8 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches