Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 115.5 kB / 17.74 MB, free: 5.348 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.001195/0.001195, allocations: 189.2 kB / 18.67 MB, free: 4.426 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.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9475/0.9475, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 66.81 kB / 0.5716 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 80.69 MB / 0.6504 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002348/0.1472, allocations: 1.417 MB / 0.6518 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.1481, allocations: 0.5652 MB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.1482, allocations: 0 / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.1488, allocations: 0.8693 MB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0007115/0.1495, allocations: 0.9004 MB / 0.654 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1498, allocations: 91.66 kB / 0.6541 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001594/0.1514, allocations: 2.192 MB / 0.6563 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.1515, allocations: 0 / 0.6563 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008876/0.1524, allocations: 1.096 MB / 0.6573 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.154, allocations: 2.036 MB / 0.6593 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.1543, allocations: 128 kB / 0.6594 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.1547, allocations: 199.9 kB / 0.6596 GB, free: 3.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.1594, allocations: 4.987 MB / 0.6645 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.1612, allocations: 2.828 MB / 0.6673 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.1654, allocations: 6.255 MB / 0.6734 GB, free: 5.426 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1654, allocations: 0 / 0.6734 GB, free: 5.426 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1654, allocations: 0 / 0.6734 GB, free: 5.426 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.134e-05/0.1655, allocations: 0 / 0.6734 GB, free: 5.426 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009605/0.1751, allocations: 9.97 MB / 0.6831 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.1752, allocations: 8.031 kB / 0.6831 GB, free: 11.3 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.1762, allocations: 1.111 MB / 0.6842 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/0.1937, allocations: 12.94 MB / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1937, allocations: 4.375 kB / 0.6968 GB, free: 13.11 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.1938, allocations: 40.38 kB / 0.6969 GB, free: 13.07 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.1943, allocations: 429.5 kB / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1944, allocations: 0 / 0.6973 GB, free: 12.65 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.1944, allocations: 32 kB / 0.6973 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1945, allocations: 0 / 0.6973 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.1948, allocations: 240 kB / 0.6976 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.1984, allocations: 3.576 MB / 0.701 GB, free: 8.762 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1986, allocations: 166.6 kB / 0.7012 GB, free: 8.59 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.1989, allocations: 156.9 kB / 0.7014 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1989, allocations: 0 / 0.7014 GB, free: 8.434 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.1993, allocations: 412.7 kB / 0.7018 GB, free: 8.012 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.1993, allocations: 0 / 0.7018 GB, free: 8.012 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.002469/0.2018, allocations: 2.184 MB / 0.7039 GB, free: 5.801 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2019, allocations: 81.11 kB / 0.704 GB, free: 5.703 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/0.2145, allocations: 12.46 MB / 0.7161 GB, free: 9.34 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.2146, allocations: 65.7 kB / 0.7162 GB, free: 9.27 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.004132/0.2187, allocations: 5.208 MB / 0.7213 GB, free: 4.059 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.2189, allocations: 55.56 kB / 0.7213 GB, free: 4.008 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.2192, allocations: 245.7 kB / 0.7216 GB, free: 3.762 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.2193, allocations: 306 kB / 0.7219 GB, free: 3.457 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.2195, allocations: 140 kB / 0.722 GB, free: 3.32 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.2197, allocations: 144 kB / 0.7221 GB, free: 3.18 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.2202, allocations: 360.2 kB / 0.7225 GB, free: 2.812 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.2202, allocations: 4 kB / 0.7225 GB, free: 2.809 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002266/0.2225, allocations: 2.047 MB / 0.7245 GB, free: 0.7344 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.2225, allocations: 37.69 kB / 0.7245 GB, free: 0.6914 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2225, allocations: 0 / 0.7245 GB, free: 0.6914 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2225, allocations: 0 / 0.7245 GB, free: 0.6914 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.2226, allocations: 7.938 kB / 0.7245 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2226, allocations: 0 / 0.7245 GB, free: 0.6836 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.2234, allocations: 36 kB / 0.7246 GB, free: 0.6484 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.2237, allocations: 444 kB / 0.725 GB, free: 220 kB / 0.5608 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.002846/0.2266, allocations: 2.533 MB / 0.7274 GB, free: 13.66 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008819/0.2275, allocations: 1.145 MB / 0.7286 GB, free: 12.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.2286, allocations: 1.277 MB / 0.7298 GB, free: 11.22 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2287, allocations: 4 kB / 0.7298 GB, free: 11.22 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2287, allocations: 144 / 0.7298 GB, free: 11.22 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2287, allocations: 7.969 kB / 0.7298 GB, free: 11.21 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.2318, allocations: 3.884 MB / 0.7336 GB, free: 7.281 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2318, allocations: 0 / 0.7336 GB, free: 7.281 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.2319, allocations: 7.938 kB / 0.7336 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.2319, allocations: 0 / 0.7336 GB, free: 7.273 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/0.232, allocations: 100 kB / 0.7337 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.232, allocations: 0 / 0.7337 GB, free: 7.176 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.232, allocations: 4 kB / 0.7337 GB, free: 7.172 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.234, allocations: 2.166 MB / 0.7358 GB, free: 4.969 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.2351, allocations: 1.037 MB / 0.7369 GB, free: 3.898 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/0.2355, allocations: 39.94 kB / 0.7369 GB, free: 3.859 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/0.2362, allocations: 32 kB / 0.7369 GB, free: 3.828 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.2362, allocations: 4 kB / 0.7369 GB, free: 3.824 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/0.2365, allocations: 444 kB / 0.7373 GB, free: 3.391 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.009536/0.2461, allocations: 8.571 MB / 0.7457 GB, free: 10.9 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2461, allocations: 0 / 0.7457 GB, free: 10.9 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.0009198/0.247, allocations: 348 kB / 0.7461 GB, free: 10.56 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: 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.0002447/0.2473, allocations: 155.7 kB / 0.7462 GB, free: 10.4 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006492/0.2479, allocations: 419.4 kB / 0.7466 GB, free: 9.977 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2479, allocations: 0 / 0.7466 GB, free: 9.977 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.2483, allocations: 271.3 kB / 0.7469 GB, free: 9.699 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.2502, allocations: 0.8536 MB / 0.7477 GB, free: 8.844 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.2715, allocations: 17.46 MB / 0.7647 GB, free: 7.348 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/0.2757, allocations: 4.785 MB / 0.7694 GB, free: 2.535 MB / 0.6077 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/0.2765, allocations: 0.4955 MB / 0.7699 GB, free: 2.039 MB / 0.6077 GB Notification: Performance of SimCode: time 1.143e-06/0.2765, allocations: 4 kB / 0.7699 GB, free: 2.035 MB / 0.6077 GB Notification: Performance of Templates: time 1.694/1.971, allocations: 463.3 MB / 1.222 GB, free: 131.1 MB / 0.7798 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches