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.001675/0.001675, allocations: 110.3 kB / 17.06 MB, free: 6.023 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.001997/0.001998, allocations: 191.8 kB / 18 MB, free: 5.105 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.459/1.459, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.17/1.17, allocations: 119.3 MB / 411.2 MB, free: 9.449 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.86 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1723, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002549/0.1749, allocations: 1.413 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.1759, allocations: 0.5691 MB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.176, allocations: 0 / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.1764, allocations: 451.1 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.1769, allocations: 490.9 kB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1772, allocations: 79.8 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1783, allocations: 1.131 MB / 0.6537 GB, free: 8.926 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.1784, allocations: 4 kB / 0.6537 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.1792, allocations: 0.5654 MB / 0.6543 GB, free: 8.355 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.1803, allocations: 1.03 MB / 0.6553 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1805, allocations: 64 kB / 0.6553 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.1807, allocations: 139.9 kB / 0.6555 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/0.1839, allocations: 2.501 MB / 0.6579 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.1851, allocations: 1.42 MB / 0.6593 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.1878, allocations: 3.166 MB / 0.6624 GB, free: 0 / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.982e-05/0.1878, allocations: 48 / 0.6624 GB, free: 16 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1878, allocations: 4 kB / 0.6624 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 3.589e-05/0.1879, allocations: 3.938 kB / 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.005427/0.1933, allocations: 5.161 MB / 0.6674 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1934, allocations: 15.97 kB / 0.6675 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.194, allocations: 0.556 MB / 0.668 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009666/0.2037, allocations: 6.531 MB / 0.6744 GB, free: 3.543 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2037, allocations: 4.375 kB / 0.6744 GB, free: 3.539 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.2038, allocations: 20.38 kB / 0.6744 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.2041, allocations: 241.8 kB / 0.6746 GB, free: 3.277 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2042, allocations: 3.938 kB / 0.6746 GB, free: 3.273 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.2042, allocations: 16 kB / 0.6747 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2042, allocations: 4 kB / 0.6747 GB, free: 3.254 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.2044, allocations: 128 kB / 0.6748 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.2064, allocations: 1.866 MB / 0.6766 GB, free: 1.215 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2065, allocations: 106.5 kB / 0.6767 GB, free: 1.102 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2067, allocations: 92.86 kB / 0.6768 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2067, allocations: 0 / 0.6768 GB, free: 1.008 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.207, allocations: 256.9 kB / 0.677 GB, free: 0.7383 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.834e-06/0.207, allocations: 0 / 0.677 GB, free: 0.7383 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.00138/0.2084, allocations: 1.168 MB / 0.6782 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.2085, allocations: 77.11 kB / 0.6783 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00679/0.2153, allocations: 6.279 MB / 0.6844 GB, free: 9.223 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.2154, allocations: 41.7 kB / 0.6844 GB, free: 9.176 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.2176, allocations: 2.524 MB / 0.6869 GB, free: 6.648 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.2177, allocations: 31.72 kB / 0.6869 GB, free: 6.617 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.2178, allocations: 133.7 kB / 0.687 GB, free: 6.48 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.2179, allocations: 314 kB / 0.6873 GB, free: 6.168 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2181, allocations: 76 kB / 0.6874 GB, free: 6.094 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2182, allocations: 79.98 kB / 0.6875 GB, free: 6.016 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.2185, allocations: 224.2 kB / 0.6877 GB, free: 5.781 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2185, allocations: 4 kB / 0.6877 GB, free: 5.777 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001377/0.2199, allocations: 1.097 MB / 0.6888 GB, free: 4.66 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.2199, allocations: 33.69 kB / 0.6888 GB, free: 4.621 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.22, allocations: 7.984 kB / 0.6888 GB, free: 4.613 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.22, allocations: 0 / 0.6888 GB, free: 4.613 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.2201, allocations: 8 kB / 0.6888 GB, free: 4.605 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2201, allocations: 0 / 0.6888 GB, free: 4.605 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.2205, allocations: 23.94 kB / 0.6889 GB, free: 4.582 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.2207, allocations: 220 kB / 0.6891 GB, free: 4.367 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.001527/0.2222, allocations: 1.339 MB / 0.6904 GB, free: 3.012 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004569/0.2227, allocations: 0.5824 MB / 0.6909 GB, free: 2.422 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.2234, allocations: 0.6441 MB / 0.6916 GB, free: 1.773 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2234, allocations: 0 / 0.6916 GB, free: 1.773 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2234, allocations: 8 kB / 0.6916 GB, free: 1.766 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2234, allocations: 0 / 0.6916 GB, free: 1.766 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.2251, allocations: 2.022 MB / 0.6936 GB, free: 15.69 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2251, allocations: 0 / 0.6936 GB, free: 15.69 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.2251, allocations: 7.938 kB / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2252, allocations: 0 / 0.6936 GB, free: 15.68 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.2252, allocations: 52 kB / 0.6936 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2252, allocations: 0 / 0.6936 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2252, allocations: 0 / 0.6936 GB, free: 15.63 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2265, allocations: 1.172 MB / 0.6948 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.2271, allocations: 0.5601 MB / 0.6953 GB, free: 13.85 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.2273, allocations: 24 kB / 0.6953 GB, free: 13.82 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.2276, allocations: 23.98 kB / 0.6953 GB, free: 13.8 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.2277, allocations: 3.938 kB / 0.6954 GB, free: 13.8 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.2279, allocations: 224 kB / 0.6956 GB, free: 13.58 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005048/0.2329, allocations: 4.321 MB / 0.6998 GB, free: 9.297 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2329, allocations: 0 / 0.6998 GB, free: 9.297 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.000585/0.2335, allocations: 196 kB / 0.7 GB, free: 9.105 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.000237/0.2338, allocations: 143.6 kB / 0.7001 GB, free: 8.961 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.2342, allocations: 283.5 kB / 0.7004 GB, free: 8.672 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2343, allocations: 4 kB / 0.7004 GB, free: 8.668 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2345, allocations: 183.4 kB / 0.7006 GB, free: 8.477 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.2356, allocations: 441.1 kB / 0.701 GB, free: 8.043 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.2468, allocations: 8.38 MB / 0.7092 GB, free: 15.63 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/0.2496, allocations: 2.724 MB / 0.7118 GB, free: 12.88 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002508/0.2521, allocations: 1.145 MB / 0.7129 GB, free: 11.73 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.2525, allocations: 259.4 kB / 0.7132 GB, free: 11.48 MB / 0.5608 GB Notification: Performance of SimCode: time 7.51e-07/0.2525, allocations: 0 / 0.7132 GB, free: 11.48 MB / 0.5608 GB Notification: Performance of Templates: time 0.05403/0.3065, allocations: 20.71 MB / 0.7334 GB, free: 6.656 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins/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