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.001496/0.001496, allocations: 114.7 kB / 17.07 MB, free: 6.012 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.001601/0.001601, allocations: 190.1 kB / 18 MB, free: 5.098 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.655/1.655, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.261/1.261, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001886, allocations: 62.91 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1891, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.003197/0.1924, allocations: 1.41 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1936, allocations: 0.573 MB / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.1937, allocations: 0 / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.194, allocations: 123.8 kB / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1944, allocations: 155.7 kB / 0.6519 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.1947, allocations: 83.78 kB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.1951, allocations: 341.5 kB / 0.6523 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.1951, allocations: 4 kB / 0.6523 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1954, allocations: 177.6 kB / 0.6525 GB, free: 10.2 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.1958, allocations: 279.7 kB / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.1959, allocations: 20 kB / 0.6528 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1961, allocations: 95.92 kB / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0008455/0.1969, allocations: 0.6332 MB / 0.6535 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.1973, allocations: 384.3 kB / 0.6539 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0009117/0.1982, allocations: 0.8616 MB / 0.6547 GB, free: 7.926 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1983, allocations: 3.938 kB / 0.6547 GB, free: 7.922 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1983, allocations: 4 kB / 0.6547 GB, free: 7.918 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.1983, allocations: 0 / 0.6547 GB, free: 7.918 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001961/0.2002, allocations: 1.627 MB / 0.6563 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2003, allocations: 8.031 kB / 0.6563 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.2005, allocations: 155.9 kB / 0.6565 GB, free: 6.066 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.2035, allocations: 1.771 MB / 0.6582 GB, free: 4.25 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2036, allocations: 4.375 kB / 0.6582 GB, free: 4.246 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2036, allocations: 4.375 kB / 0.6582 GB, free: 4.242 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.2038, allocations: 109.9 kB / 0.6583 GB, free: 4.129 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2038, allocations: 0 / 0.6583 GB, free: 4.129 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.2039, allocations: 4 kB / 0.6583 GB, free: 4.125 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2039, allocations: 0 / 0.6583 GB, free: 4.125 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.204, allocations: 47.98 kB / 0.6584 GB, free: 4.078 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007585/0.2048, allocations: 0.5735 MB / 0.6589 GB, free: 3.457 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2049, allocations: 58.5 kB / 0.659 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.463e-05/0.205, allocations: 48.86 kB / 0.659 GB, free: 3.34 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.205, allocations: 0 / 0.659 GB, free: 3.34 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.2053, allocations: 141 kB / 0.6591 GB, free: 3.184 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2053, allocations: 3.938 kB / 0.6592 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0006573/0.2059, allocations: 418.2 kB / 0.6596 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.206, allocations: 77.11 kB / 0.6596 GB, free: 2.664 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/0.208, allocations: 1.644 MB / 0.6612 GB, free: 1.023 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.208, allocations: 29.7 kB / 0.6613 GB, free: 0.9883 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005847/0.2086, allocations: 0.6336 MB / 0.6619 GB, free: 360 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.2087, allocations: 19.89 kB / 0.6619 GB, free: 340 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2088, allocations: 49.7 kB / 0.6619 GB, free: 284 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.209, allocations: 310 kB / 0.6622 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.209, allocations: 32 kB / 0.6623 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.2091, allocations: 31.98 kB / 0.6623 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2093, allocations: 136.3 kB / 0.6624 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2093, allocations: 0 / 0.6624 GB, free: 15.76 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004723/0.2098, allocations: 390.2 kB / 0.6628 GB, free: 15.36 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.2098, allocations: 41.69 kB / 0.6628 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2099, allocations: 0 / 0.6628 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.2099, allocations: 4 kB / 0.6628 GB, free: 15.31 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.21, allocations: 4 kB / 0.6629 GB, free: 15.31 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.21, allocations: 0 / 0.6629 GB, free: 15.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2101, allocations: 7.938 kB / 0.6629 GB, free: 15.3 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.2102, allocations: 60 kB / 0.6629 GB, free: 15.24 MB / 0.5139 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.0005192/0.2107, allocations: 460.1 kB / 0.6634 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.2109, allocations: 162.9 kB / 0.6635 GB, free: 14.62 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.2111, allocations: 170.8 kB / 0.6637 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2111, allocations: 0 / 0.6637 GB, free: 14.45 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.2112, allocations: 4 kB / 0.6637 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2112, allocations: 0 / 0.6637 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006341/0.2118, allocations: 0.6242 MB / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2118, allocations: 3.984 kB / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.2119, allocations: 7.938 kB / 0.6643 GB, free: 13.76 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2119, allocations: 3.938 kB / 0.6643 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2119, allocations: 12 kB / 0.6643 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2119, allocations: 4 kB / 0.6643 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2119, allocations: 4 kB / 0.6643 GB, free: 13.73 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.2125, allocations: 430.4 kB / 0.6647 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2127, allocations: 224.2 kB / 0.6649 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.2128, allocations: 4 kB / 0.6649 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.2129, allocations: 11.98 kB / 0.665 GB, free: 13.04 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.213, allocations: 7.984 kB / 0.665 GB, free: 13.03 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/0.213, allocations: 59.94 kB / 0.665 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001416/0.2145, allocations: 1.15 MB / 0.6661 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2145, allocations: 0 / 0.6661 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003125/0.2148, allocations: 71.92 kB / 0.6662 GB, free: 11.76 MB / 0.5139 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.0002244/0.215, allocations: 131.5 kB / 0.6663 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.2153, allocations: 175.4 kB / 0.6665 GB, free: 11.44 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2153, allocations: 0 / 0.6665 GB, free: 11.44 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2155, allocations: 131.4 kB / 0.6666 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.216, allocations: 122.3 kB / 0.6668 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.2188, allocations: 2.141 MB / 0.6688 GB, free: 9.004 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/0.2198, allocations: 1.18 MB / 0.67 GB, free: 7.797 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006259/0.2204, allocations: 301.6 kB / 0.6703 GB, free: 7.496 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.2205, allocations: 75.44 kB / 0.6704 GB, free: 7.422 MB / 0.5139 GB Notification: Performance of SimCode: time 6.31e-07/0.2205, allocations: 0 / 0.6704 GB, free: 7.422 MB / 0.5139 GB Notification: Performance of Templates: time 0.01575/0.2363, allocations: 5.746 MB / 0.676 GB, free: 1.598 MB / 0.5139 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches