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.0007898/0.0007898, allocations: 88.98 kB / 16.31 MB, free: 6.449 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.0008828/0.0008828, allocations: 183.8 kB / 17.21 MB, free: 6.316 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.439/1.439, allocations: 223.2 MB / 241.2 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.027/1.027, allocations: 120.5 MB / 412.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 8 kB / 0.4943 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.191, allocations: 82.84 MB / 0.5752 GB, free: 8.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001674/0.1928, allocations: 1.13 MB / 0.5763 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.1937, allocations: 0.5186 MB / 0.5768 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1938, allocations: 4 kB / 0.5768 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.1943, allocations: 491.4 kB / 0.5772 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.1949, allocations: 0.5228 MB / 0.5777 GB, free: 5.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1952, allocations: 59.88 kB / 0.5778 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009568/0.1962, allocations: 0.9478 MB / 0.5787 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.1963, allocations: 4 kB / 0.5787 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006363/0.1969, allocations: 0.5851 MB / 0.5793 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009769/0.1979, allocations: 1.038 MB / 0.5803 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.198, allocations: 64 kB / 0.5804 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.1983, allocations: 127.9 kB / 0.5805 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00244/0.2007, allocations: 2.502 MB / 0.5829 GB, free: 120 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.5603/0.7611, allocations: 0.5174 MB / 0.5835 GB, free: 12.67 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.7652, allocations: 2.292 MB / 0.5857 GB, free: 12.16 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.7652, allocations: 1.422 kB / 0.5857 GB, free: 12.16 MB / 446.3 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7652, allocations: 0 / 0.5857 GB, free: 12.16 MB / 446.3 MB Notification: Performance of Transformations before backend: time 8.834e-05/0.7653, allocations: 0 / 0.5857 GB, free: 12.16 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.007725/0.7731, allocations: 4.64 MB / 0.5902 GB, free: 9.215 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.7731, allocations: 13.34 kB / 0.5902 GB, free: 9.215 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.7744, allocations: 0.56 MB / 0.5908 GB, free: 8.895 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/0.7915, allocations: 6.228 MB / 0.5969 GB, free: 7.461 MB / 446.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.7915, allocations: 1.938 kB / 0.5969 GB, free: 7.461 MB / 446.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.7916, allocations: 20.31 kB / 0.5969 GB, free: 7.457 MB / 446.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.7921, allocations: 234 kB / 0.5971 GB, free: 7.422 MB / 446.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.7921, allocations: 3.953 kB / 0.5971 GB, free: 7.422 MB / 446.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.7922, allocations: 17.16 kB / 0.5971 GB, free: 7.422 MB / 446.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.7922, allocations: 0 / 0.5971 GB, free: 7.422 MB / 446.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.7924, allocations: 130.8 kB / 0.5973 GB, free: 7.414 MB / 446.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.7978, allocations: 1.87 MB / 0.5991 GB, free: 6.633 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.798, allocations: 101.4 kB / 0.5992 GB, free: 6.598 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.7982, allocations: 95.39 kB / 0.5993 GB, free: 6.578 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.7982, allocations: 0.6562 kB / 0.5993 GB, free: 6.578 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.7987, allocations: 257.7 kB / 0.5995 GB, free: 6.488 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/0.7987, allocations: 2 kB / 0.5995 GB, free: 6.488 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.002555/0.8013, allocations: 1.163 MB / 0.6007 GB, free: 6.086 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.8014, allocations: 79.64 kB / 0.6007 GB, free: 5.992 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/0.8135, allocations: 6.267 MB / 0.6068 GB, free: 3.824 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.8138, allocations: 44.42 kB / 0.6069 GB, free: 3.793 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.8161, allocations: 2.521 MB / 0.6094 GB, free: 1.637 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.8163, allocations: 34.62 kB / 0.6094 GB, free: 1.621 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.8164, allocations: 20.25 kB / 0.6094 GB, free: 1.617 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.8164, allocations: 313.2 kB / 0.6097 GB, free: 1.309 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.8166, allocations: 75.94 kB / 0.6098 GB, free: 1.305 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.8168, allocations: 82.42 kB / 0.6099 GB, free: 1.293 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.817, allocations: 106.7 kB / 0.61 GB, free: 1.254 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.817, allocations: 1.25 kB / 0.61 GB, free: 1.254 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002149/0.8192, allocations: 1.091 MB / 0.611 GB, free: 0.8438 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.8192, allocations: 39.91 kB / 0.6111 GB, free: 0.8047 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8192, allocations: 3.469 kB / 0.6111 GB, free: 0.8047 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.8193, allocations: 0 / 0.6111 GB, free: 0.8047 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.8194, allocations: 4.5 kB / 0.6111 GB, free: 0.8047 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8194, allocations: 2 kB / 0.6111 GB, free: 0.8047 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/0.8202, allocations: 23.14 kB / 0.6111 GB, free: 0.8008 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.8205, allocations: 222.2 kB / 0.6113 GB, free: 0.7695 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.003042/0.8235, allocations: 1.342 MB / 0.6126 GB, free: 220 kB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.8242, allocations: 0.5708 MB / 0.6132 GB, free: 15.9 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.8253, allocations: 0.6474 MB / 0.6138 GB, free: 15.61 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.8254, allocations: 0 / 0.6138 GB, free: 15.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8254, allocations: 0 / 0.6138 GB, free: 15.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8254, allocations: 2.188 kB / 0.6138 GB, free: 15.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.828, allocations: 2.028 MB / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.8281, allocations: 0 / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.8281, allocations: 2.781 kB / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.8281, allocations: 1.312 kB / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.733e-05/0.8282, allocations: 49.17 kB / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8282, allocations: 1.281 kB / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.8282, allocations: 7.859 kB / 0.6158 GB, free: 14.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.8298, allocations: 1.167 MB / 0.617 GB, free: 13.96 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/0.8306, allocations: 0.5601 MB / 0.6175 GB, free: 13.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.8308, allocations: 20 kB / 0.6176 GB, free: 13.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.8312, allocations: 24 kB / 0.6176 GB, free: 13.33 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.8312, allocations: 7.719 kB / 0.6176 GB, free: 13.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/0.8315, allocations: 225.3 kB / 0.6178 GB, free: 13.11 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.007987/0.8394, allocations: 4.309 MB / 0.622 GB, free: 8.836 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.71e-07/0.8395, allocations: 0 / 0.622 GB, free: 8.836 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.001246/0.8407, allocations: 188 kB / 0.6222 GB, free: 8.652 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.0002595/0.841, allocations: 136.6 kB / 0.6223 GB, free: 8.512 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.8415, allocations: 279.3 kB / 0.6226 GB, free: 8.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8415, allocations: 0 / 0.6226 GB, free: 8.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.8419, allocations: 187.4 kB / 0.6228 GB, free: 8.035 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.8434, allocations: 443.4 kB / 0.6232 GB, free: 7.602 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.8598, allocations: 8.943 MB / 0.6319 GB, free: 14.66 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/0.8627, allocations: 2.729 MB / 0.6346 GB, free: 11.91 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.00313/0.8659, allocations: 1.134 MB / 0.6357 GB, free: 10.77 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.8662, allocations: 263.4 kB / 0.6359 GB, free: 10.51 MB / 478.3 MB Notification: Performance of SimCode: time 1.132e-06/0.8662, allocations: 0 / 0.6359 GB, free: 10.51 MB / 478.3 MB Notification: Performance of Templates: time 0.05939/0.9256, allocations: 20.33 MB / 0.6558 GB, free: 6.082 MB / 494.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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