Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001379, allocations: 111.3 kB / 17.06 MB, free: 5.965 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.001382/0.001382, allocations: 193.4 kB / 18 MB, free: 5.047 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.502/1.502, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.137/1.137, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 72.09 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1885, allocations: 80.69 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002663/0.1912, allocations: 1.413 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1924, allocations: 0.573 MB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.1925, allocations: 0 / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.1939, allocations: 1.715 MB / 0.6533 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1956, allocations: 1.762 MB / 0.6551 GB, free: 7.598 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.196, allocations: 79.78 kB / 0.6551 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.1998, allocations: 4.318 MB / 0.6593 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.283e-05/0.1998, allocations: 0 / 0.6593 GB, free: 3.195 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.2027, allocations: 2.145 MB / 0.6614 GB, free: 1.047 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/0.207, allocations: 4.056 MB / 0.6654 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005623/0.2075, allocations: 252 kB / 0.6656 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006871/0.2082, allocations: 331.9 kB / 0.666 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.01145/0.2197, allocations: 9.958 MB / 0.6757 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.008241/0.228, allocations: 5.632 MB / 0.6812 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.243, allocations: 12.54 MB / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.2431, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2431, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0004674/0.2436, allocations: 0 / 0.6934 GB, free: 120 kB / 0.5295 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.03087/0.2745, allocations: 20.41 MB / 0.7134 GB, free: 11.47 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2745, allocations: 12.03 kB / 0.7134 GB, free: 11.46 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.2782, allocations: 2.325 MB / 0.7156 GB, free: 9.121 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05959/0.3378, allocations: 26.2 MB / 0.7412 GB, free: 14.77 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3378, allocations: 4.375 kB / 0.7412 GB, free: 14.77 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.338, allocations: 64.38 kB / 0.7413 GB, free: 14.7 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3392, allocations: 0.7856 MB / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3393, allocations: 0 / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.3394, allocations: 64 kB / 0.7421 GB, free: 13.85 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3394, allocations: 0 / 0.7421 GB, free: 13.85 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/0.3401, allocations: 452 kB / 0.7426 GB, free: 13.41 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.354, allocations: 7.007 MB / 0.7494 GB, free: 6.352 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.3549, allocations: 294.5 kB / 0.7497 GB, free: 6.055 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.3554, allocations: 276.9 kB / 0.7499 GB, free: 5.781 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3554, allocations: 4 kB / 0.75 GB, free: 5.777 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008644/0.3563, allocations: 0.7074 MB / 0.7506 GB, free: 5.051 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.3563, allocations: 4 kB / 0.7506 GB, free: 5.047 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.007286/0.3636, allocations: 4.355 MB / 0.7549 GB, free: 0.6641 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.3637, allocations: 85.05 kB / 0.755 GB, free: 0.5625 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7524/1.116, allocations: 24.83 MB / 0.7792 GB, free: 90.76 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.000481/1.117, allocations: 88.83 kB / 0.7793 GB, free: 90.73 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.01264/1.129, allocations: 10.83 MB / 0.7899 GB, free: 82.1 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005879/1.13, allocations: 82.94 kB / 0.79 GB, free: 82.1 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/1.131, allocations: 456.8 kB / 0.7904 GB, free: 82.08 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/1.131, allocations: 315.9 kB / 0.7907 GB, free: 81.77 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/1.131, allocations: 264.2 kB / 0.791 GB, free: 81.77 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/1.132, allocations: 271.3 kB / 0.7912 GB, free: 81.76 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.133, allocations: 0.5853 MB / 0.7918 GB, free: 81.68 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.133, allocations: 3.562 kB / 0.7918 GB, free: 81.68 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008003/1.141, allocations: 4.095 MB / 0.7958 GB, free: 81.59 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/1.141, allocations: 34.53 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.141, allocations: 0.8438 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.141, allocations: 0 / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.141, allocations: 9.281 kB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/1.141, allocations: 0 / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.144, allocations: 71.5 kB / 0.7959 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006975/1.145, allocations: 0.8582 MB / 0.7967 GB, free: 81.43 MB / 0.6079 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.007762/1.153, allocations: 4.909 MB / 0.8015 GB, free: 80.8 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003256/1.156, allocations: 2.386 MB / 0.8039 GB, free: 80.8 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004812/1.161, allocations: 2.569 MB / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.161, allocations: 4.922 kB / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.161, allocations: 0 / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.161, allocations: 2.844 kB / 0.8064 GB, free: 80.06 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/1.178, allocations: 7.616 MB / 0.8138 GB, free: 76.88 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.178, allocations: 3.812 kB / 0.8138 GB, free: 76.88 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/1.179, allocations: 0.9375 kB / 0.8138 GB, free: 76.88 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.179, allocations: 2.688 kB / 0.8138 GB, free: 76.88 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005939/1.179, allocations: 196.2 kB / 0.814 GB, free: 76.87 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.179, allocations: 1.5 kB / 0.814 GB, free: 76.87 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.179, allocations: 3.984 kB / 0.814 GB, free: 76.87 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/1.185, allocations: 4.285 MB / 0.8182 GB, free: 75.23 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003876/1.189, allocations: 2.106 MB / 0.8203 GB, free: 73.18 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/1.191, allocations: 71.94 kB / 0.8203 GB, free: 73.11 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.193, allocations: 66.84 kB / 0.8204 GB, free: 73.05 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/1.193, allocations: 7.75 kB / 0.8204 GB, free: 73.04 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/1.193, allocations: 0.8555 MB / 0.8212 GB, free: 72.19 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.02594/1.219, allocations: 17.24 MB / 0.8381 GB, free: 55.09 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.522e-06/1.219, allocations: 0 / 0.8381 GB, free: 55.09 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.002987/1.222, allocations: 0.644 MB / 0.8387 GB, free: 54.45 MB / 0.6079 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.0003238/1.223, allocations: 192.3 kB / 0.8389 GB, free: 54.26 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.00102/1.224, allocations: 0.6867 MB / 0.8396 GB, free: 53.57 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.224, allocations: 0 / 0.8396 GB, free: 53.57 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/1.224, allocations: 419.4 kB / 0.84 GB, free: 53.14 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005586/1.23, allocations: 1.695 MB / 0.8416 GB, free: 51.45 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04671/1.277, allocations: 35.22 MB / 0.876 GB, free: 16.4 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/1.289, allocations: 8.921 MB / 0.8847 GB, free: 7.438 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.01127/1.3, allocations: 4.694 MB / 0.8893 GB, free: 2.754 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/1.302, allocations: 0.9877 MB / 0.8903 GB, free: 1.766 MB / 0.6079 GB Notification: Performance of SimCode: time 1.462e-06/1.302, allocations: 0 / 0.8903 GB, free: 1.766 MB / 0.6079 GB Notification: Performance of Templates: time 0.2385/1.54, allocations: 82.69 MB / 0.971 GB, free: 14.93 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches