Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0007956/0.0007957, allocations: 85.12 kB / 16.31 MB, free: 5.676 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.0009909/0.0009913, allocations: 184.3 kB / 17.21 MB, free: 5.59 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.536/1.536, allocations: 223.3 MB / 241.2 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9351/0.9351, allocations: 120.5 MB / 412.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004857, allocations: 8 kB / 0.4942 GB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.182, allocations: 82.86 MB / 0.5752 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001664/0.1837, allocations: 1.122 MB / 0.5763 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000978/0.1847, allocations: 0.5226 MB / 0.5768 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.1848, allocations: 0 / 0.5768 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.1853, allocations: 495.4 kB / 0.5772 GB, free: 6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.1858, allocations: 0.5228 MB / 0.5778 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1861, allocations: 55.88 kB / 0.5778 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008216/0.1869, allocations: 0.9517 MB / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.187, allocations: 0 / 0.5787 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.1877, allocations: 0.589 MB / 0.5793 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.1888, allocations: 1.034 MB / 0.5803 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.189, allocations: 64 kB / 0.5804 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.1892, allocations: 139.9 kB / 0.5805 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002388/0.1916, allocations: 2.49 MB / 0.583 GB, free: 152 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5234/0.7151, allocations: 0.5199 MB / 0.5835 GB, free: 12.74 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.7195, allocations: 2.291 MB / 0.5857 GB, free: 12.23 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7195, allocations: 0.9688 kB / 0.5857 GB, free: 12.23 MB / 446.3 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7195, allocations: 1.688 kB / 0.5857 GB, free: 12.23 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0001894/0.7197, allocations: 2.594 kB / 0.5857 GB, free: 12.23 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.009803/0.7296, allocations: 4.641 MB / 0.5902 GB, free: 9.285 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7296, allocations: 9.562 kB / 0.5902 GB, free: 9.285 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.7307, allocations: 0.5624 MB / 0.5908 GB, free: 8.965 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/0.7471, allocations: 6.224 MB / 0.5969 GB, free: 7.52 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.7472, allocations: 4.188 kB / 0.5969 GB, free: 7.52 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.7472, allocations: 18.34 kB / 0.5969 GB, free: 7.52 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.7477, allocations: 233.4 kB / 0.5971 GB, free: 7.484 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.7477, allocations: 3.062 kB / 0.5971 GB, free: 7.484 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.7478, allocations: 17 kB / 0.5971 GB, free: 7.484 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7478, allocations: 2 kB / 0.5971 GB, free: 7.484 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.748, allocations: 132.7 kB / 0.5973 GB, free: 7.473 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005205/0.7532, allocations: 1.864 MB / 0.5991 GB, free: 6.695 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.7536, allocations: 103.2 kB / 0.5992 GB, free: 6.66 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.7539, allocations: 93.48 kB / 0.5993 GB, free: 6.641 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.7539, allocations: 1.719 kB / 0.5993 GB, free: 6.641 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.7544, allocations: 257 kB / 0.5995 GB, free: 6.551 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 3.767e-06/0.7544, allocations: 4.844 kB / 0.5995 GB, free: 6.547 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.003206/0.7576, allocations: 1.159 MB / 0.6007 GB, free: 6.148 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.7577, allocations: 88.38 kB / 0.6007 GB, free: 6.047 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01323/0.771, allocations: 6.262 MB / 0.6069 GB, free: 3.875 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002086/0.7712, allocations: 43.91 kB / 0.6069 GB, free: 3.844 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.7734, allocations: 2.527 MB / 0.6094 GB, free: 1.684 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.7737, allocations: 39.55 kB / 0.6094 GB, free: 1.664 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.7737, allocations: 16.34 kB / 0.6094 GB, free: 1.664 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.7738, allocations: 307 kB / 0.6097 GB, free: 1.359 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.7739, allocations: 82.14 kB / 0.6098 GB, free: 1.348 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.7741, allocations: 75.06 kB / 0.6099 GB, free: 1.344 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.7742, allocations: 114.8 kB / 0.61 GB, free: 1.297 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7743, allocations: 3 kB / 0.61 GB, free: 1.297 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001993/0.7763, allocations: 1.089 MB / 0.611 GB, free: 0.8906 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.7763, allocations: 38.75 kB / 0.6111 GB, free: 0.8555 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7763, allocations: 0 / 0.6111 GB, free: 0.8555 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.7763, allocations: 0.7188 kB / 0.6111 GB, free: 0.8555 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.7764, allocations: 4.031 kB / 0.6111 GB, free: 0.8555 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7764, allocations: 1.094 kB / 0.6111 GB, free: 0.8555 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.7772, allocations: 25.58 kB / 0.6111 GB, free: 0.8516 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.7775, allocations: 223.4 kB / 0.6113 GB, free: 0.8203 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.002549/0.78, allocations: 1.332 MB / 0.6126 GB, free: 280 kB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.7806, allocations: 0.5703 MB / 0.6132 GB, free: 15.96 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.7815, allocations: 0.648 MB / 0.6138 GB, free: 15.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7815, allocations: 1.078 kB / 0.6138 GB, free: 15.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7816, allocations: 3 kB / 0.6138 GB, free: 15.67 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7816, allocations: 0 / 0.6138 GB, free: 15.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.7839, allocations: 2.031 MB / 0.6158 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7839, allocations: 96 / 0.6158 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.784, allocations: 10.53 kB / 0.6158 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.784, allocations: 0 / 0.6158 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.7841, allocations: 49.38 kB / 0.6158 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7841, allocations: 1.375 kB / 0.6159 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7841, allocations: 0.875 kB / 0.6159 GB, free: 14.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.7855, allocations: 1.172 MB / 0.617 GB, free: 13.98 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.7862, allocations: 0.5601 MB / 0.6175 GB, free: 13.39 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.7865, allocations: 24 kB / 0.6176 GB, free: 13.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.7869, allocations: 19.98 kB / 0.6176 GB, free: 13.35 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.7869, allocations: 9.719 kB / 0.6176 GB, free: 13.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/0.7871, allocations: 220 kB / 0.6178 GB, free: 13.13 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00701/0.7941, allocations: 4.309 MB / 0.622 GB, free: 8.859 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.714e-06/0.7942, allocations: 0 / 0.622 GB, free: 8.859 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001245/0.7954, allocations: 188.9 kB / 0.6222 GB, free: 8.676 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.0002767/0.7957, allocations: 139 kB / 0.6223 GB, free: 8.535 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.7962, allocations: 286.3 kB / 0.6226 GB, free: 8.246 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7962, allocations: 0 / 0.6226 GB, free: 8.246 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.7964, allocations: 188.1 kB / 0.6228 GB, free: 8.051 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.7977, allocations: 441.1 kB / 0.6232 GB, free: 7.617 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.8135, allocations: 8.931 MB / 0.6319 GB, free: 14.7 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003848/0.8175, allocations: 2.721 MB / 0.6346 GB, free: 11.95 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003279/0.8208, allocations: 1.135 MB / 0.6357 GB, free: 10.81 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.8211, allocations: 259.4 kB / 0.6359 GB, free: 10.55 MB / 478.3 MB Notification: Performance of SimCode: time 1.924e-06/0.8211, allocations: 3.938 kB / 0.6359 GB, free: 10.55 MB / 478.3 MB Notification: Performance of Templates: time 0.05749/0.8786, allocations: 20.34 MB / 0.6558 GB, free: 6.105 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches