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.0008588/0.000859, allocations: 87.56 kB / 16.31 MB, free: 5.684 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.0008963/0.0008963, allocations: 185.2 kB / 17.21 MB, free: 5.598 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.182/1.182, allocations: 223.3 MB / 241.2 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6191/0.6191, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 8 kB / 0.4943 GB, free: 11.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 82.84 MB / 0.5752 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.00115/0.1159, allocations: 1.114 MB / 0.5763 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.1166, allocations: 0.5342 MB / 0.5768 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.1167, allocations: 0 / 0.5768 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.117, allocations: 495.4 kB / 0.5772 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.1175, allocations: 0.5189 MB / 0.5778 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.1177, allocations: 51.89 kB / 0.5778 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006397/0.1183, allocations: 0.9556 MB / 0.5787 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1184, allocations: 4 kB / 0.5787 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.1188, allocations: 0.5812 MB / 0.5793 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.1195, allocations: 1.046 MB / 0.5803 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1197, allocations: 64 kB / 0.5804 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.1198, allocations: 131.9 kB / 0.5805 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002035/0.1219, allocations: 2.49 MB / 0.5829 GB, free: 116 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.343/0.4649, allocations: 0.5153 MB / 0.5834 GB, free: 13.24 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.4671, allocations: 2.3 MB / 0.5857 GB, free: 12.73 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4671, allocations: 0 / 0.5857 GB, free: 12.73 MB / 446.3 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4671, allocations: 0.875 kB / 0.5857 GB, free: 12.73 MB / 446.3 MB Notification: Performance of Transformations before backend: time 4.003e-05/0.4672, allocations: 0 / 0.5857 GB, free: 12.73 MB / 446.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.003811/0.471, allocations: 4.644 MB / 0.5902 GB, free: 9.785 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.471, allocations: 9.781 kB / 0.5902 GB, free: 9.785 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004467/0.4715, allocations: 0.5633 MB / 0.5908 GB, free: 9.465 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008318/0.4798, allocations: 6.22 MB / 0.5969 GB, free: 7.711 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4798, allocations: 1.75 kB / 0.5969 GB, free: 7.711 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.4799, allocations: 16.59 kB / 0.5969 GB, free: 7.711 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.4802, allocations: 242.5 kB / 0.5971 GB, free: 7.668 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.4802, allocations: 0 / 0.5971 GB, free: 7.668 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.4803, allocations: 16.34 kB / 0.5971 GB, free: 7.668 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4803, allocations: 1.781 kB / 0.5971 GB, free: 7.668 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.4805, allocations: 133.3 kB / 0.5973 GB, free: 7.66 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.4821, allocations: 1.86 MB / 0.5991 GB, free: 6.883 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.4823, allocations: 101.6 kB / 0.5992 GB, free: 6.848 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.4824, allocations: 89.19 kB / 0.5993 GB, free: 6.832 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.4824, allocations: 7.344 kB / 0.5993 GB, free: 6.828 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.4827, allocations: 266.7 kB / 0.5995 GB, free: 6.73 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4827, allocations: 0.9062 kB / 0.5995 GB, free: 6.73 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.001274/0.484, allocations: 1.163 MB / 0.6007 GB, free: 6.332 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.4841, allocations: 79.64 kB / 0.6007 GB, free: 6.238 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006076/0.4901, allocations: 6.268 MB / 0.6069 GB, free: 4.027 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.4902, allocations: 42.05 kB / 0.6069 GB, free: 3.996 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.4919, allocations: 2.518 MB / 0.6094 GB, free: 1.844 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.4919, allocations: 45.11 kB / 0.6094 GB, free: 1.82 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.492, allocations: 16.16 kB / 0.6094 GB, free: 1.82 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.492, allocations: 315.7 kB / 0.6097 GB, free: 1.508 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4922, allocations: 76.16 kB / 0.6098 GB, free: 1.504 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.4923, allocations: 81.83 kB / 0.6099 GB, free: 1.492 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4924, allocations: 107.6 kB / 0.61 GB, free: 1.453 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4924, allocations: 0.6562 kB / 0.61 GB, free: 1.453 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001007/0.4934, allocations: 1.086 MB / 0.611 GB, free: 1.047 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.4935, allocations: 39.78 kB / 0.6111 GB, free: 1.012 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4935, allocations: 0 / 0.6111 GB, free: 1.012 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4935, allocations: 1.156 kB / 0.6111 GB, free: 1.012 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.4936, allocations: 4.438 kB / 0.6111 GB, free: 1.012 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4936, allocations: 1.203 kB / 0.6111 GB, free: 1.012 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.4939, allocations: 29.55 kB / 0.6111 GB, free: 1.004 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.4941, allocations: 217.3 kB / 0.6113 GB, free: 0.9766 MB / 446.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 ($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.001292/0.4954, allocations: 1.343 MB / 0.6126 GB, free: 432 kB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003252/0.4958, allocations: 0.5666 MB / 0.6132 GB, free: 112 kB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/0.4963, allocations: 0.6471 MB / 0.6138 GB, free: 15.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4963, allocations: 3.469 kB / 0.6138 GB, free: 15.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4964, allocations: 0 / 0.6138 GB, free: 15.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4964, allocations: 3.938 kB / 0.6138 GB, free: 15.82 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4982, allocations: 2.028 MB / 0.6158 GB, free: 14.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4982, allocations: 4.188 kB / 0.6158 GB, free: 14.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.4982, allocations: 6.531 kB / 0.6158 GB, free: 14.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4982, allocations: 0 / 0.6158 GB, free: 14.65 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.4983, allocations: 49.47 kB / 0.6158 GB, free: 14.65 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4983, allocations: 1.312 kB / 0.6158 GB, free: 14.65 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4983, allocations: 3.984 kB / 0.6159 GB, free: 14.65 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.4994, allocations: 1.176 MB / 0.617 GB, free: 14.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/0.5, allocations: 0.564 MB / 0.6176 GB, free: 13.48 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.5002, allocations: 20 kB / 0.6176 GB, free: 13.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.5005, allocations: 20 kB / 0.6176 GB, free: 13.45 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.5006, allocations: 0 / 0.6176 GB, free: 13.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.5008, allocations: 224 kB / 0.6178 GB, free: 13.23 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004366/0.5051, allocations: 4.315 MB / 0.622 GB, free: 8.953 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5051, allocations: 0 / 0.622 GB, free: 8.953 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004988/0.5056, allocations: 188 kB / 0.6222 GB, free: 8.77 MB / 462.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 (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.0001711/0.5058, allocations: 132.8 kB / 0.6223 GB, free: 8.633 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003946/0.5062, allocations: 285.2 kB / 0.6226 GB, free: 8.344 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5062, allocations: 0 / 0.6226 GB, free: 8.344 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.5065, allocations: 190.4 kB / 0.6228 GB, free: 8.148 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.5074, allocations: 441.1 kB / 0.6232 GB, free: 7.715 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008977/0.5164, allocations: 8.93 MB / 0.6319 GB, free: 14.79 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.5186, allocations: 2.721 MB / 0.6346 GB, free: 12.04 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002445/0.521, allocations: 1.141 MB / 0.6357 GB, free: 10.9 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.5212, allocations: 259.4 kB / 0.6359 GB, free: 10.65 MB / 478.3 MB Notification: Performance of SimCode: time 2.4e-07/0.5213, allocations: 0 / 0.6359 GB, free: 10.65 MB / 478.3 MB Notification: Performance of Templates: time 0.03922/0.5605, allocations: 20.34 MB / 0.6558 GB, free: 6.211 MB / 494.3 MB 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/jenkins/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