Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001039/0.001039, allocations: 194 kB / 17.55 MB, free: 6.062 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.245/1.245, allocations: 222.9 MB / 241.2 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7799/0.7799, allocations: 119.3 MB / 410.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4206, allocations: 80.68 MB / 0.5692 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002413/0.4231, allocations: 1.48 MB / 0.5707 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.4239, allocations: 0.5747 MB / 0.5712 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.424, allocations: 1.438 kB / 0.5712 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.4242, allocations: 117.5 kB / 0.5713 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.4245, allocations: 154 kB / 0.5715 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.4248, allocations: 73.52 kB / 0.5716 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.4251, allocations: 334.2 kB / 0.5719 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.4251, allocations: 10.48 kB / 0.5719 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.4254, allocations: 172.8 kB / 0.5721 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.4258, allocations: 282.6 kB / 0.5723 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.4258, allocations: 18.22 kB / 0.5723 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.426, allocations: 91.92 kB / 0.5724 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004998/0.4265, allocations: 0.6322 MB / 0.573 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.4267, allocations: 377.8 kB / 0.5734 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.4274, allocations: 0.844 MB / 0.5742 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4274, allocations: 1.219 kB / 0.5742 GB, free: 40.12 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4274, allocations: 0 / 0.5742 GB, free: 40.12 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.4274, allocations: 0 / 0.5742 GB, free: 40.12 MB / 462.3 MB 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.001443/0.4289, allocations: 1.568 MB / 0.5758 GB, free: 38.83 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4289, allocations: 8.656 kB / 0.5758 GB, free: 38.83 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.4291, allocations: 148.7 kB / 0.5759 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.4311, allocations: 1.749 MB / 0.5776 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.4311, allocations: 1.312 kB / 0.5776 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.4311, allocations: 10.84 kB / 0.5776 GB, free: 37.62 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4313, allocations: 99.12 kB / 0.5777 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4313, allocations: 0.9062 kB / 0.5777 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.4313, allocations: 8.625 kB / 0.5777 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4314, allocations: 0.9375 kB / 0.5777 GB, free: 37.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.4315, allocations: 52.8 kB / 0.5778 GB, free: 37.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.432, allocations: 0.5844 MB / 0.5784 GB, free: 37.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.4321, allocations: 49.33 kB / 0.5784 GB, free: 37.07 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.4321, allocations: 48.5 kB / 0.5785 GB, free: 37.05 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.4322, allocations: 3.984 kB / 0.5785 GB, free: 37.05 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.4324, allocations: 139.4 kB / 0.5786 GB, free: 36.93 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.4324, allocations: 0.9062 kB / 0.5786 GB, free: 36.93 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0005513/0.4329, allocations: 413.7 kB / 0.579 GB, free: 36.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.433, allocations: 87.97 kB / 0.5791 GB, free: 36.65 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.4345, allocations: 1.633 MB / 0.5807 GB, free: 35.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.4346, allocations: 30.77 kB / 0.5807 GB, free: 35.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.4349, allocations: 0.6282 MB / 0.5813 GB, free: 35.33 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.435, allocations: 15.38 kB / 0.5813 GB, free: 35.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/0.4351, allocations: 55.8 kB / 0.5814 GB, free: 35.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.4351, allocations: 311.2 kB / 0.5817 GB, free: 34.99 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.4352, allocations: 31.98 kB / 0.5817 GB, free: 34.98 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.4352, allocations: 31.97 kB / 0.5817 GB, free: 34.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.4354, allocations: 134.4 kB / 0.5819 GB, free: 34.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4354, allocations: 1.312 kB / 0.5819 GB, free: 34.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004562/0.4358, allocations: 373.5 kB / 0.5822 GB, free: 34.71 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.4359, allocations: 40.97 kB / 0.5823 GB, free: 34.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4359, allocations: 4 kB / 0.5823 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4359, allocations: 0.9688 kB / 0.5823 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.304e-05/0.436, allocations: 7.875 kB / 0.5823 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.436, allocations: 240 / 0.5823 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.4362, allocations: 7.406 kB / 0.5823 GB, free: 34.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.4362, allocations: 61.52 kB / 0.5823 GB, free: 34.65 MB / 462.3 MB 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.0004605/0.4367, allocations: 454.8 kB / 0.5828 GB, free: 34.39 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4368, allocations: 160.5 kB / 0.5829 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.437, allocations: 170 kB / 0.5831 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.437, allocations: 9.062 kB / 0.5831 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.437, allocations: 0 / 0.5831 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.437, allocations: 0 / 0.5831 GB, free: 34.21 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.4375, allocations: 0.6251 MB / 0.5837 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4375, allocations: 1.219 kB / 0.5837 GB, free: 33.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.4376, allocations: 10.22 kB / 0.5837 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4376, allocations: 1.156 kB / 0.5837 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.4376, allocations: 17.75 kB / 0.5837 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4376, allocations: 1.031 kB / 0.5837 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4376, allocations: 0 / 0.5837 GB, free: 33.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.438, allocations: 439.4 kB / 0.5842 GB, free: 33.54 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.4382, allocations: 210 kB / 0.5844 GB, free: 33.36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.4383, allocations: 10.61 kB / 0.5844 GB, free: 33.35 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4384, allocations: 7.281 kB / 0.5844 GB, free: 33.35 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.4385, allocations: 1.156 kB / 0.5844 GB, free: 33.35 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.4385, allocations: 57.97 kB / 0.5844 GB, free: 33.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001242/0.4398, allocations: 1.149 MB / 0.5855 GB, free: 32.75 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4398, allocations: 4 kB / 0.5856 GB, free: 32.74 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003027/0.4401, allocations: 68 kB / 0.5856 GB, free: 32.68 MB / 462.3 MB 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.0001642/0.4402, allocations: 131.4 kB / 0.5857 GB, free: 32.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4405, allocations: 171.4 kB / 0.5859 GB, free: 32.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4405, allocations: 0 / 0.5859 GB, free: 32.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.4406, allocations: 131.3 kB / 0.586 GB, free: 32.22 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.4411, allocations: 128.3 kB / 0.5862 GB, free: 32.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4434, allocations: 2.381 MB / 0.5885 GB, free: 29.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.4439, allocations: 1.188 MB / 0.5896 GB, free: 28.46 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006693/0.4446, allocations: 297.6 kB / 0.5899 GB, free: 28.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.4447, allocations: 71.44 kB / 0.59 GB, free: 28.09 MB / 462.3 MB Notification: Performance of SimCode: time 1.042e-06/0.4447, allocations: 0 / 0.59 GB, free: 28.09 MB / 462.3 MB Notification: Performance of Templates: time 0.01212/0.4568, allocations: 5.729 MB / 0.5956 GB, free: 22.29 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches