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.0009833/0.0009834, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.0008253/0.0008253, allocations: 183.2 kB / 18.22 MB, free: 5.246 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.353/1.353, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.069/1.069, allocations: 120.5 MB / 413.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 8 kB / 0.4955 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6223, allocations: 82.84 MB / 0.5764 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001572/0.624, allocations: 1.127 MB / 0.5775 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.625, allocations: 0.5765 MB / 0.5781 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.625, allocations: 4.875 kB / 0.5781 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.6255, allocations: 452.6 kB / 0.5785 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.6261, allocations: 485.9 kB / 0.579 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.6263, allocations: 63.06 kB / 0.5791 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009937/0.6273, allocations: 1.117 MB / 0.5802 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.6274, allocations: 2.75 kB / 0.5802 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.628, allocations: 0.5583 MB / 0.5807 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009855/0.629, allocations: 0.9721 MB / 0.5817 GB, free: 39.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.6292, allocations: 67.78 kB / 0.5817 GB, free: 39.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.6294, allocations: 137.2 kB / 0.5818 GB, free: 39.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.6321, allocations: 2.492 MB / 0.5843 GB, free: 37.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.6333, allocations: 1.447 MB / 0.5857 GB, free: 36.55 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.6353, allocations: 2.296 MB / 0.5879 GB, free: 34.61 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.6354, allocations: 4 kB / 0.5879 GB, free: 34.6 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.475e-06/0.6354, allocations: 11.92 kB / 0.588 GB, free: 34.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.76e-05/0.6354, allocations: 0 / 0.588 GB, free: 34.59 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.003924/0.6393, allocations: 4.571 MB / 0.5924 GB, free: 29.93 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6394, allocations: 12.03 kB / 0.5924 GB, free: 29.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.6398, allocations: 0.556 MB / 0.593 GB, free: 29.36 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008903/0.6488, allocations: 6.531 MB / 0.5993 GB, free: 22.74 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.6488, allocations: 4.375 kB / 0.5994 GB, free: 22.74 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.6489, allocations: 16.38 kB / 0.5994 GB, free: 22.72 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.6492, allocations: 241.8 kB / 0.5996 GB, free: 22.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6492, allocations: 0 / 0.5996 GB, free: 22.48 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.6492, allocations: 20 kB / 0.5996 GB, free: 22.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6492, allocations: 0 / 0.5996 GB, free: 22.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.6494, allocations: 128 kB / 0.5997 GB, free: 22.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.6512, allocations: 1.87 MB / 0.6016 GB, free: 20.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.6513, allocations: 98.52 kB / 0.6017 GB, free: 20.31 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.6514, allocations: 92.89 kB / 0.6017 GB, free: 20.22 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.6515, allocations: 8 kB / 0.6018 GB, free: 20.21 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00029/0.6518, allocations: 256.8 kB / 0.602 GB, free: 19.94 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.6518, allocations: 0 / 0.602 GB, free: 19.94 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001191/0.653, allocations: 1.16 MB / 0.6031 GB, free: 18.76 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.653, allocations: 81.11 kB / 0.6032 GB, free: 18.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/0.6584, allocations: 6.275 MB / 0.6093 GB, free: 12.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.6585, allocations: 41.7 kB / 0.6094 GB, free: 12.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.6601, allocations: 2.531 MB / 0.6118 GB, free: 9.852 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.6602, allocations: 43.64 kB / 0.6119 GB, free: 9.809 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.6603, allocations: 25.72 kB / 0.6119 GB, free: 9.777 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.6603, allocations: 310 kB / 0.6122 GB, free: 9.469 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.6605, allocations: 79.98 kB / 0.6123 GB, free: 9.391 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.6606, allocations: 83.94 kB / 0.6124 GB, free: 9.309 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.6608, allocations: 224.2 kB / 0.6126 GB, free: 9.074 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6608, allocations: 0 / 0.6126 GB, free: 9.074 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001058/0.6619, allocations: 1.093 MB / 0.6136 GB, free: 7.961 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.6619, allocations: 44.19 kB / 0.6137 GB, free: 7.914 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.662, allocations: 0 / 0.6137 GB, free: 7.914 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.662, allocations: 0 / 0.6137 GB, free: 7.914 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.6621, allocations: 4 kB / 0.6137 GB, free: 7.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.6621, allocations: 0 / 0.6137 GB, free: 7.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.6625, allocations: 20 kB / 0.6137 GB, free: 7.891 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.6627, allocations: 228 kB / 0.6139 GB, free: 7.668 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.001411/0.6641, allocations: 1.334 MB / 0.6152 GB, free: 6.316 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.6644, allocations: 0.5784 MB / 0.6158 GB, free: 5.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.665, allocations: 0.6519 MB / 0.6164 GB, free: 5.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.665, allocations: 4 kB / 0.6164 GB, free: 5.066 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.665, allocations: 0 / 0.6164 GB, free: 5.066 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.665, allocations: 0 / 0.6164 GB, free: 5.066 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.6666, allocations: 2.018 MB / 0.6184 GB, free: 3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6666, allocations: 0 / 0.6184 GB, free: 3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.6666, allocations: 7.938 kB / 0.6184 GB, free: 2.992 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6667, allocations: 0 / 0.6184 GB, free: 2.992 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.6667, allocations: 48 kB / 0.6185 GB, free: 2.945 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.6667, allocations: 3.984 kB / 0.6185 GB, free: 2.941 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6667, allocations: 0 / 0.6185 GB, free: 2.941 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.6676, allocations: 1.172 MB / 0.6196 GB, free: 1.738 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.6681, allocations: 0.5639 MB / 0.6202 GB, free: 1.148 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.6684, allocations: 24 kB / 0.6202 GB, free: 1.125 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.6687, allocations: 16.09 kB / 0.6202 GB, free: 1.109 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.6687, allocations: 15.86 kB / 0.6202 GB, free: 1.094 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.6689, allocations: 224 kB / 0.6204 GB, free: 0.875 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005262/0.6741, allocations: 4.324 MB / 0.6247 GB, free: 12.59 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6741, allocations: 4 kB / 0.6247 GB, free: 12.59 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007823/0.6749, allocations: 192 kB / 0.6248 GB, free: 12.4 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.0002526/0.6752, allocations: 138 kB / 0.625 GB, free: 12.26 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.6757, allocations: 275.4 kB / 0.6252 GB, free: 11.98 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6757, allocations: 0 / 0.6252 GB, free: 11.98 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.6759, allocations: 183.4 kB / 0.6254 GB, free: 11.79 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.6771, allocations: 453 kB / 0.6258 GB, free: 11.34 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.6912, allocations: 9.728 MB / 0.6353 GB, free: 1.574 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.6936, allocations: 2.729 MB / 0.638 GB, free: 14.82 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.694, allocations: 255.4 kB / 0.6382 GB, free: 14.57 MB / 494.3 MB Notification: Performance of SimCode: time 1.212e-06/0.694, allocations: 4 kB / 0.6383 GB, free: 14.56 MB / 494.3 MB Notification: Performance of Templates: time 0.8632/1.557, allocations: 139.3 MB / 0.7743 GB, free: 157.2 MB / 0.5923 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 -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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches