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.0008564/0.0008565, allocations: 88.39 kB / 16.31 MB, free: 6.453 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.0009064/0.0009064, allocations: 186.4 kB / 17.21 MB, free: 6.32 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.166/1.166, allocations: 223.3 MB / 241.2 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7266/0.7266, allocations: 120.5 MB / 412.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 8 kB / 0.4943 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3983, allocations: 82.83 MB / 0.5752 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001003/0.3993, allocations: 1.121 MB / 0.5763 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000604/0.3999, allocations: 0.5291 MB / 0.5768 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.4, allocations: 0 / 0.5768 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.402, allocations: 3.794 MB / 0.5805 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.404, allocations: 3.832 MB / 0.5842 GB, free: 37.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.4042, allocations: 74.59 kB / 0.5843 GB, free: 37.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.4075, allocations: 7.248 MB / 0.5914 GB, free: 29.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.4075, allocations: 4 kB / 0.5914 GB, free: 29.83 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.4096, allocations: 4.424 MB / 0.5957 GB, free: 25.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.4137, allocations: 8.15 MB / 0.6037 GB, free: 17.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0007434/0.4144, allocations: 500 kB / 0.6041 GB, free: 16.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.4152, allocations: 0.5507 MB / 0.6047 GB, free: 16.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0132/0.4284, allocations: 19.9 MB / 0.6241 GB, free: 12.25 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.4318, allocations: 3.947 MB / 0.628 GB, free: 8.273 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.4435, allocations: 18 MB / 0.6455 GB, free: 6.207 MB / 494.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4435, allocations: 0 / 0.6455 GB, free: 6.207 MB / 494.3 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4435, allocations: 0 / 0.6455 GB, free: 6.207 MB / 494.3 MB Notification: Performance of Transformations before backend: time 0.0002963/0.4438, allocations: 0 / 0.6455 GB, free: 6.207 MB / 494.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.03282/0.4766, allocations: 34.59 MB / 0.6793 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.4767, allocations: 12.03 kB / 0.6793 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.4812, allocations: 4.402 MB / 0.6836 GB, free: 14.8 MB / 0.5296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07169/0.5529, allocations: 49.13 MB / 0.7316 GB, free: 13.38 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.553, allocations: 4 kB / 0.7316 GB, free: 13.37 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.5532, allocations: 124 kB / 0.7317 GB, free: 13.25 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5547, allocations: 1.512 MB / 0.7332 GB, free: 11.73 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5547, allocations: 0 / 0.7332 GB, free: 11.73 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002062/0.5549, allocations: 131.8 kB / 0.7333 GB, free: 11.61 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.5549, allocations: 4 kB / 0.7333 GB, free: 11.6 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.556, allocations: 0.8749 MB / 0.7342 GB, free: 10.73 MB / 0.5764 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.5693, allocations: 13.85 MB / 0.7477 GB, free: 12.82 MB / 0.5921 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.5702, allocations: 0.5259 MB / 0.7482 GB, free: 12.28 MB / 0.5921 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.5709, allocations: 0.5126 MB / 0.7487 GB, free: 11.77 MB / 0.5921 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.5709, allocations: 0 / 0.7487 GB, free: 11.77 MB / 0.5921 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.5722, allocations: 1.328 MB / 0.75 GB, free: 10.42 MB / 0.5921 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.5722, allocations: 0 / 0.75 GB, free: 10.42 MB / 0.5921 GB Notification: Performance of matching and sorting (n=8): time 0.009178/0.5813, allocations: 8.314 MB / 0.7581 GB, free: 2.035 MB / 0.5921 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.5814, allocations: 81.11 kB / 0.7582 GB, free: 1.938 MB / 0.5921 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4374/1.019, allocations: 49.46 MB / 0.8065 GB, free: 119.1 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0002744/1.019, allocations: 149.7 kB / 0.8067 GB, free: 118.9 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01435/1.033, allocations: 22.55 MB / 0.8287 GB, free: 96.38 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/1.034, allocations: 145.3 kB / 0.8288 GB, free: 96.25 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/1.034, allocations: 128 kB / 0.829 GB, free: 96.13 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/1.034, allocations: 309 kB / 0.8292 GB, free: 95.82 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/1.035, allocations: 0.5078 MB / 0.8297 GB, free: 95.32 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/1.035, allocations: 0.5024 MB / 0.8302 GB, free: 94.82 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/1.036, allocations: 0.5329 MB / 0.8308 GB, free: 94.28 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.036, allocations: 5.672 kB / 0.8308 GB, free: 94.27 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006727/1.043, allocations: 7.819 MB / 0.8384 GB, free: 88.88 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.043, allocations: 29.7 kB / 0.8384 GB, free: 88.84 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.043, allocations: 10.98 kB / 0.8384 GB, free: 88.84 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.043, allocations: 0 / 0.8384 GB, free: 88.84 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/1.043, allocations: 4 kB / 0.8384 GB, free: 88.83 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.043, allocations: 3.953 kB / 0.8384 GB, free: 88.83 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/1.046, allocations: 130.5 kB / 0.8386 GB, free: 88.7 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008659/1.046, allocations: 1.715 MB / 0.8402 GB, free: 86.98 MB / 0.5923 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009402/1.056, allocations: 9.667 MB / 0.8497 GB, free: 77.3 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003026/1.059, allocations: 4.527 MB / 0.8541 GB, free: 72.71 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/1.064, allocations: 5.111 MB / 0.8591 GB, free: 67.59 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.064, allocations: 5.078 kB / 0.8591 GB, free: 67.58 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.064, allocations: 2.25 kB / 0.8591 GB, free: 67.58 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/1.064, allocations: 3.953 kB / 0.8591 GB, free: 67.58 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.074, allocations: 15.07 MB / 0.8738 GB, free: 52.45 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.074, allocations: 0 / 0.8738 GB, free: 52.45 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/1.074, allocations: 10.84 kB / 0.8738 GB, free: 52.44 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.074, allocations: 0 / 0.8738 GB, free: 52.44 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004847/1.075, allocations: 384 kB / 0.8742 GB, free: 52.07 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/1.075, allocations: 0 / 0.8742 GB, free: 52.07 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.075, allocations: 1.188 kB / 0.8742 GB, free: 52.07 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006429/1.081, allocations: 8.158 MB / 0.8822 GB, free: 43.83 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/1.085, allocations: 3.876 MB / 0.8859 GB, free: 39.88 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/1.086, allocations: 128 kB / 0.8861 GB, free: 39.75 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.088, allocations: 128 kB / 0.8862 GB, free: 39.63 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/1.089, allocations: 2.906 kB / 0.8862 GB, free: 39.63 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009024/1.089, allocations: 1.719 MB / 0.8879 GB, free: 37.91 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.03389/1.123, allocations: 34.36 MB / 0.9214 GB, free: 3.848 MB / 0.5923 GB Notification: Performance of sort global known variables: time 2.6e-07/1.123, allocations: 3 kB / 0.9214 GB, free: 3.848 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.003337/1.127, allocations: 1.254 MB / 0.9227 GB, free: 2.594 MB / 0.5923 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/1.127, allocations: 244.7 kB / 0.9229 GB, free: 2.355 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.129, allocations: 1.234 MB / 0.9241 GB, free: 1.109 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.129, allocations: 0 / 0.9241 GB, free: 1.109 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/1.13, allocations: 0.722 MB / 0.9248 GB, free: 384 kB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006549/1.136, allocations: 3.383 MB / 0.9281 GB, free: 13 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08212/1.218, allocations: 74.98 MB / 1.001 GB, free: 2.449 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01647/1.235, allocations: 17.33 MB / 1.018 GB, free: 1.07 MB / 0.6861 GB Notification: Performance of simCode: alias equations: time 0.2384/1.473, allocations: 9.327 MB / 1.027 GB, free: 197.9 MB / 0.6861 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/1.475, allocations: 1.963 MB / 1.029 GB, free: 197.9 MB / 0.6861 GB Notification: Performance of SimCode: time 7.91e-07/1.475, allocations: 0 / 1.029 GB, free: 197.9 MB / 0.6861 GB Notification: Performance of Templates: time 0.2956/1.771, allocations: 164.9 MB / 1.19 GB, free: 63.87 MB / 0.6861 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches