Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 106.6 kB / 16.92 MB, free: 5.777 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.001397/0.001397, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.306/1.306, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9509/0.9509, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 59.91 kB / 0.4909 GB, free: 13.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5513/0.5526, allocations: 80.69 MB / 0.5697 GB, free: 43.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002519/0.5552, allocations: 1.407 MB / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.5561, allocations: 0.5774 MB / 0.5717 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.5562, allocations: 1 kB / 0.5717 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.5603, allocations: 6.843 MB / 0.5784 GB, free: 38.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.5642, allocations: 6.887 MB / 0.5851 GB, free: 33.95 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.5646, allocations: 79.77 kB / 0.5852 GB, free: 33.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009666/0.5742, allocations: 17.03 MB / 0.6018 GB, free: 16.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.5744, allocations: 11.98 kB / 0.6018 GB, free: 16.81 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009699/0.5841, allocations: 8.462 MB / 0.6101 GB, free: 8.332 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/0.6038, allocations: 16.14 MB / 0.6258 GB, free: 8.168 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005851/0.6097, allocations: 0.9805 MB / 0.6268 GB, free: 7.188 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005596/0.6153, allocations: 1.051 MB / 0.6278 GB, free: 6.137 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04365/0.659, allocations: 39.81 MB / 0.6667 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03264/0.6917, allocations: 22.48 MB / 0.6886 GB, free: 7.516 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.05048/0.7422, allocations: 48.43 MB / 0.7359 GB, free: 6.816 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.7423, allocations: 0 / 0.7359 GB, free: 6.816 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7423, allocations: 0 / 0.7359 GB, free: 6.816 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.00151/0.7438, allocations: 4 kB / 0.7359 GB, free: 6.812 MB / 0.5764 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.6839/1.428, allocations: 77.12 MB / 0.8113 GB, free: 84.14 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/1.428, allocations: 8.031 kB / 0.8113 GB, free: 84.13 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.442, allocations: 8.798 MB / 0.8198 GB, free: 75.22 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2742/1.716, allocations: 103.1 MB / 0.9205 GB, free: 3.566 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.716, allocations: 384 / 0.9205 GB, free: 3.566 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/1.718, allocations: 253.2 kB / 0.9207 GB, free: 3.32 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/1.723, allocations: 2.98 MB / 0.9236 GB, free: 340 kB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.723, allocations: 3.562 kB / 0.9236 GB, free: 340 kB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004279/1.723, allocations: 251.9 kB / 0.9239 GB, free: 88 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.723, allocations: 6.25 kB / 0.9239 GB, free: 84 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/1.725, allocations: 1.73 MB / 0.9256 GB, free: 14.36 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/1.773, allocations: 27.54 MB / 0.9525 GB, free: 2.738 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/1.777, allocations: 1.015 MB / 0.9535 GB, free: 1.715 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/1.78, allocations: 1.005 MB / 0.9544 GB, free: 0.707 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/1.78, allocations: 3.969 kB / 0.9545 GB, free: 0.707 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004965/1.785, allocations: 2.541 MB / 0.9569 GB, free: 14.14 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/1.785, allocations: 0 / 0.9569 GB, free: 14.14 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.03185/1.817, allocations: 16.5 MB / 0.973 GB, free: 13.51 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/1.817, allocations: 82.27 kB / 0.9731 GB, free: 13.42 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5963/2.414, allocations: 99.06 MB / 1.07 GB, free: 181.1 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.001741/2.416, allocations: 276.1 kB / 1.07 GB, free: 181.1 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.04834/2.464, allocations: 46.98 MB / 1.116 GB, free: 140.5 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/2.466, allocations: 264.1 kB / 1.116 GB, free: 140.4 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006952/2.473, allocations: 1.729 MB / 1.118 GB, free: 140.4 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/2.473, allocations: 314 kB / 1.118 GB, free: 140.1 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/2.475, allocations: 0.9901 MB / 1.119 GB, free: 140.1 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/2.477, allocations: 0.9986 MB / 1.12 GB, free: 140.1 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/2.479, allocations: 2.052 MB / 1.122 GB, free: 140 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.479, allocations: 2.25 kB / 1.122 GB, free: 140 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02065/2.5, allocations: 15.51 MB / 1.137 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/2.5, allocations: 37.02 kB / 1.137 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/2.5, allocations: 0 / 1.137 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/2.5, allocations: 7.734 kB / 1.137 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/2.5, allocations: 7.453 kB / 1.137 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/2.5, allocations: 0.5 kB / 1.137 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/2.516, allocations: 259.8 kB / 1.138 GB, free: 139.9 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005519/2.522, allocations: 3.42 MB / 1.141 GB, free: 139.4 MB / 0.7329 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.0298/2.552, allocations: 19.19 MB / 1.16 GB, free: 121 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01482/2.566, allocations: 9.041 MB / 1.169 GB, free: 116.8 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/2.588, allocations: 10.23 MB / 1.179 GB, free: 106.6 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/2.588, allocations: 7.938 kB / 1.179 GB, free: 106.6 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/2.588, allocations: 0 / 1.179 GB, free: 106.6 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/2.588, allocations: 0 / 1.179 GB, free: 106.6 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06938/2.657, allocations: 29.99 MB / 1.208 GB, free: 76.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/2.657, allocations: 0 / 1.208 GB, free: 76.5 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-05/2.657, allocations: 4 kB / 1.208 GB, free: 76.5 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/2.657, allocations: 6.359 kB / 1.208 GB, free: 76.5 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002438/2.66, allocations: 0.7344 MB / 1.209 GB, free: 75.76 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/2.66, allocations: 7.922 kB / 1.209 GB, free: 75.75 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.66, allocations: 0 / 1.209 GB, free: 75.75 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02905/2.689, allocations: 16.15 MB / 1.224 GB, free: 59.47 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0201/2.709, allocations: 7.653 MB / 1.232 GB, free: 51.68 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01216/2.721, allocations: 252 kB / 1.232 GB, free: 51.44 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01457/2.736, allocations: 259.9 kB / 1.232 GB, free: 51.18 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/2.736, allocations: 8.094 kB / 1.232 GB, free: 51.18 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00653/2.742, allocations: 3.426 MB / 1.236 GB, free: 47.75 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1331/2.875, allocations: 68.98 MB / 1.303 GB, free: 11.42 MB / 0.7642 GB Notification: Performance of sort global known variables: time 9.21e-07/2.875, allocations: 2 kB / 1.303 GB, free: 11.42 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.01521/2.891, allocations: 2.474 MB / 1.305 GB, free: 8.949 MB / 0.7642 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.002406/2.893, allocations: 369.5 kB / 1.306 GB, free: 8.582 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.01086/2.904, allocations: 2.343 MB / 1.308 GB, free: 6.23 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.904, allocations: 0 / 1.308 GB, free: 6.23 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.005942/2.91, allocations: 1.327 MB / 1.309 GB, free: 4.895 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05182/2.962, allocations: 6.747 MB / 1.316 GB, free: 14.14 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5478/3.51, allocations: 145.9 MB / 1.458 GB, free: 184.3 MB / 0.7798 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06113/3.571, allocations: 34.38 MB / 1.492 GB, free: 149.9 MB / 0.7798 GB Notification: Performance of simCode: alias equations: time 0.05253/3.623, allocations: 18.69 MB / 1.51 GB, free: 131.1 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00781/3.631, allocations: 3.914 MB / 1.514 GB, free: 127.2 MB / 0.7798 GB Notification: Performance of SimCode: time 1.503e-06/3.631, allocations: 4 kB / 1.514 GB, free: 127.2 MB / 0.7798 GB Notification: Performance of Templates: time 1.19/4.822, allocations: 339.3 MB / 1.845 GB, free: 66.61 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches