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.001378/0.001378, allocations: 108.8 kB / 17.06 MB, free: 5.82 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.001324/0.001324, allocations: 196.6 kB / 18 MB, free: 4.965 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.57/1.57, 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.22/1.22, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 68.22 kB / 0.5709 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1822, allocations: 80.69 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.002858/0.1851, allocations: 1.417 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1862, allocations: 0.5652 MB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.1863, allocations: 0 / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.189, allocations: 3.43 MB / 0.655 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.1919, allocations: 3.469 MB / 0.6584 GB, free: 4.172 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1923, allocations: 79.73 kB / 0.6585 GB, free: 4.094 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007731/0.2, allocations: 8.551 MB / 0.6668 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.2001, allocations: 7.984 kB / 0.6668 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006158/0.2063, allocations: 4.247 MB / 0.671 GB, free: 7.27 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009663/0.2159, allocations: 8.081 MB / 0.6789 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.2173, allocations: 0.4922 MB / 0.6793 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2185, allocations: 0.5663 MB / 0.6799 GB, free: 14.12 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02316/0.2416, allocations: 19.92 MB / 0.6993 GB, free: 10.15 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01826/0.2599, allocations: 11.25 MB / 0.7103 GB, free: 14.79 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03131/0.2913, allocations: 24.99 MB / 0.7347 GB, free: 5.625 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.2914, allocations: 0 / 0.7347 GB, free: 5.625 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2914, allocations: 4 kB / 0.7347 GB, free: 5.621 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.00102/0.2924, allocations: 0 / 0.7347 GB, free: 5.621 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.6928/0.9852, allocations: 40.46 MB / 0.7742 GB, free: 85.29 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.9852, allocations: 11.38 kB / 0.7743 GB, free: 85.29 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006734/0.992, allocations: 4.646 MB / 0.7788 GB, free: 83.08 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1219/1.114, allocations: 52.31 MB / 0.8299 GB, free: 43.55 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/1.114, allocations: 3.438 kB / 0.8299 GB, free: 43.55 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008489/1.115, allocations: 128.4 kB / 0.83 GB, free: 43.42 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/1.118, allocations: 1.52 MB / 0.8315 GB, free: 41.9 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.118, allocations: 6 kB / 0.8315 GB, free: 41.89 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/1.118, allocations: 124 kB / 0.8316 GB, free: 41.77 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.118, allocations: 0 / 0.8316 GB, free: 41.77 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/1.119, allocations: 0.875 MB / 0.8325 GB, free: 40.9 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02462/1.144, allocations: 13.85 MB / 0.846 GB, free: 26.99 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/1.146, allocations: 0.5291 MB / 0.8465 GB, free: 26.45 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/1.148, allocations: 0.5251 MB / 0.847 GB, free: 25.93 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/1.148, allocations: 0 / 0.847 GB, free: 25.93 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/1.15, allocations: 1.312 MB / 0.8483 GB, free: 24.6 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 2.445e-06/1.15, allocations: 0 / 0.8483 GB, free: 24.6 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.0126/1.162, allocations: 8.569 MB / 0.8567 GB, free: 15.99 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.162, allocations: 81.11 kB / 0.8567 GB, free: 15.89 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1078/1.27, allocations: 49.58 MB / 0.9052 GB, free: 14.72 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.0009218/1.271, allocations: 153.7 kB / 0.9053 GB, free: 14.57 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.03406/1.305, allocations: 22.54 MB / 0.9273 GB, free: 8.012 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.306, allocations: 151.3 kB / 0.9275 GB, free: 7.867 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003123/1.309, allocations: 0.8772 MB / 0.9283 GB, free: 6.984 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.31, allocations: 307 kB / 0.9286 GB, free: 6.68 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/1.311, allocations: 0.5104 MB / 0.9291 GB, free: 6.172 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.313, allocations: 0.5 MB / 0.9296 GB, free: 5.672 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/1.315, allocations: 1.082 MB / 0.9307 GB, free: 4.578 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.315, allocations: 0 / 0.9307 GB, free: 4.578 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01414/1.329, allocations: 8.059 MB / 0.9385 GB, free: 12.47 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/1.329, allocations: 37.45 kB / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.329, allocations: 0 / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.329, allocations: 3.812 kB / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/1.329, allocations: 6.25 kB / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.329, allocations: 0 / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007015/1.336, allocations: 132 kB / 0.9387 GB, free: 12.3 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002833/1.339, allocations: 1.719 MB / 0.9404 GB, free: 10.58 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.02049/1.36, allocations: 9.664 MB / 0.9498 GB, free: 0.8945 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01105/1.371, allocations: 4.773 MB / 0.9545 GB, free: 12.09 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.385, allocations: 5.118 MB / 0.9595 GB, free: 6.961 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.385, allocations: 3.656 kB / 0.9595 GB, free: 6.961 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.385, allocations: 96 / 0.9595 GB, free: 6.961 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.385, allocations: 6.75 kB / 0.9595 GB, free: 6.957 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/1.424, allocations: 15.08 MB / 0.9742 GB, free: 7.816 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.424, allocations: 0 / 0.9742 GB, free: 7.816 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/1.424, allocations: 7.938 kB / 0.9742 GB, free: 7.809 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.424, allocations: 0 / 0.9742 GB, free: 7.809 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001307/1.425, allocations: 381.1 kB / 0.9746 GB, free: 7.438 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.425, allocations: 0 / 0.9746 GB, free: 7.438 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.425, allocations: 0 / 0.9746 GB, free: 7.438 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.44, allocations: 8.401 MB / 0.9828 GB, free: 14.98 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01187/1.452, allocations: 4.121 MB / 0.9868 GB, free: 10.81 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004685/1.456, allocations: 134.9 kB / 0.9869 GB, free: 10.68 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005034/1.461, allocations: 128 kB / 0.9871 GB, free: 10.56 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/1.462, allocations: 4 kB / 0.9871 GB, free: 10.55 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002506/1.464, allocations: 1.711 MB / 0.9887 GB, free: 8.844 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07388/1.538, allocations: 34.49 MB / 1.022 GB, free: 6.652 MB / 0.7642 GB Notification: Performance of sort global known variables: time 5.62e-07/1.538, allocations: 0 / 1.022 GB, free: 6.652 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.007334/1.545, allocations: 1.25 MB / 1.024 GB, free: 5.402 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.0008884/1.546, allocations: 256.5 kB / 1.024 GB, free: 5.148 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.002334/1.549, allocations: 1.234 MB / 1.025 GB, free: 3.902 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.549, allocations: 0 / 1.025 GB, free: 3.902 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.55, allocations: 0.7182 MB / 1.026 GB, free: 3.172 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01772/1.568, allocations: 3.38 MB / 1.029 GB, free: 15.79 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4754/2.043, allocations: 71.79 MB / 1.099 GB, free: 282.6 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03344/2.076, allocations: 17.33 MB / 1.116 GB, free: 275.9 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02583/2.102, allocations: 9.426 MB / 1.125 GB, free: 271.2 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005582/2.108, allocations: 1.966 MB / 1.127 GB, free: 271.2 MB / 0.8267 GB Notification: Performance of SimCode: time 2.154e-06/2.108, allocations: 0 / 1.127 GB, free: 271.2 MB / 0.8267 GB Notification: Performance of Templates: time 0.4154/2.523, allocations: 167.3 MB / 1.291 GB, free: 122.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