Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 108.6 kB / 17.17 MB, free: 6.32 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.001033/0.001033, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.292/1.292, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9787/0.9787, allocations: 119.3 MB / 411.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.84 kB / 0.4909 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4653, allocations: 80.68 MB / 0.5697 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002117/0.4674, allocations: 1.466 MB / 0.5711 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.4682, allocations: 0.5934 MB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.4683, allocations: 1.281 kB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009737/0.4693, allocations: 1.72 MB / 0.5734 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.4703, allocations: 1.752 MB / 0.5751 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.4705, allocations: 67.05 kB / 0.5752 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.4734, allocations: 4.304 MB / 0.5794 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.4734, allocations: 2.531 kB / 0.5794 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.4759, allocations: 2.134 MB / 0.5814 GB, free: 37.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.479, allocations: 3.819 MB / 0.5852 GB, free: 34.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004761/0.4795, allocations: 252 kB / 0.5854 GB, free: 33.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.48, allocations: 319.9 kB / 0.5857 GB, free: 33.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006055/0.4861, allocations: 9.954 MB / 0.5954 GB, free: 23.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.003632/0.4898, allocations: 5.636 MB / 0.6009 GB, free: 17.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.4939, allocations: 9.092 MB / 0.6098 GB, free: 8.688 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4939, allocations: 0 / 0.6098 GB, free: 8.688 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.062e-06/0.494, allocations: 0 / 0.6098 GB, free: 8.688 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002145/0.4942, allocations: 0 / 0.6098 GB, free: 8.688 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.01955/0.5137, allocations: 19.56 MB / 0.6289 GB, free: 4.898 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5138, allocations: 12.03 kB / 0.6289 GB, free: 4.887 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.5161, allocations: 2.206 MB / 0.6311 GB, free: 2.652 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04105/0.5572, allocations: 25.82 MB / 0.6563 GB, free: 8.633 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5573, allocations: 8.312 kB / 0.6563 GB, free: 8.625 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.5574, allocations: 64.38 kB / 0.6564 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/0.5583, allocations: 0.7864 MB / 0.6571 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5584, allocations: 3.938 kB / 0.6571 GB, free: 7.766 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.5585, allocations: 64 kB / 0.6572 GB, free: 7.703 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5585, allocations: 11.94 kB / 0.6572 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/0.5591, allocations: 456 kB / 0.6577 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008842/0.5679, allocations: 6.996 MB / 0.6645 GB, free: 204 kB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.5684, allocations: 294.5 kB / 0.6648 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.5688, allocations: 272.9 kB / 0.665 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.5689, allocations: 4 kB / 0.665 GB, free: 15.63 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/0.5697, allocations: 0.7113 MB / 0.6657 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.5697, allocations: 0 / 0.6657 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.005396/0.5751, allocations: 4.232 MB / 0.6699 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.5752, allocations: 89.03 kB / 0.6699 GB, free: 10.52 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03241/0.6076, allocations: 24.83 MB / 0.6942 GB, free: 1.891 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003909/0.608, allocations: 89.7 kB / 0.6943 GB, free: 1.797 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01058/0.6186, allocations: 10.82 MB / 0.7048 GB, free: 6.965 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.619, allocations: 71.81 kB / 0.7049 GB, free: 6.895 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.6195, allocations: 469.7 kB / 0.7054 GB, free: 6.43 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6196, allocations: 306 kB / 0.7057 GB, free: 6.125 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.62, allocations: 268 kB / 0.7059 GB, free: 5.863 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.6204, allocations: 264 kB / 0.7062 GB, free: 5.605 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/0.6213, allocations: 0.5901 MB / 0.7067 GB, free: 5 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6213, allocations: 0 / 0.7067 GB, free: 5 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.005369/0.6267, allocations: 3.974 MB / 0.7106 GB, free: 0.9844 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.6267, allocations: 44.19 kB / 0.7107 GB, free: 0.9375 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6267, allocations: 0 / 0.7107 GB, free: 0.9375 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6268, allocations: 4 kB / 0.7107 GB, free: 0.9336 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.6268, allocations: 4.094 kB / 0.7107 GB, free: 0.9297 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6268, allocations: 3.938 kB / 0.7107 GB, free: 0.9258 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.6292, allocations: 67.94 kB / 0.7107 GB, free: 0.8594 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007682/0.63, allocations: 0.8633 MB / 0.7116 GB, free: 15.99 MB / 0.5608 GB 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.006782/0.6368, allocations: 4.905 MB / 0.7164 GB, free: 11.07 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002869/0.6397, allocations: 2.271 MB / 0.7186 GB, free: 8.77 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/0.6435, allocations: 2.557 MB / 0.7211 GB, free: 6.203 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6436, allocations: 4 kB / 0.7211 GB, free: 6.199 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6436, allocations: 144 / 0.7211 GB, free: 6.199 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6436, allocations: 11.92 kB / 0.7211 GB, free: 6.188 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008787/0.6524, allocations: 7.617 MB / 0.7285 GB, free: 14.52 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6524, allocations: 0 / 0.7285 GB, free: 14.52 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.6525, allocations: 7.938 kB / 0.7285 GB, free: 14.51 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6525, allocations: 0 / 0.7285 GB, free: 14.51 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004371/0.6529, allocations: 192 kB / 0.7287 GB, free: 14.32 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6529, allocations: 0 / 0.7287 GB, free: 14.32 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6529, allocations: 240 / 0.7287 GB, free: 14.32 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/0.6581, allocations: 4.17 MB / 0.7328 GB, free: 10.11 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/0.661, allocations: 1.983 MB / 0.7347 GB, free: 8.074 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009464/0.6619, allocations: 64 kB / 0.7348 GB, free: 8.012 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.6631, allocations: 72 kB / 0.7349 GB, free: 7.941 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.6631, allocations: 4 kB / 0.7349 GB, free: 7.938 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006486/0.6638, allocations: 0.8555 MB / 0.7357 GB, free: 7.082 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02716/0.6909, allocations: 17.24 MB / 0.7525 GB, free: 5.992 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.31e-07/0.691, allocations: 0 / 0.7525 GB, free: 5.992 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003712/0.6947, allocations: 0.6406 MB / 0.7532 GB, free: 5.352 MB / 0.592 GB 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.000401/0.6951, allocations: 195.1 kB / 0.7534 GB, free: 5.152 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.6963, allocations: 0.6869 MB / 0.754 GB, free: 4.453 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6964, allocations: 0 / 0.754 GB, free: 4.453 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005832/0.6969, allocations: 419.4 kB / 0.7544 GB, free: 4.031 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/0.702, allocations: 1.702 MB / 0.7561 GB, free: 2.328 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5192/1.221, allocations: 39.91 MB / 0.7951 GB, free: 142.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008543/1.23, allocations: 8.91 MB / 0.8038 GB, free: 133.3 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.231, allocations: 0.9877 MB / 0.8047 GB, free: 132.4 MB / 0.5923 GB Notification: Performance of SimCode: time 1.052e-06/1.231, allocations: 4 kB / 0.8047 GB, free: 132.4 MB / 0.5923 GB Notification: Performance of Templates: time 4.621/5.852, allocations: 1.617 GB / 2.421 GB, free: 112.8 MB / 0.7173 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches