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.001327/0.001327, allocations: 112.7 kB / 17.06 MB, free: 6.004 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.001579/0.001578, allocations: 198.9 kB / 18 MB, free: 5.082 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.567/1.567, 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.42/1.42, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2024, allocations: 80.69 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.003776/0.2063, allocations: 1.424 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2074, allocations: 0.5691 MB / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.2075, allocations: 0 / 0.6517 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.208, allocations: 447.1 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.2086, allocations: 491 kB / 0.6526 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.2089, allocations: 83.66 kB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009912/0.2099, allocations: 1.127 MB / 0.6537 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.21, allocations: 4 kB / 0.6537 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.2105, allocations: 0.5654 MB / 0.6543 GB, free: 8.395 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000911/0.2114, allocations: 1.026 MB / 0.6553 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2116, allocations: 68 kB / 0.6554 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.2118, allocations: 143.9 kB / 0.6555 GB, free: 7.16 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.2145, allocations: 2.497 MB / 0.6579 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.2156, allocations: 1.423 MB / 0.6593 GB, free: 3.219 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.2183, allocations: 3.17 MB / 0.6624 GB, free: 32 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2183, allocations: 0 / 0.6624 GB, free: 32 kB / 0.4983 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2184, allocations: 0 / 0.6624 GB, free: 32 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.646e-05/0.2184, allocations: 4 kB / 0.6624 GB, free: 28 kB / 0.4983 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.006249/0.2247, allocations: 5.165 MB / 0.6675 GB, free: 10.77 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.2247, allocations: 8.031 kB / 0.6675 GB, free: 10.76 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.2254, allocations: 0.556 MB / 0.668 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/0.2359, allocations: 6.531 MB / 0.6744 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.236, allocations: 384 / 0.6744 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.236, allocations: 20.38 kB / 0.6744 GB, free: 3.562 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.2364, allocations: 245.7 kB / 0.6746 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2364, allocations: 11.94 kB / 0.6747 GB, free: 3.305 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.2365, allocations: 16 kB / 0.6747 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2365, allocations: 0 / 0.6747 GB, free: 3.289 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.2367, allocations: 128 kB / 0.6748 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.2395, allocations: 1.866 MB / 0.6766 GB, free: 1.25 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.2397, allocations: 102.5 kB / 0.6767 GB, free: 1.141 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2399, allocations: 92.89 kB / 0.6768 GB, free: 1.047 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2399, allocations: 4 kB / 0.6768 GB, free: 1.043 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.2402, allocations: 260.8 kB / 0.6771 GB, free: 0.7695 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2402, allocations: 0 / 0.6771 GB, free: 0.7695 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001457/0.2417, allocations: 1.164 MB / 0.6782 GB, free: 15.58 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.2418, allocations: 81.11 kB / 0.6783 GB, free: 15.48 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006991/0.2488, allocations: 6.275 MB / 0.6844 GB, free: 9.254 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.2489, allocations: 41.7 kB / 0.6844 GB, free: 9.207 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002747/0.2516, allocations: 2.52 MB / 0.6869 GB, free: 6.684 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.2517, allocations: 35.72 kB / 0.6869 GB, free: 6.648 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.252, allocations: 133.7 kB / 0.6871 GB, free: 6.512 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.2523, allocations: 310 kB / 0.6874 GB, free: 6.203 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.2524, allocations: 83.92 kB / 0.6874 GB, free: 6.121 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.2526, allocations: 76 kB / 0.6875 GB, free: 6.047 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.2531, allocations: 228.2 kB / 0.6877 GB, free: 5.809 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2531, allocations: 0 / 0.6877 GB, free: 5.809 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002013/0.2551, allocations: 1.09 MB / 0.6888 GB, free: 4.699 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.2552, allocations: 48.5 kB / 0.6888 GB, free: 4.648 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2553, allocations: 0 / 0.6888 GB, free: 4.648 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/0.2553, allocations: 0 / 0.6888 GB, free: 4.648 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2554, allocations: 4 kB / 0.6888 GB, free: 4.645 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2555, allocations: 0 / 0.6888 GB, free: 4.645 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/0.2563, allocations: 23.94 kB / 0.6889 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/0.2567, allocations: 228.1 kB / 0.6891 GB, free: 4.398 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.002213/0.2589, allocations: 1.339 MB / 0.6904 GB, free: 3.043 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007801/0.2597, allocations: 0.5746 MB / 0.691 GB, free: 2.461 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.2605, allocations: 0.648 MB / 0.6916 GB, free: 1.809 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2605, allocations: 4 kB / 0.6916 GB, free: 1.805 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2606, allocations: 0 / 0.6916 GB, free: 1.805 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2606, allocations: 0 / 0.6916 GB, free: 1.805 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.2629, allocations: 2.022 MB / 0.6936 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2629, allocations: 0 / 0.6936 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.263, allocations: 7.938 kB / 0.6936 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.263, allocations: 0 / 0.6936 GB, free: 15.73 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.263, allocations: 51.98 kB / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.263, allocations: 0 / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2631, allocations: 3.938 kB / 0.6936 GB, free: 15.67 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.2643, allocations: 1.168 MB / 0.6948 GB, free: 14.47 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.265, allocations: 0.5678 MB / 0.6953 GB, free: 13.88 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.2653, allocations: 20 kB / 0.6953 GB, free: 13.86 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.2656, allocations: 16 kB / 0.6954 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.2656, allocations: 4 kB / 0.6954 GB, free: 13.84 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/0.2658, allocations: 232 kB / 0.6956 GB, free: 13.61 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005498/0.2713, allocations: 4.324 MB / 0.6998 GB, free: 9.328 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2714, allocations: 4 kB / 0.6998 GB, free: 9.324 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005646/0.2719, allocations: 188 kB / 0.7 GB, free: 9.141 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.0002451/0.2722, allocations: 143.9 kB / 0.7001 GB, free: 8.992 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0005291/0.2727, allocations: 287.3 kB / 0.7004 GB, free: 8.699 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2727, allocations: 0 / 0.7004 GB, free: 8.699 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.273, allocations: 187.4 kB / 0.7006 GB, free: 8.504 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.2742, allocations: 441.2 kB / 0.701 GB, free: 8.07 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.2863, allocations: 8.372 MB / 0.7092 GB, free: 15.67 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/0.2893, allocations: 2.728 MB / 0.7118 GB, free: 12.91 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002575/0.2919, allocations: 1.145 MB / 0.713 GB, free: 11.76 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.2922, allocations: 259.4 kB / 0.7132 GB, free: 11.51 MB / 0.5608 GB Notification: Performance of SimCode: time 1.603e-06/0.2922, allocations: 0 / 0.7132 GB, free: 11.51 MB / 0.5608 GB Notification: Performance of Templates: time 0.05781/0.35, allocations: 21.49 MB / 0.7342 GB, free: 5.902 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