Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001483, allocations: 112.4 kB / 17.06 MB, free: 6 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.001408/0.001408, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.421/1.421, 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.01/1.01, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.14 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1728, allocations: 80.71 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002548/0.1754, allocations: 1.413 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1764, allocations: 0.5652 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.1765, allocations: 0 / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.008246/0.1847, allocations: 13.68 MB / 0.665 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.1933, allocations: 13.72 MB / 0.6784 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1937, allocations: 82.03 kB / 0.6785 GB, free: 15.55 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.02536/0.2191, allocations: 34.01 MB / 0.7117 GB, free: 13.5 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.2193, allocations: 4 kB / 0.7117 GB, free: 13.49 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02616/0.2454, allocations: 16.89 MB / 0.7282 GB, free: 12.57 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0399/0.2854, allocations: 32.24 MB / 0.7597 GB, free: 12.28 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.008924/0.2944, allocations: 1.957 MB / 0.7616 GB, free: 10.32 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008311/0.3027, allocations: 2.035 MB / 0.7636 GB, free: 8.289 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.8796/1.182, allocations: 79.6 MB / 0.8413 GB, free: 40.55 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.07759/1.26, allocations: 44.94 MB / 0.8852 GB, free: 15.38 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1526/1.413, allocations: 98.72 MB / 0.9816 GB, free: 12.14 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/1.413, allocations: 0 / 0.9816 GB, free: 12.14 MB / 0.7173 GB Notification: Performance of FrontEnd: time 1.663e-06/1.413, allocations: 4 kB / 0.9816 GB, free: 12.13 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.005877/1.419, allocations: 4 kB / 0.9816 GB, free: 12.13 MB / 0.7173 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 1.173/2.592, allocations: 153.9 MB / 1.132 GB, free: 120.2 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/2.592, allocations: 8.031 kB / 1.132 GB, free: 120.2 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03701/2.629, allocations: 17.58 MB / 1.149 GB, free: 102.4 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9655/3.595, allocations: 206 MB / 1.35 GB, free: 8.918 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/3.595, allocations: 384 / 1.35 GB, free: 8.918 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004415/3.599, allocations: 0.4926 MB / 1.351 GB, free: 8.426 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0189/3.618, allocations: 5.91 MB / 1.356 GB, free: 2.512 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/3.618, allocations: 0 / 1.356 GB, free: 2.512 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002481/3.621, allocations: 0.496 MB / 1.357 GB, free: 2.016 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/3.621, allocations: 0 / 1.357 GB, free: 2.016 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/3.625, allocations: 3.434 MB / 1.36 GB, free: 14.58 MB / 0.9209 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1272/3.753, allocations: 54.94 MB / 1.414 GB, free: 7.535 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009761/3.763, allocations: 1.995 MB / 1.416 GB, free: 5.531 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008784/3.771, allocations: 1.983 MB / 1.418 GB, free: 3.547 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/3.771, allocations: 4.031 kB / 1.418 GB, free: 3.543 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008803/3.78, allocations: 4.976 MB / 1.423 GB, free: 14.55 MB / 0.9834 GB Notification: Performance of pre-optimization done (n=8): time 4.078e-06/3.78, allocations: 2 kB / 1.423 GB, free: 14.55 MB / 0.9834 GB Notification: Performance of matching and sorting (n=8): time 0.6418/4.422, allocations: 32.86 MB / 1.455 GB, free: 325.8 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/4.422, allocations: 81.14 kB / 1.455 GB, free: 325.7 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4474/4.87, allocations: 198 MB / 1.648 GB, free: 205.7 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.003761/4.873, allocations: 0.5134 MB / 1.649 GB, free: 205.2 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.09802/4.971, allocations: 97.77 MB / 1.744 GB, free: 107.4 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.004331/4.976, allocations: 0.5046 MB / 1.745 GB, free: 106.9 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01344/4.989, allocations: 3.439 MB / 1.748 GB, free: 103.4 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/4.989, allocations: 312 kB / 1.748 GB, free: 103.1 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009812/4.999, allocations: 1.965 MB / 1.75 GB, free: 101.2 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009362/5.009, allocations: 1.973 MB / 1.752 GB, free: 99.19 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.018/5.027, allocations: 4.011 MB / 1.756 GB, free: 95.17 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/5.027, allocations: 0 / 1.756 GB, free: 95.17 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.07063/5.097, allocations: 30.89 MB / 1.786 GB, free: 74.04 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/5.097, allocations: 41.44 kB / 1.786 GB, free: 74 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/5.097, allocations: 2.25 kB / 1.786 GB, free: 74 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/5.097, allocations: 4 kB / 1.786 GB, free: 74 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/5.098, allocations: 5.844 kB / 1.786 GB, free: 73.99 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/5.098, allocations: 0 / 1.786 GB, free: 73.99 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03084/5.128, allocations: 0.4912 MB / 1.787 GB, free: 73.5 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01446/5.143, allocations: 6.84 MB / 1.794 GB, free: 66.66 MB / 0.9834 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.05996/5.203, allocations: 38.24 MB / 1.831 GB, free: 28.38 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03547/5.238, allocations: 18.08 MB / 1.849 GB, free: 10.78 MB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6177/5.856, allocations: 20.44 MB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/5.856, allocations: 0 / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/5.856, allocations: 2.672 kB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/5.856, allocations: 1.719 kB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1955/6.052, allocations: 59.83 MB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/6.052, allocations: 2.25 kB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/6.052, allocations: 7.969 kB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/6.052, allocations: 2 kB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005375/6.057, allocations: 1.469 MB / 1.928 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/6.057, allocations: 3 kB / 1.928 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/6.057, allocations: 0 / 1.928 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09092/6.148, allocations: 32.11 MB / 1.96 GB, free: 293.4 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04916/6.197, allocations: 15.23 MB / 1.975 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03164/6.229, allocations: 0.4926 MB / 1.975 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03411/6.263, allocations: 0.4912 MB / 1.976 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/6.263, allocations: 3.375 kB / 1.976 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01476/6.278, allocations: 6.837 MB / 1.982 GB, free: 292.4 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3576/6.636, allocations: 137.9 MB / 2.117 GB, free: 162.7 MB / 0.9834 GB Notification: Performance of sort global known variables: time 1.001e-06/6.636, allocations: 0 / 2.117 GB, free: 162.7 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.03429/6.67, allocations: 4.912 MB / 2.122 GB, free: 157.8 MB / 0.9834 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.004021/6.674, allocations: 0.612 MB / 2.122 GB, free: 157.2 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.01923/6.694, allocations: 4.531 MB / 2.127 GB, free: 152.6 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/6.694, allocations: 0 / 2.127 GB, free: 152.6 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.01238/6.706, allocations: 2.55 MB / 2.129 GB, free: 150.1 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1263/6.832, allocations: 13.49 MB / 2.142 GB, free: 136.6 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.066/7.898, allocations: 293.7 MB / 2.429 GB, free: 213.3 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.148/8.046, allocations: 68.47 MB / 2.496 GB, free: 168.4 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.1095/8.156, allocations: 37.28 MB / 2.532 GB, free: 131.1 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02252/8.179, allocations: 7.82 MB / 2.54 GB, free: 123.3 MB / 0.9834 GB Notification: Performance of SimCode: time 2.475e-06/8.179, allocations: 0 / 2.54 GB, free: 123.3 MB / 0.9834 GB Notification: Performance of Templates: time 3.021/11.2, allocations: 0.6734 GB / 3.214 GB, free: 182.2 MB / 1.03 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches