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: 110.2 kB / 17.16 MB, free: 6.324 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.001385/0.001385, allocations: 202.9 kB / 18.08 MB, free: 5.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.355/1.355, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9431/0.9431, allocations: 119.3 MB / 411.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.4909 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5056, allocations: 80.68 MB / 0.5697 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.00258/0.5082, allocations: 1.63 MB / 0.5713 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.5094, allocations: 0.8846 MB / 0.5721 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.5095, allocations: 5.062 kB / 0.5721 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00457/0.514, allocations: 6.876 MB / 0.5789 GB, free: 37.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.5165, allocations: 3.504 MB / 0.5823 GB, free: 35.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.5169, allocations: 90.09 kB / 0.5824 GB, free: 35.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006336/0.5233, allocations: 8.584 MB / 0.5908 GB, free: 28.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.5234, allocations: 7.938 kB / 0.5908 GB, free: 28.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.5291, allocations: 4.262 MB / 0.5949 GB, free: 24.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007639/0.5368, allocations: 7.612 MB / 0.6024 GB, free: 16.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.539, allocations: 500 kB / 0.6028 GB, free: 15.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5406, allocations: 0.5195 MB / 0.6033 GB, free: 15.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01622/0.5568, allocations: 19.91 MB / 0.6228 GB, free: 11.47 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01652/0.5734, allocations: 11.26 MB / 0.6338 GB, free: 108 kB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.5922, allocations: 18.14 MB / 0.6515 GB, free: 13.91 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5923, allocations: 0 / 0.6515 GB, free: 13.91 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5923, allocations: 0 / 0.6515 GB, free: 13.91 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0008389/0.5931, allocations: 0 / 0.6515 GB, free: 13.91 MB / 0.4983 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.05891/0.652, allocations: 38.76 MB / 0.6893 GB, free: 6.754 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6521, allocations: 16.02 kB / 0.6894 GB, free: 6.738 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007089/0.6592, allocations: 4.403 MB / 0.6937 GB, free: 2.277 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1169/0.7761, allocations: 51.59 MB / 0.744 GB, free: 14.34 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.7762, allocations: 8.375 kB / 0.744 GB, free: 14.33 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.7762, allocations: 4.125 kB / 0.7441 GB, free: 14.32 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.7764, allocations: 45.67 kB / 0.7441 GB, free: 14.27 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7764, allocations: 4 kB / 0.7441 GB, free: 14.27 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7764, allocations: 0 / 0.7441 GB, free: 14.27 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7764, allocations: 0 / 0.7441 GB, free: 14.27 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.7765, allocations: 19.97 kB / 0.7441 GB, free: 14.25 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02365/0.8002, allocations: 13.73 MB / 0.7575 GB, free: 464 kB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.8005, allocations: 58.55 kB / 0.7576 GB, free: 396 kB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.8005, allocations: 20.8 kB / 0.7576 GB, free: 372 kB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.8006, allocations: 3.984 kB / 0.7576 GB, free: 368 kB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.8008, allocations: 63.39 kB / 0.7577 GB, free: 292 kB / 0.592 GB Notification: Performance of pre-optimization done (n=5): time 2.736e-06/0.8008, allocations: 0 / 0.7577 GB, free: 292 kB / 0.592 GB Notification: Performance of matching and sorting (n=5): time 0.5187/1.32, allocations: 4.606 MB / 0.7622 GB, free: 138.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.32, allocations: 52.7 kB / 0.7622 GB, free: 138.8 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08775/1.407, allocations: 50.58 MB / 0.8116 GB, free: 116.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/1.407, allocations: 25.7 kB / 0.8116 GB, free: 116.5 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02418/1.432, allocations: 23.58 MB / 0.8347 GB, free: 92.89 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/1.432, allocations: 10.47 kB / 0.8347 GB, free: 92.89 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/1.432, allocations: 22.61 kB / 0.8347 GB, free: 92.86 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/1.432, allocations: 310 kB / 0.835 GB, free: 92.55 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-05/1.432, allocations: 8.625 kB / 0.835 GB, free: 92.54 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/1.432, allocations: 36.48 kB / 0.835 GB, free: 92.5 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.471e-05/1.432, allocations: 46.73 kB / 0.8351 GB, free: 92.46 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.432, allocations: 0 / 0.8351 GB, free: 92.46 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.007081/1.439, allocations: 4.598 MB / 0.8396 GB, free: 90.3 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.439, allocations: 6.344 kB / 0.8396 GB, free: 90.3 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.439, allocations: 6.219 kB / 0.8396 GB, free: 90.3 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.439, allocations: 4 kB / 0.8396 GB, free: 90.3 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/1.44, allocations: 11.98 kB / 0.8396 GB, free: 90.29 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.44, allocations: 0 / 0.8396 GB, free: 90.29 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005325/1.445, allocations: 131 kB / 0.8397 GB, free: 90.16 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/1.445, allocations: 0 / 0.8397 GB, free: 90.16 MB / 0.5923 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.01123/1.456, allocations: 9.399 MB / 0.8489 GB, free: 80.74 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007082/1.463, allocations: 4.656 MB / 0.8535 GB, free: 76.16 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009469/1.473, allocations: 5.122 MB / 0.8585 GB, free: 71.03 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.473, allocations: 0 / 0.8585 GB, free: 71.03 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.473, allocations: 0 / 0.8585 GB, free: 71.03 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.473, allocations: 0 / 0.8585 GB, free: 71.03 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/1.499, allocations: 15.08 MB / 0.8732 GB, free: 55.89 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.499, allocations: 0 / 0.8732 GB, free: 55.89 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/1.499, allocations: 11.78 kB / 0.8732 GB, free: 55.88 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.499, allocations: 3 kB / 0.8732 GB, free: 55.88 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/1.499, allocations: 3.984 kB / 0.8732 GB, free: 55.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/1.499, allocations: 0 / 0.8732 GB, free: 55.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.499, allocations: 4 kB / 0.8732 GB, free: 55.87 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007401/1.506, allocations: 5.028 MB / 0.8781 GB, free: 50.77 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006955/1.513, allocations: 3.511 MB / 0.8815 GB, free: 47.18 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00374/1.517, allocations: 124 kB / 0.8817 GB, free: 47.06 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004309/1.521, allocations: 135.2 kB / 0.8818 GB, free: 46.93 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/1.521, allocations: 8 kB / 0.8818 GB, free: 46.93 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/1.521, allocations: 0.6875 kB / 0.8818 GB, free: 46.93 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06142/1.583, allocations: 35 MB / 0.916 GB, free: 12.23 MB / 0.5923 GB Notification: Performance of sort global known variables: time 4.21e-07/1.583, allocations: 0 / 0.916 GB, free: 12.23 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006061/1.589, allocations: 1.241 MB / 0.9172 GB, free: 10.99 MB / 0.5923 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.0009947/1.59, allocations: 407.2 kB / 0.9176 GB, free: 10.77 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002147/1.59, allocations: 43.97 kB / 0.9176 GB, free: 10.73 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.59, allocations: 0 / 0.9176 GB, free: 10.73 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/1.59, allocations: 19.94 kB / 0.9176 GB, free: 10.71 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01719/1.607, allocations: 3.402 MB / 0.921 GB, free: 7.305 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1248/1.732, allocations: 81.15 MB / 1 GB, free: 6.57 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0318/1.764, allocations: 17.34 MB / 1.017 GB, free: 5.176 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01167/1.776, allocations: 4.403 MB / 1.021 GB, free: 0.7734 MB / 0.686 GB Notification: Performance of SimCode: time 1.062e-06/1.776, allocations: 4 kB / 1.021 GB, free: 0.7695 MB / 0.686 GB Notification: Performance of Templates: time 18.56/20.33, allocations: 6.07 GB / 7.091 GB, free: 176.1 MB / 0.811 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches