Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 191.2 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3351/0.3351, allocations: 225.7 MB / 243 MB, free: 4.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.0008649, allocations: 113.9 kB / 293.3 MB, free: 11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3848/0.3848, allocations: 119.4 MB / 462.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008556/0.0008556, allocations: 55.91 kB / 0.5413 GB, free: 10.6 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1009, allocations: 80.7 MB / 0.6201 GB, free: 9.777 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002027/0.1029, allocations: 1.629 MB / 0.6217 GB, free: 8.133 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.1039, allocations: 0.877 MB / 0.6226 GB, free: 7.25 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.104, allocations: 0 / 0.6226 GB, free: 7.25 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.1071, allocations: 6.876 MB / 0.6293 GB, free: 364 kB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1088, allocations: 3.508 MB / 0.6327 GB, free: 12.84 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.109, allocations: 95.75 kB / 0.6328 GB, free: 12.75 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004447/0.1135, allocations: 8.586 MB / 0.6412 GB, free: 4.148 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.1135, allocations: 4 kB / 0.6412 GB, free: 4.145 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3783/0.4918, allocations: 4.263 MB / 0.6454 GB, free: 18.46 MB / 458.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008499/0.5004, allocations: 8.096 MB / 0.6533 GB, free: 18.2 MB / 458.9 MB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.5017, allocations: 0.4911 MB / 0.6537 GB, free: 18.2 MB / 458.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008409/0.5026, allocations: 0.5174 MB / 0.6543 GB, free: 18.2 MB / 458.9 MB Notification: Performance of NFScalarize.scalarize: time 0.01462/0.5172, allocations: 19.91 MB / 0.6737 GB, free: 11.91 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.005478/0.5227, allocations: 11.27 MB / 0.6847 GB, free: 2.203 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.5367, allocations: 24.26 MB / 0.7084 GB, free: 9.828 MB / 490.9 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5367, allocations: 11.94 kB / 0.7084 GB, free: 9.816 MB / 490.9 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5367, allocations: 0 / 0.7084 GB, free: 9.816 MB / 490.9 MB Notification: Performance of Transformations before backend: time 0.000325/0.537, allocations: 0 / 0.7084 GB, free: 9.816 MB / 490.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.03115/0.5682, allocations: 38.75 MB / 0.7463 GB, free: 2.668 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5682, allocations: 12.03 kB / 0.7463 GB, free: 2.656 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/0.5717, allocations: 4.403 MB / 0.7506 GB, free: 14.19 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06083/0.6325, allocations: 51.59 MB / 0.8009 GB, free: 10.25 MB / 0.5731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6325, allocations: 0.9375 kB / 0.8009 GB, free: 10.25 MB / 0.5731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.6326, allocations: 8 kB / 0.801 GB, free: 10.24 MB / 0.5731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.6327, allocations: 56.42 kB / 0.801 GB, free: 10.18 MB / 0.5731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.6327, allocations: 0 / 0.801 GB, free: 10.18 MB / 0.5731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.6327, allocations: 4 kB / 0.801 GB, free: 10.18 MB / 0.5731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6327, allocations: 0 / 0.801 GB, free: 10.18 MB / 0.5731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.518e-05/0.6328, allocations: 13.97 kB / 0.801 GB, free: 10.17 MB / 0.5731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.6442, allocations: 13.73 MB / 0.8144 GB, free: 12.38 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.6444, allocations: 65.61 kB / 0.8145 GB, free: 12.31 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.6444, allocations: 16.86 kB / 0.8145 GB, free: 12.29 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.6445, allocations: 3.938 kB / 0.8145 GB, free: 12.29 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.6446, allocations: 67.31 kB / 0.8146 GB, free: 12.21 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=5): time 1.764e-06/0.6446, allocations: 0 / 0.8146 GB, free: 12.21 MB / 0.5888 GB Notification: Performance of matching and sorting (n=5): time 0.004118/0.6488, allocations: 4.611 MB / 0.8191 GB, free: 7.535 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.6488, allocations: 51.41 kB / 0.8191 GB, free: 7.473 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04426/0.6931, allocations: 50.57 MB / 0.8685 GB, free: 5.312 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.6931, allocations: 33.7 kB / 0.8686 GB, free: 5.273 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.4326/1.126, allocations: 23.57 MB / 0.8916 GB, free: 176.1 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/1.126, allocations: 18.3 kB / 0.8916 GB, free: 176.1 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/1.126, allocations: 20.44 kB / 0.8916 GB, free: 176.1 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 3.277e-05/1.126, allocations: 307.5 kB / 0.8919 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/1.126, allocations: 13.73 kB / 0.8919 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/1.126, allocations: 30.11 kB / 0.8919 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/1.126, allocations: 51.25 kB / 0.892 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.126, allocations: 0.8438 kB / 0.892 GB, free: 175.8 MB / 0.6515 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004669/1.131, allocations: 4.604 MB / 0.8965 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.131, allocations: 6.156 kB / 0.8965 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.131, allocations: 3.781 kB / 0.8965 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.131, allocations: 0.8125 kB / 0.8965 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/1.131, allocations: 14 kB / 0.8965 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.131, allocations: 1.516 kB / 0.8965 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/1.134, allocations: 131.9 kB / 0.8966 GB, free: 175.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/1.134, allocations: 3.141 kB / 0.8966 GB, free: 175.7 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.01086/1.145, allocations: 9.395 MB / 0.9058 GB, free: 175.6 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004179/1.149, allocations: 4.648 MB / 0.9104 GB, free: 175.6 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005672/1.155, allocations: 5.122 MB / 0.9154 GB, free: 175.1 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.155, allocations: 7.188 kB / 0.9154 GB, free: 175.1 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.155, allocations: 0 / 0.9154 GB, free: 175.1 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/1.155, allocations: 0 / 0.9154 GB, free: 175.1 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.165, allocations: 15.08 MB / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.165, allocations: 0 / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/1.165, allocations: 9.594 kB / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.165, allocations: 0 / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/1.165, allocations: 3 kB / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/1.165, allocations: 12.5 kB / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.165, allocations: 3.828 kB / 0.9301 GB, free: 174.1 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/1.169, allocations: 5.026 MB / 0.935 GB, free: 171.2 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002894/1.171, allocations: 3.506 MB / 0.9385 GB, free: 168.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.173, allocations: 128.6 kB / 0.9386 GB, free: 168.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.175, allocations: 132.2 kB / 0.9387 GB, free: 168.6 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/1.175, allocations: 5.391 kB / 0.9387 GB, free: 168.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.175, allocations: 9.219 kB / 0.9387 GB, free: 168.6 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.03349/1.208, allocations: 35 MB / 0.9729 GB, free: 146.8 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.81e-07/1.208, allocations: 4 kB / 0.9729 GB, free: 146.8 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.002371/1.211, allocations: 1.234 MB / 0.9741 GB, free: 145.5 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006959/1.212, allocations: 418.8 kB / 0.9745 GB, free: 145.3 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0001507/1.212, allocations: 39.98 kB / 0.9745 GB, free: 145.3 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.212, allocations: 3.938 kB / 0.9745 GB, free: 145.3 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/1.212, allocations: 19.98 kB / 0.9746 GB, free: 145.2 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/1.217, allocations: 3.398 MB / 0.9779 GB, free: 141.8 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05756/1.274, allocations: 79.43 MB / 1.055 GB, free: 62.84 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01241/1.287, allocations: 17.33 MB / 1.072 GB, free: 45.45 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.02267/1.31, allocations: 11.33 MB / 1.083 GB, free: 34.1 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006368/1.316, allocations: 4.411 MB / 1.088 GB, free: 29.69 MB / 0.6515 GB Notification: Performance of SimCode: time 7.22e-07/1.316, allocations: 4 kB / 1.088 GB, free: 29.68 MB / 0.6515 GB Notification: Performance of Templates: time 0.3781/1.694, allocations: 123.4 MB / 1.208 GB, free: 173.7 MB / 0.6828 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches