Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 106.9 kB / 17.16 MB, free: 6.082 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.001235/0.001235, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.31/1.31, allocations: 222.9 MB / 241.8 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9629/0.9629, allocations: 119.3 MB / 411.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 0.4909 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.5442, allocations: 80.67 MB / 0.5697 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002535/0.5467, allocations: 1.467 MB / 0.5711 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.5477, allocations: 0.5966 MB / 0.5717 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.5477, allocations: 0 / 0.5717 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.5482, allocations: 444.4 kB / 0.5721 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.5486, allocations: 486 kB / 0.5726 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.5489, allocations: 63.88 kB / 0.5727 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007943/0.5497, allocations: 1.117 MB / 0.5737 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.5497, allocations: 3.812 kB / 0.5737 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005238/0.5503, allocations: 0.5573 MB / 0.5743 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008567/0.5511, allocations: 0.9802 MB / 0.5752 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.5513, allocations: 63.19 kB / 0.5753 GB, free: 40.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.5515, allocations: 133.6 kB / 0.5754 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.554, allocations: 2.493 MB / 0.5779 GB, free: 38.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009752/0.5549, allocations: 1.424 MB / 0.5793 GB, free: 37.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.557, allocations: 2.321 MB / 0.5815 GB, free: 36.37 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.557, allocations: 0 / 0.5815 GB, free: 36.37 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.092e-06/0.557, allocations: 0 / 0.5815 GB, free: 36.37 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.843e-05/0.5571, allocations: 0 / 0.5815 GB, free: 36.37 MB / 462.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.006412/0.5636, allocations: 5.168 MB / 0.5866 GB, free: 32.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.5636, allocations: 9.25 kB / 0.5866 GB, free: 32.43 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007897/0.5644, allocations: 0.5528 MB / 0.5871 GB, free: 31.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008425/0.5729, allocations: 6.535 MB / 0.5935 GB, free: 25.31 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.5729, allocations: 384 / 0.5935 GB, free: 25.31 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.573, allocations: 24.38 kB / 0.5935 GB, free: 25.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.5733, allocations: 237.8 kB / 0.5938 GB, free: 25.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.5733, allocations: 0 / 0.5938 GB, free: 25.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.5733, allocations: 20 kB / 0.5938 GB, free: 25.03 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5733, allocations: 0 / 0.5938 GB, free: 25.03 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.5735, allocations: 135.9 kB / 0.5939 GB, free: 24.9 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.5755, allocations: 1.858 MB / 0.5957 GB, free: 22.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.5757, allocations: 98.56 kB / 0.5958 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5758, allocations: 96.86 kB / 0.5959 GB, free: 22.79 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.5758, allocations: 0 / 0.5959 GB, free: 22.79 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.5762, allocations: 256.8 kB / 0.5961 GB, free: 22.52 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.5762, allocations: 0 / 0.5961 GB, free: 22.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001246/0.5774, allocations: 1.172 MB / 0.5973 GB, free: 21.33 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5775, allocations: 85.11 kB / 0.5974 GB, free: 21.23 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005981/0.5835, allocations: 6.271 MB / 0.6035 GB, free: 15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.5836, allocations: 45.7 kB / 0.6035 GB, free: 14.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/0.5851, allocations: 2.52 MB / 0.606 GB, free: 12.43 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5852, allocations: 43.67 kB / 0.606 GB, free: 12.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.5854, allocations: 129.7 kB / 0.6062 GB, free: 12.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.5854, allocations: 310 kB / 0.6065 GB, free: 11.94 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.5855, allocations: 80 kB / 0.6065 GB, free: 11.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.5857, allocations: 79.98 kB / 0.6066 GB, free: 11.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.5859, allocations: 228.2 kB / 0.6068 GB, free: 11.55 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5859, allocations: 4 kB / 0.6068 GB, free: 11.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001197/0.5871, allocations: 1.093 MB / 0.6079 GB, free: 10.43 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.5872, allocations: 33.7 kB / 0.6079 GB, free: 10.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.5872, allocations: 0 / 0.6079 GB, free: 10.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5872, allocations: 0 / 0.6079 GB, free: 10.39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.5873, allocations: 7.984 kB / 0.6079 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5873, allocations: 0 / 0.6079 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.5878, allocations: 20 kB / 0.608 GB, free: 10.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.5879, allocations: 220 kB / 0.6082 GB, free: 10.15 MB / 462.3 MB 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.001754/0.5897, allocations: 1.342 MB / 0.6095 GB, free: 8.789 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.5901, allocations: 0.5746 MB / 0.61 GB, free: 8.207 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.5908, allocations: 0.648 MB / 0.6107 GB, free: 7.551 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5908, allocations: 144 / 0.6107 GB, free: 7.551 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5908, allocations: 0 / 0.6107 GB, free: 7.551 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5908, allocations: 7.984 kB / 0.6107 GB, free: 7.543 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.5922, allocations: 2.018 MB / 0.6127 GB, free: 5.477 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5922, allocations: 0 / 0.6127 GB, free: 5.477 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.5923, allocations: 7.922 kB / 0.6127 GB, free: 5.469 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5923, allocations: 4.094 kB / 0.6127 GB, free: 5.465 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.5923, allocations: 55.94 kB / 0.6127 GB, free: 5.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5924, allocations: 7.938 kB / 0.6127 GB, free: 5.402 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5924, allocations: 0 / 0.6127 GB, free: 5.402 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009555/0.5933, allocations: 1.172 MB / 0.6139 GB, free: 4.199 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.5938, allocations: 0.564 MB / 0.6144 GB, free: 3.609 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.5941, allocations: 20 kB / 0.6144 GB, free: 3.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.5944, allocations: 20 kB / 0.6145 GB, free: 3.57 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.5944, allocations: 3.984 kB / 0.6145 GB, free: 3.566 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.5945, allocations: 228 kB / 0.6147 GB, free: 3.344 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005138/0.5997, allocations: 4.328 MB / 0.6189 GB, free: 15.05 MB / 478.3 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5997, allocations: 0 / 0.6189 GB, free: 15.05 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0008408/0.6006, allocations: 188 kB / 0.6191 GB, free: 14.87 MB / 478.3 MB 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.000239/0.6008, allocations: 138 kB / 0.6192 GB, free: 14.73 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.6013, allocations: 287.3 kB / 0.6195 GB, free: 14.44 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6013, allocations: 0 / 0.6195 GB, free: 14.44 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.6015, allocations: 187.4 kB / 0.6197 GB, free: 14.24 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6029, allocations: 445.9 kB / 0.6201 GB, free: 13.8 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.6165, allocations: 9.734 MB / 0.6296 GB, free: 4.031 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/0.619, allocations: 2.717 MB / 0.6323 GB, free: 1.289 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.6194, allocations: 259.4 kB / 0.6325 GB, free: 1.035 MB / 478.3 MB Notification: Performance of SimCode: time 9.02e-07/0.6194, allocations: 0 / 0.6325 GB, free: 1.035 MB / 478.3 MB Notification: Performance of Templates: time 0.7487/1.368, allocations: 140 MB / 0.7692 GB, free: 158.2 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches