Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111.8 kB / 17.74 MB, free: 5.359 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.001445/0.001445, allocations: 177.5 kB / 18.66 MB, free: 4.445 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.387/1.387, 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 1.027/1.027, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 62.81 kB / 0.5716 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.164, allocations: 80.71 MB / 0.6504 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.003054/0.1671, allocations: 1.577 MB / 0.6519 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1685, allocations: 0.8924 MB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.1686, allocations: 4 kB / 0.6528 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.1699, allocations: 1.75 MB / 0.6545 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000827/0.1707, allocations: 0.9471 MB / 0.6554 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.171, allocations: 99.67 kB / 0.6555 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001601/0.1727, allocations: 2.227 MB / 0.6577 GB, free: 5.555 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1727, allocations: 15.98 kB / 0.6577 GB, free: 5.539 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009446/0.1737, allocations: 1.107 MB / 0.6588 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1753, allocations: 2.051 MB / 0.6608 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.1755, allocations: 128 kB / 0.6609 GB, free: 2.25 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.1759, allocations: 159.9 kB / 0.6611 GB, free: 2.094 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004705/0.1806, allocations: 4.999 MB / 0.6659 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.1829, allocations: 2.827 MB / 0.6687 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.1873, allocations: 6.259 MB / 0.6748 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1873, allocations: 0 / 0.6748 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.504e-06/0.1873, allocations: 0 / 0.6748 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.000106/0.1875, allocations: 0 / 0.6748 GB, free: 3.934 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01157/0.199, allocations: 9.98 MB / 0.6846 GB, free: 9.82 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.1991, allocations: 11.89 kB / 0.6846 GB, free: 9.809 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.2005, allocations: 1.107 MB / 0.6857 GB, free: 8.688 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02285/0.2233, allocations: 12.98 MB / 0.6983 GB, free: 11.58 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2234, allocations: 4.375 kB / 0.6983 GB, free: 11.58 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2235, allocations: 8.125 kB / 0.6984 GB, free: 11.57 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.2237, allocations: 45.67 kB / 0.6984 GB, free: 11.52 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2237, allocations: 8 kB / 0.6984 GB, free: 11.51 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2237, allocations: 0 / 0.6984 GB, free: 11.51 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2237, allocations: 0 / 0.6984 GB, free: 11.51 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.2238, allocations: 15.98 kB / 0.6984 GB, free: 11.5 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006442/0.2303, allocations: 3.549 MB / 0.7019 GB, free: 7.902 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2305, allocations: 54.56 kB / 0.7019 GB, free: 7.84 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.2306, allocations: 28.78 kB / 0.702 GB, free: 7.809 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2306, allocations: 0 / 0.702 GB, free: 7.809 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.2308, allocations: 63.39 kB / 0.702 GB, free: 7.734 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.2308, allocations: 0 / 0.702 GB, free: 7.734 MB / 0.5452 GB Notification: Performance of matching and sorting (n=5): time 0.002382/0.2332, allocations: 1.221 MB / 0.7032 GB, free: 6.492 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2333, allocations: 55.41 kB / 0.7033 GB, free: 6.426 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02066/0.254, allocations: 12.75 MB / 0.7157 GB, free: 9.781 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.254, allocations: 33.7 kB / 0.7158 GB, free: 9.742 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005772/0.2598, allocations: 5.47 MB / 0.7211 GB, free: 4.27 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.2599, allocations: 15.89 kB / 0.7211 GB, free: 4.254 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.26, allocations: 17.72 kB / 0.7211 GB, free: 4.23 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2601, allocations: 306 kB / 0.7214 GB, free: 3.926 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2602, allocations: 16.23 kB / 0.7214 GB, free: 3.91 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.2603, allocations: 25.72 kB / 0.7215 GB, free: 3.879 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2604, allocations: 53.64 kB / 0.7215 GB, free: 3.82 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2605, allocations: 0 / 0.7215 GB, free: 3.82 MB / 0.5608 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002508/0.263, allocations: 1.213 MB / 0.7227 GB, free: 2.586 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.263, allocations: 8 kB / 0.7227 GB, free: 2.578 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.263, allocations: 3.938 kB / 0.7227 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.263, allocations: 0 / 0.7227 GB, free: 2.574 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.2631, allocations: 11.94 kB / 0.7227 GB, free: 2.562 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2632, allocations: 4 kB / 0.7227 GB, free: 2.559 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.2647, allocations: 47.88 kB / 0.7228 GB, free: 2.512 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.2647, allocations: 4 kB / 0.7228 GB, free: 2.508 MB / 0.5608 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.003602/0.2683, allocations: 2.442 MB / 0.7252 GB, free: 56 kB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002451/0.2708, allocations: 1.169 MB / 0.7263 GB, free: 14.86 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.2736, allocations: 1.296 MB / 0.7276 GB, free: 13.56 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.2736, allocations: 0 / 0.7276 GB, free: 13.56 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2736, allocations: 0 / 0.7276 GB, free: 13.56 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2736, allocations: 0 / 0.7276 GB, free: 13.56 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008024/0.2817, allocations: 3.893 MB / 0.7314 GB, free: 9.625 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2817, allocations: 4 kB / 0.7314 GB, free: 9.621 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.2818, allocations: 4 kB / 0.7314 GB, free: 9.617 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.2818, allocations: 0 / 0.7314 GB, free: 9.617 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.2818, allocations: 0 / 0.7314 GB, free: 9.617 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.2818, allocations: 3.984 kB / 0.7314 GB, free: 9.613 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.2818, allocations: 7.984 kB / 0.7314 GB, free: 9.605 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.2846, allocations: 1.336 MB / 0.7327 GB, free: 8.238 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/0.2868, allocations: 0.9395 MB / 0.7336 GB, free: 7.266 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/0.288, allocations: 44 kB / 0.7336 GB, free: 7.223 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.2892, allocations: 32 kB / 0.7337 GB, free: 7.191 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.2893, allocations: 3.984 kB / 0.7337 GB, free: 7.188 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.2893, allocations: 4 kB / 0.7337 GB, free: 7.184 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01657/0.3059, allocations: 8.76 MB / 0.7422 GB, free: 14.5 MB / 0.592 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3059, allocations: 0 / 0.7422 GB, free: 14.5 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.001923/0.3079, allocations: 332 kB / 0.7426 GB, free: 14.18 MB / 0.592 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.00114/0.309, allocations: 401.4 kB / 0.7429 GB, free: 13.93 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3093, allocations: 47.92 kB / 0.743 GB, free: 13.89 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3093, allocations: 0 / 0.743 GB, free: 13.89 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.3094, allocations: 19.98 kB / 0.743 GB, free: 13.87 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005422/0.3148, allocations: 0.8727 MB / 0.7439 GB, free: 13 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/0.3451, allocations: 17.5 MB / 0.7609 GB, free: 11.45 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/0.3512, allocations: 4.801 MB / 0.7656 GB, free: 6.625 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/0.3533, allocations: 1.116 MB / 0.7667 GB, free: 5.508 MB / 0.6077 GB Notification: Performance of SimCode: time 9.82e-07/0.3533, allocations: 0 / 0.7667 GB, free: 5.508 MB / 0.6077 GB Notification: Performance of Templates: time 1.805/2.159, allocations: 457.7 MB / 1.214 GB, free: 141.2 MB / 0.7798 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches