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.002127/0.002127, allocations: 114.3 kB / 17.7 MB, free: 5.309 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.001957/0.001957, allocations: 191 kB / 18.63 MB, free: 4.379 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.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.079/1.079, allocations: 119.3 MB / 411.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.84 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6845, allocations: 80.68 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002874/0.6874, allocations: 1.411 MB / 0.5725 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.6885, allocations: 0.5739 MB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.6886, allocations: 1.25 kB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.6892, allocations: 447.6 kB / 0.5735 GB, free: 41.74 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006236/0.6898, allocations: 486.6 kB / 0.574 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.6902, allocations: 82.91 kB / 0.5741 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.6915, allocations: 1.13 MB / 0.5752 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.6916, allocations: 2.812 kB / 0.5752 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.6925, allocations: 0.5697 MB / 0.5757 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.6939, allocations: 1.028 MB / 0.5767 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.6941, allocations: 65.66 kB / 0.5768 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.6944, allocations: 143.7 kB / 0.5769 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002984/0.6974, allocations: 2.501 MB / 0.5794 GB, free: 38.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.6991, allocations: 1.428 MB / 0.5808 GB, free: 37.73 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003566/0.7027, allocations: 3.158 MB / 0.5839 GB, free: 35.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7027, allocations: 5.531 kB / 0.5839 GB, free: 35.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7027, allocations: 0 / 0.5839 GB, free: 35.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001936/0.703, allocations: 0 / 0.5839 GB, free: 35.77 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.01329/0.7163, allocations: 5.168 MB / 0.5889 GB, free: 31.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.7163, allocations: 12.03 kB / 0.5889 GB, free: 31.25 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.7173, allocations: 0.5522 MB / 0.5895 GB, free: 30.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.7314, allocations: 6.531 MB / 0.5958 GB, free: 24.07 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.7315, allocations: 4.375 kB / 0.5958 GB, free: 24.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.236e-05/0.7316, allocations: 20.36 kB / 0.5959 GB, free: 24.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.732, allocations: 245.8 kB / 0.5961 GB, free: 23.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.732, allocations: 4 kB / 0.5961 GB, free: 23.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.7321, allocations: 19.94 kB / 0.5961 GB, free: 23.78 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.7321, allocations: 3.984 kB / 0.5961 GB, free: 23.78 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.7323, allocations: 124 kB / 0.5962 GB, free: 23.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/0.7364, allocations: 1.862 MB / 0.5981 GB, free: 21.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.7366, allocations: 102.6 kB / 0.5982 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.7368, allocations: 88.86 kB / 0.5982 GB, free: 21.55 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.7368, allocations: 0 / 0.5982 GB, free: 21.55 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.7371, allocations: 264.8 kB / 0.5985 GB, free: 21.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.7372, allocations: 0 / 0.5985 GB, free: 21.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001535/0.7387, allocations: 1.164 MB / 0.5996 GB, free: 20.09 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.7388, allocations: 77.11 kB / 0.5997 GB, free: 19.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008344/0.7471, allocations: 6.283 MB / 0.6058 GB, free: 13.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.7473, allocations: 49.58 kB / 0.6059 GB, free: 13.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.7495, allocations: 2.52 MB / 0.6083 GB, free: 11.18 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.7497, allocations: 39.89 kB / 0.6084 GB, free: 11.14 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.7498, allocations: 133.7 kB / 0.6085 GB, free: 11 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.7499, allocations: 306 kB / 0.6088 GB, free: 10.7 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.75, allocations: 80 kB / 0.6089 GB, free: 10.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.7501, allocations: 79.92 kB / 0.609 GB, free: 10.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.7504, allocations: 228.2 kB / 0.6092 GB, free: 10.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7504, allocations: 4 kB / 0.6092 GB, free: 10.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001334/0.7517, allocations: 1.09 MB / 0.6102 GB, free: 9.188 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.7518, allocations: 40.03 kB / 0.6103 GB, free: 9.145 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7518, allocations: 8 kB / 0.6103 GB, free: 9.137 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.7518, allocations: 0 / 0.6103 GB, free: 9.137 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.7519, allocations: 4 kB / 0.6103 GB, free: 9.133 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.7519, allocations: 0 / 0.6103 GB, free: 9.133 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.7525, allocations: 20 kB / 0.6103 GB, free: 9.113 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.7527, allocations: 220 kB / 0.6105 GB, free: 8.898 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.002398/0.7551, allocations: 1.338 MB / 0.6118 GB, free: 7.543 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/0.7558, allocations: 0.5785 MB / 0.6124 GB, free: 6.957 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.7569, allocations: 0.6441 MB / 0.613 GB, free: 6.305 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.7569, allocations: 0 / 0.613 GB, free: 6.305 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7569, allocations: 0 / 0.613 GB, free: 6.305 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.757, allocations: 3.984 kB / 0.613 GB, free: 6.301 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.7589, allocations: 2.022 MB / 0.615 GB, free: 4.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7589, allocations: 96 / 0.615 GB, free: 4.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/0.759, allocations: 11.88 kB / 0.615 GB, free: 4.219 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.759, allocations: 0 / 0.615 GB, free: 4.219 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-05/0.7591, allocations: 52 kB / 0.6151 GB, free: 4.168 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7591, allocations: 0 / 0.6151 GB, free: 4.168 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7591, allocations: 0 / 0.6151 GB, free: 4.168 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.7603, allocations: 1.18 MB / 0.6162 GB, free: 2.957 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000987/0.7613, allocations: 0.5601 MB / 0.6168 GB, free: 2.371 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.7616, allocations: 27.98 kB / 0.6168 GB, free: 2.344 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.762, allocations: 20 kB / 0.6168 GB, free: 2.324 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.762, allocations: 4 kB / 0.6168 GB, free: 2.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7622, allocations: 224.2 kB / 0.617 GB, free: 2.102 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.008346/0.7705, allocations: 4.321 MB / 0.6212 GB, free: 13.82 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7706, allocations: 0 / 0.6212 GB, free: 13.82 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001155/0.7717, allocations: 192 kB / 0.6214 GB, free: 13.63 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.000293/0.772, allocations: 147.6 kB / 0.6216 GB, free: 13.48 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.000529/0.7726, allocations: 279.3 kB / 0.6218 GB, free: 13.2 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7726, allocations: 4 kB / 0.6218 GB, free: 13.19 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.7729, allocations: 187.4 kB / 0.622 GB, free: 13 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.7746, allocations: 438.5 kB / 0.6224 GB, free: 12.57 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.7904, allocations: 8.38 MB / 0.6306 GB, free: 4.156 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004067/0.7945, allocations: 2.728 MB / 0.6333 GB, free: 1.402 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003491/0.7981, allocations: 1.141 MB / 0.6344 GB, free: 256 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.7984, allocations: 259.4 kB / 0.6346 GB, free: 16 MB / 494.3 MB Notification: Performance of SimCode: time 1.854e-06/0.7984, allocations: 0 / 0.6346 GB, free: 16 MB / 494.3 MB Notification: Performance of Templates: time 0.05999/0.8584, allocations: 20.7 MB / 0.6549 GB, free: 11.19 MB / 0.4983 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches