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.001472/0.001472, allocations: 117.1 kB / 17.07 MB, free: 5.973 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.001539/0.001539, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.553/1.553, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.415/1.415, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 61.34 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003702/0.2368, allocations: 1.414 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2383, allocations: 0.569 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.2384, allocations: 8 kB / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.239, allocations: 443.1 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007931/0.2399, allocations: 491 kB / 0.6526 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.2403, allocations: 83.53 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.2415, allocations: 1.127 MB / 0.6537 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.2416, allocations: 8 kB / 0.6537 GB, free: 8.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.2427, allocations: 0.5654 MB / 0.6543 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.2442, allocations: 1.034 MB / 0.6553 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.2443, allocations: 68 kB / 0.6554 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/0.2446, allocations: 135.9 kB / 0.6555 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00249/0.2471, allocations: 2.497 MB / 0.6579 GB, free: 4.625 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.2485, allocations: 1.427 MB / 0.6593 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.2513, allocations: 3.174 MB / 0.6624 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.2513, allocations: 0 / 0.6624 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2514, allocations: 0 / 0.6624 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.801e-05/0.2514, allocations: 0 / 0.6624 GB, free: 15.99 MB / 0.5139 GB 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.005883/0.2573, allocations: 5.161 MB / 0.6675 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2574, allocations: 8.031 kB / 0.6675 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.2581, allocations: 0.556 MB / 0.668 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.2702, allocations: 6.527 MB / 0.6744 GB, free: 3.555 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.2703, allocations: 4.375 kB / 0.6744 GB, free: 3.551 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.2703, allocations: 16.38 kB / 0.6744 GB, free: 3.535 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.2709, allocations: 245.8 kB / 0.6747 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2709, allocations: 3.938 kB / 0.6747 GB, free: 3.285 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.271, allocations: 23.98 kB / 0.6747 GB, free: 3.262 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.271, allocations: 3.938 kB / 0.6747 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.2712, allocations: 124 kB / 0.6748 GB, free: 3.137 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003327/0.2745, allocations: 1.866 MB / 0.6766 GB, free: 1.223 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.2749, allocations: 106.6 kB / 0.6767 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.275, allocations: 88.86 kB / 0.6768 GB, free: 1.02 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2751, allocations: 48 / 0.6768 GB, free: 1.02 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/0.2755, allocations: 260.8 kB / 0.6771 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.2755, allocations: 0 / 0.6771 GB, free: 0.7461 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.002046/0.2776, allocations: 1.16 MB / 0.6782 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.2777, allocations: 81.11 kB / 0.6783 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/0.2883, allocations: 6.283 MB / 0.6844 GB, free: 9.23 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.2885, allocations: 41.7 kB / 0.6844 GB, free: 9.184 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/0.291, allocations: 2.516 MB / 0.6869 GB, free: 6.664 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.2912, allocations: 35.72 kB / 0.6869 GB, free: 6.629 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.2914, allocations: 133.7 kB / 0.6871 GB, free: 6.492 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.2916, allocations: 306 kB / 0.6874 GB, free: 6.188 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2917, allocations: 80 kB / 0.6874 GB, free: 6.109 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2919, allocations: 87.86 kB / 0.6875 GB, free: 6.023 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2922, allocations: 232.2 kB / 0.6877 GB, free: 5.781 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2922, allocations: 0 / 0.6877 GB, free: 5.781 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002166/0.2944, allocations: 1.09 MB / 0.6888 GB, free: 4.672 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.2945, allocations: 41.69 kB / 0.6888 GB, free: 4.625 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2945, allocations: 0 / 0.6888 GB, free: 4.625 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.2945, allocations: 0 / 0.6888 GB, free: 4.625 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2947, allocations: 4 kB / 0.6888 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2947, allocations: 0 / 0.6888 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.2956, allocations: 23.94 kB / 0.6889 GB, free: 4.598 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/0.2959, allocations: 220 kB / 0.6891 GB, free: 4.383 MB / 0.5295 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.002612/0.2985, allocations: 1.351 MB / 0.6904 GB, free: 3.016 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001304/0.2998, allocations: 0.5746 MB / 0.691 GB, free: 2.434 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.3018, allocations: 0.6402 MB / 0.6916 GB, free: 1.789 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3018, allocations: 0 / 0.6916 GB, free: 1.789 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3018, allocations: 7.984 kB / 0.6916 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3018, allocations: 0 / 0.6916 GB, free: 1.781 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/0.3062, allocations: 2.022 MB / 0.6936 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3062, allocations: 0 / 0.6936 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.3063, allocations: 11.94 kB / 0.6936 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3063, allocations: 4 kB / 0.6936 GB, free: 15.7 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/0.3064, allocations: 48 kB / 0.6936 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3064, allocations: 0 / 0.6936 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3064, allocations: 0 / 0.6936 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.3084, allocations: 1.172 MB / 0.6948 GB, free: 14.45 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.3098, allocations: 0.5641 MB / 0.6953 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/0.3104, allocations: 19.94 kB / 0.6953 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.311, allocations: 20 kB / 0.6954 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.3111, allocations: 8 kB / 0.6954 GB, free: 13.81 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.3113, allocations: 224 kB / 0.6956 GB, free: 13.59 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.007777/0.3191, allocations: 4.328 MB / 0.6998 GB, free: 9.301 MB / 0.5452 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3191, allocations: 0 / 0.6998 GB, free: 9.301 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.001229/0.3203, allocations: 188 kB / 0.7 GB, free: 9.117 MB / 0.5452 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.0003748/0.3207, allocations: 143.9 kB / 0.7001 GB, free: 8.969 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.3213, allocations: 283.3 kB / 0.7004 GB, free: 8.68 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3214, allocations: 0 / 0.7004 GB, free: 8.68 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.3216, allocations: 191.4 kB / 0.7006 GB, free: 8.48 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.324, allocations: 437.2 kB / 0.701 GB, free: 8.051 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.3389, allocations: 8.376 MB / 0.7092 GB, free: 15.64 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004165/0.3432, allocations: 2.732 MB / 0.7118 GB, free: 12.89 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.003505/0.3467, allocations: 1.145 MB / 0.713 GB, free: 11.73 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/0.3473, allocations: 259.4 kB / 0.7132 GB, free: 11.48 MB / 0.5608 GB Notification: Performance of SimCode: time 1.623e-06/0.3474, allocations: 4 kB / 0.7132 GB, free: 11.48 MB / 0.5608 GB Notification: Performance of Templates: time 0.06341/0.4108, allocations: 20.7 MB / 0.7334 GB, free: 6.668 MB / 0.5764 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","/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