Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 113.8 kB / 17.74 MB, free: 5.336 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.001288/0.001288, allocations: 185.5 kB / 18.66 MB, free: 4.422 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.378/1.378, allocations: 222.9 MB / 242.4 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 0.9128/0.9128, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.02 kB / 0.5716 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 80.7 MB / 0.6504 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.002703/0.1536, allocations: 1.581 MB / 0.6519 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.155, allocations: 0.8847 MB / 0.6528 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.1551, allocations: 7.938 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.1591, allocations: 6.88 MB / 0.6595 GB, free: 3.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.1614, allocations: 3.512 MB / 0.6629 GB, free: 164 kB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1618, allocations: 103.6 kB / 0.663 GB, free: 64 kB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.006052/0.1678, allocations: 8.594 MB / 0.6714 GB, free: 7.457 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.141e-05/0.1679, allocations: 7.984 kB / 0.6714 GB, free: 7.449 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.1729, allocations: 4.266 MB / 0.6756 GB, free: 3.176 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008454/0.1813, allocations: 8.096 MB / 0.6835 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.1827, allocations: 500 kB / 0.684 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.1838, allocations: 0.5273 MB / 0.6845 GB, free: 10.05 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02122/0.205, allocations: 19.92 MB / 0.7039 GB, free: 6.082 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01523/0.2203, allocations: 11.26 MB / 0.7149 GB, free: 10.71 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.0249/0.2452, allocations: 24.75 MB / 0.7391 GB, free: 1.828 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.2453, allocations: 0 / 0.7391 GB, free: 1.828 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.554e-06/0.2453, allocations: 4 kB / 0.7391 GB, free: 1.824 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.0009208/0.2462, allocations: 0 / 0.7391 GB, free: 1.824 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.6308/0.8771, allocations: 38.76 MB / 0.777 GB, free: 78.2 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.8772, allocations: 13.36 kB / 0.777 GB, free: 78.2 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0067/0.8839, allocations: 4.404 MB / 0.7813 GB, free: 75.7 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1079/0.9918, allocations: 51.6 MB / 0.8317 GB, free: 34.86 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.9918, allocations: 384 / 0.8317 GB, free: 34.86 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.9919, allocations: 5.125 kB / 0.8317 GB, free: 34.86 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.992, allocations: 53.48 kB / 0.8317 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9921, allocations: 0 / 0.8317 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.9921, allocations: 3.938 kB / 0.8317 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9921, allocations: 4 kB / 0.8317 GB, free: 34.8 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.9922, allocations: 13.77 kB / 0.8317 GB, free: 34.79 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/1.009, allocations: 13.73 MB / 0.8452 GB, free: 20.99 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/1.01, allocations: 57.81 kB / 0.8452 GB, free: 20.93 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/1.01, allocations: 20.84 kB / 0.8452 GB, free: 20.91 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/1.01, allocations: 4.984 kB / 0.8452 GB, free: 20.91 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/1.01, allocations: 59.39 kB / 0.8453 GB, free: 20.84 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=5): time 2.454e-06/1.01, allocations: 0 / 0.8453 GB, free: 20.84 MB / 0.6079 GB Notification: Performance of matching and sorting (n=5): time 0.007272/1.017, allocations: 4.613 MB / 0.8498 GB, free: 16.16 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.017, allocations: 61.98 kB / 0.8499 GB, free: 16.09 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06885/1.086, allocations: 50.57 MB / 0.8992 GB, free: 13.94 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/1.086, allocations: 29.7 kB / 0.8993 GB, free: 13.9 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.02427/1.111, allocations: 23.58 MB / 0.9223 GB, free: 6.312 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/1.111, allocations: 19.72 kB / 0.9223 GB, free: 6.297 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/1.111, allocations: 21.7 kB / 0.9223 GB, free: 6.27 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/1.111, allocations: 306 kB / 0.9226 GB, free: 5.965 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/1.111, allocations: 22.11 kB / 0.9226 GB, free: 5.949 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/1.111, allocations: 25.72 kB / 0.9227 GB, free: 5.918 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/1.111, allocations: 42.58 kB / 0.9227 GB, free: 5.871 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.111, allocations: 0.5625 kB / 0.9227 GB, free: 5.871 MB / 0.6704 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01097/1.122, allocations: 4.595 MB / 0.9272 GB, free: 1.211 MB / 0.6704 GB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/1.122, allocations: 7.938 kB / 0.9272 GB, free: 1.203 MB / 0.6704 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.122, allocations: 1.906 kB / 0.9272 GB, free: 1.203 MB / 0.6704 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/1.122, allocations: 6.359 kB / 0.9272 GB, free: 1.199 MB / 0.6704 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/1.122, allocations: 15.94 kB / 0.9272 GB, free: 1.184 MB / 0.6704 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.122, allocations: 0 / 0.9272 GB, free: 1.184 MB / 0.6704 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008925/1.131, allocations: 135.8 kB / 0.9274 GB, free: 1.055 MB / 0.6704 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/1.131, allocations: 0 / 0.9274 GB, free: 1.055 MB / 0.6704 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.01762/1.149, allocations: 9.4 MB / 0.9365 GB, free: 7.637 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009624/1.159, allocations: 4.652 MB / 0.9411 GB, free: 2.926 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.171, allocations: 5.123 MB / 0.9461 GB, free: 13.8 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.171, allocations: 4.938 kB / 0.9461 GB, free: 13.8 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.171, allocations: 0 / 0.9461 GB, free: 13.8 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.171, allocations: 0 / 0.9461 GB, free: 13.8 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03016/1.201, allocations: 15.07 MB / 0.9608 GB, free: 14.66 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.201, allocations: 0.6875 kB / 0.9608 GB, free: 14.66 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/1.201, allocations: 5.078 kB / 0.9608 GB, free: 14.66 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/1.201, allocations: 11.47 kB / 0.9608 GB, free: 14.65 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/1.201, allocations: 0 / 0.9608 GB, free: 14.65 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.201, allocations: 0 / 0.9608 GB, free: 14.65 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.201, allocations: 6 kB / 0.9608 GB, free: 14.64 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009506/1.211, allocations: 5.033 MB / 0.9657 GB, free: 9.535 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008124/1.219, allocations: 3.501 MB / 0.9692 GB, free: 5.957 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004136/1.223, allocations: 131.9 kB / 0.9693 GB, free: 5.828 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004825/1.228, allocations: 135 kB / 0.9694 GB, free: 5.699 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/1.228, allocations: 0 / 0.9694 GB, free: 5.699 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/1.228, allocations: 6.844 kB / 0.9694 GB, free: 5.695 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.06874/1.297, allocations: 35.01 MB / 1.004 GB, free: 2.988 MB / 0.7485 GB Notification: Performance of sort global known variables: time 6.31e-07/1.297, allocations: 0 / 1.004 GB, free: 2.988 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.006092/1.303, allocations: 1.238 MB / 1.005 GB, free: 1.75 MB / 0.7485 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001059/1.304, allocations: 409.1 kB / 1.005 GB, free: 1.551 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.0002276/1.304, allocations: 39.92 kB / 1.005 GB, free: 1.512 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.304, allocations: 0 / 1.005 GB, free: 1.512 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/1.305, allocations: 20 kB / 1.005 GB, free: 1.492 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01815/1.323, allocations: 3.398 MB / 1.009 GB, free: 14.09 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1227/1.445, allocations: 72.36 MB / 1.079 GB, free: 6.156 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4023/1.848, allocations: 17.34 MB / 1.096 GB, free: 266.7 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008273/1.856, allocations: 4.405 MB / 1.1 GB, free: 265.8 MB / 0.8267 GB Notification: Performance of SimCode: time 1.653e-06/1.856, allocations: 0 / 1.1 GB, free: 265.8 MB / 0.8267 GB Notification: Performance of Templates: time 18.61/20.46, allocations: 6.075 GB / 7.175 GB, free: 7.543 MB / 0.9204 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches