Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 105.7 kB / 17.06 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.00233/0.00233, allocations: 195 kB / 18 MB, free: 5.094 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.523/1.523, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.199/1.199, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.91 kB / 0.5704 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1832, allocations: 80.7 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.003405/0.1867, allocations: 1.413 MB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1879, allocations: 0.5691 MB / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.188, allocations: 0 / 0.6512 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1883, allocations: 127.8 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1888, allocations: 155.7 kB / 0.6514 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1892, allocations: 87.66 kB / 0.6515 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.1896, allocations: 333.6 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.1897, allocations: 7.984 kB / 0.6518 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.19, allocations: 169.7 kB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.1904, allocations: 287.7 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.179e-05/0.1905, allocations: 20 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1907, allocations: 95.86 kB / 0.6524 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0007608/0.1914, allocations: 0.6332 MB / 0.653 GB, free: 9.707 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.1919, allocations: 380.3 kB / 0.6534 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1929, allocations: 0.8585 MB / 0.6542 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.193, allocations: 0 / 0.6542 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.505e-06/0.193, allocations: 0 / 0.6542 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.261e-05/0.193, allocations: 0 / 0.6542 GB, free: 8.473 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.002326/0.1953, allocations: 1.565 MB / 0.6557 GB, free: 6.844 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.1954, allocations: 11.89 kB / 0.6557 GB, free: 6.832 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.1955, allocations: 38.75 kB / 0.6558 GB, free: 6.785 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.1958, allocations: 147 kB / 0.6559 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.1989, allocations: 1.749 MB / 0.6576 GB, free: 4.844 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.199, allocations: 4.359 kB / 0.6576 GB, free: 4.84 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.199, allocations: 12.31 kB / 0.6576 GB, free: 4.828 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1992, allocations: 97.75 kB / 0.6577 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1992, allocations: 0 / 0.6577 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1992, allocations: 8 kB / 0.6577 GB, free: 4.719 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1993, allocations: 4 kB / 0.6578 GB, free: 4.715 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.1994, allocations: 51.92 kB / 0.6578 GB, free: 4.664 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.2002, allocations: 0.5812 MB / 0.6584 GB, free: 4.035 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.2003, allocations: 50.58 kB / 0.6584 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2004, allocations: 48.83 kB / 0.6585 GB, free: 3.926 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.2004, allocations: 3.938 kB / 0.6585 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.2006, allocations: 141 kB / 0.6586 GB, free: 3.766 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/0.2006, allocations: 4 kB / 0.6586 GB, free: 3.762 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0006557/0.2013, allocations: 401.5 kB / 0.659 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.2014, allocations: 85.05 kB / 0.6591 GB, free: 3.254 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.2036, allocations: 1.632 MB / 0.6607 GB, free: 1.625 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.2036, allocations: 33.7 kB / 0.6607 GB, free: 1.586 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.2041, allocations: 0.6256 MB / 0.6613 GB, free: 0.957 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.2042, allocations: 27.81 kB / 0.6613 GB, free: 0.9297 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.2043, allocations: 53.7 kB / 0.6614 GB, free: 0.8711 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2045, allocations: 310 kB / 0.6617 GB, free: 0.5625 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.2045, allocations: 31.98 kB / 0.6617 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.2046, allocations: 36 kB / 0.6617 GB, free: 0.4961 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2048, allocations: 140.2 kB / 0.6619 GB, free: 352 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2048, allocations: 0 / 0.6619 GB, free: 352 kB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000522/0.2053, allocations: 377.3 kB / 0.6622 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.2054, allocations: 37.69 kB / 0.6623 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2054, allocations: 0 / 0.6623 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2054, allocations: 0 / 0.6623 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.2055, allocations: 8 kB / 0.6623 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2055, allocations: 96 / 0.6623 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.2057, allocations: 11.94 kB / 0.6623 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/0.2058, allocations: 56 kB / 0.6623 GB, free: 15.84 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.0005374/0.2064, allocations: 456.7 kB / 0.6628 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.2066, allocations: 158 kB / 0.6629 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.2068, allocations: 170.8 kB / 0.6631 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2068, allocations: 0 / 0.6631 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2068, allocations: 0 / 0.6631 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2068, allocations: 4 kB / 0.6631 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.2074, allocations: 0.6281 MB / 0.6637 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2074, allocations: 7.875 kB / 0.6637 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.2075, allocations: 4 kB / 0.6637 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2075, allocations: 0 / 0.6637 GB, free: 14.36 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.2075, allocations: 16 kB / 0.6637 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.2075, allocations: 0 / 0.6637 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2075, allocations: 0 / 0.6637 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.208, allocations: 429.7 kB / 0.6641 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.2083, allocations: 223.1 kB / 0.6644 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.625e-05/0.2084, allocations: 8 kB / 0.6644 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2085, allocations: 8 kB / 0.6644 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2086, allocations: 4.188 kB / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/0.2086, allocations: 60 kB / 0.6644 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001473/0.2101, allocations: 1.143 MB / 0.6656 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2101, allocations: 0 / 0.6656 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000319/0.2105, allocations: 68 kB / 0.6656 GB, free: 12.39 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.0009477/0.2114, allocations: 1.014 MB / 0.6666 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002806/0.2117, allocations: 171.4 kB / 0.6668 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2117, allocations: 0 / 0.6668 GB, free: 11.16 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2119, allocations: 135.3 kB / 0.6669 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.2123, allocations: 114.4 kB / 0.667 GB, free: 10.9 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.2237, allocations: 8.957 MB / 0.6758 GB, free: 1.758 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.2245, allocations: 1.192 MB / 0.6769 GB, free: 0.5391 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0005904/0.2251, allocations: 297.7 kB / 0.6772 GB, free: 248 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.2256, allocations: 483.3 kB / 0.6777 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of SimCode: time 1.072e-06/0.2256, allocations: 0 / 0.6777 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04846/0.2741, allocations: 21.44 MB / 0.6986 GB, free: 10.41 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.86, allocations: 10.23 kB / 0.6986 GB, free: 10.41 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches