Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 106.5 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.001571/0.001571, 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.352/1.352, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.04/1.04, allocations: 119.3 MB / 411.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001817, allocations: 59.91 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6037, allocations: 80.69 MB / 0.5697 GB, free: 43.55 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002425/0.6062, allocations: 1.471 MB / 0.5711 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.6071, allocations: 0.5965 MB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.6072, allocations: 1.125 kB / 0.5717 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.6094, allocations: 3.423 MB / 0.575 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.6119, allocations: 3.463 MB / 0.5784 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.6122, allocations: 60.06 kB / 0.5785 GB, free: 38.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006924/0.6191, allocations: 8.541 MB / 0.5868 GB, free: 32.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.6192, allocations: 3.984 kB / 0.5868 GB, free: 32.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006484/0.6257, allocations: 4.243 MB / 0.591 GB, free: 28.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007208/0.633, allocations: 7.604 MB / 0.5984 GB, free: 20.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001707/0.6347, allocations: 0.4921 MB / 0.5989 GB, free: 19.99 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.6363, allocations: 0.5624 MB / 0.5994 GB, free: 19.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01534/0.6516, allocations: 19.89 MB / 0.6189 GB, free: 15.48 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01946/0.6711, allocations: 11.26 MB / 0.6299 GB, free: 4.113 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02118/0.6924, allocations: 18.12 MB / 0.6475 GB, free: 1.938 MB / 494.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.6924, allocations: 4 kB / 0.6475 GB, free: 1.934 MB / 494.3 MB Notification: Performance of FrontEnd: time 4.539e-06/0.6924, allocations: 4 kB / 0.6476 GB, free: 1.93 MB / 494.3 MB Notification: Performance of Transformations before backend: time 0.001289/0.6937, allocations: 0 / 0.6476 GB, free: 1.93 MB / 494.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.05908/0.7528, allocations: 38.75 MB / 0.6854 GB, free: 10.77 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.7529, allocations: 8.031 kB / 0.6854 GB, free: 10.76 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007763/0.7607, allocations: 4.403 MB / 0.6897 GB, free: 6.301 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1281/0.8888, allocations: 51.57 MB / 0.7401 GB, free: 2.379 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.8889, allocations: 4.375 kB / 0.7401 GB, free: 2.375 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.8892, allocations: 128.4 kB / 0.7402 GB, free: 2.25 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.8909, allocations: 1.52 MB / 0.7417 GB, free: 0.7227 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.8909, allocations: 0 / 0.7417 GB, free: 0.7227 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.8911, allocations: 124 kB / 0.7418 GB, free: 0.6016 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8911, allocations: 0 / 0.7418 GB, free: 0.6016 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.8922, allocations: 0.875 MB / 0.7427 GB, free: 15.72 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02524/0.9175, allocations: 13.85 MB / 0.7562 GB, free: 1.816 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.9193, allocations: 0.526 MB / 0.7567 GB, free: 1.281 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.9201, allocations: 0.5204 MB / 0.7572 GB, free: 0.7578 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.9201, allocations: 0 / 0.7572 GB, free: 0.7578 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6103/1.53, allocations: 1.317 MB / 0.7585 GB, free: 131.3 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 7.564e-06/1.531, allocations: 0 / 0.7585 GB, free: 131.3 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.0166/1.547, allocations: 8.321 MB / 0.7666 GB, free: 131.2 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/1.547, allocations: 80.78 kB / 0.7667 GB, free: 131.1 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.102/1.649, allocations: 49.59 MB / 0.8151 GB, free: 100.7 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.000935/1.65, allocations: 149.7 kB / 0.8153 GB, free: 100.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02328/1.674, allocations: 22.55 MB / 0.8373 GB, free: 78 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.675, allocations: 140.7 kB / 0.8374 GB, free: 77.87 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009155/1.676, allocations: 0.8767 MB / 0.8383 GB, free: 76.99 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/1.676, allocations: 314 kB / 0.8386 GB, free: 76.68 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/1.677, allocations: 0.502 MB / 0.8391 GB, free: 76.18 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/1.677, allocations: 0.5078 MB / 0.8396 GB, free: 75.67 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.679, allocations: 1.075 MB / 0.8406 GB, free: 74.58 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.679, allocations: 4 kB / 0.8406 GB, free: 74.58 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01067/1.689, allocations: 7.816 MB / 0.8482 GB, free: 69.2 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/1.689, allocations: 41.69 kB / 0.8483 GB, free: 69.16 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.689, allocations: 0 / 0.8483 GB, free: 69.16 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/1.689, allocations: 1.078 kB / 0.8483 GB, free: 69.16 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.69, allocations: 4.875 kB / 0.8483 GB, free: 69.15 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/1.69, allocations: 7.172 kB / 0.8483 GB, free: 69.15 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007012/1.697, allocations: 130.8 kB / 0.8484 GB, free: 69.02 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/1.698, allocations: 1.715 MB / 0.8501 GB, free: 67.31 MB / 0.5923 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.01442/1.713, allocations: 9.667 MB / 0.8595 GB, free: 57.62 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007494/1.72, allocations: 4.53 MB / 0.864 GB, free: 53.03 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.731, allocations: 5.115 MB / 0.869 GB, free: 47.9 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/1.731, allocations: 0 / 0.869 GB, free: 47.9 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.731, allocations: 0 / 0.869 GB, free: 47.9 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.731, allocations: 0 / 0.869 GB, free: 47.9 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03517/1.766, allocations: 15.08 MB / 0.8837 GB, free: 32.76 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.766, allocations: 0 / 0.8837 GB, free: 32.76 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/1.766, allocations: 9.531 kB / 0.8837 GB, free: 32.75 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.766, allocations: 5.25 kB / 0.8837 GB, free: 32.75 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00129/1.767, allocations: 378.9 kB / 0.8841 GB, free: 32.38 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/1.767, allocations: 0 / 0.8841 GB, free: 32.38 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.767, allocations: 0 / 0.8841 GB, free: 32.38 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.778, allocations: 8.15 MB / 0.892 GB, free: 24.15 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009321/1.788, allocations: 3.881 MB / 0.8958 GB, free: 20.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004667/1.792, allocations: 132 kB / 0.8959 GB, free: 20.07 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005235/1.798, allocations: 128 kB / 0.8961 GB, free: 19.94 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/1.798, allocations: 7.984 kB / 0.8961 GB, free: 19.93 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001991/1.8, allocations: 1.715 MB / 0.8977 GB, free: 18.22 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06719/1.867, allocations: 34.48 MB / 0.9314 GB, free: 40 kB / 0.6079 GB Notification: Performance of sort global known variables: time 1.172e-06/1.867, allocations: 3.391 kB / 0.9314 GB, free: 40 kB / 0.6079 GB Notification: Performance of remove unused functions: time 0.00705/1.874, allocations: 1.257 MB / 0.9326 GB, free: 14.79 MB / 0.6235 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.0008082/1.875, allocations: 251 kB / 0.9329 GB, free: 14.54 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.002058/1.877, allocations: 1.234 MB / 0.9341 GB, free: 13.3 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.877, allocations: 0 / 0.9341 GB, free: 13.3 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.878, allocations: 0.722 MB / 0.9348 GB, free: 12.56 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0254/1.903, allocations: 3.383 MB / 0.9381 GB, free: 9.18 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1611/2.065, allocations: 81.1 MB / 1.017 GB, free: 8.52 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3961/2.461, allocations: 17.33 MB / 1.034 GB, free: 208 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004702/2.466, allocations: 1.964 MB / 1.036 GB, free: 208 MB / 0.7017 GB Notification: Performance of SimCode: time 1.242e-06/2.466, allocations: 0 / 1.036 GB, free: 208 MB / 0.7017 GB Notification: Performance of Templates: time 19.09/21.56, allocations: 6.093 GB / 7.13 GB, free: 173.8 MB / 0.811 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches