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.001538/0.001538, allocations: 108.5 kB / 17.06 MB, free: 6.016 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.001911/0.001911, allocations: 192 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.463/1.463, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.052/1.052, allocations: 119.3 MB / 411.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 66.75 kB / 0.5704 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1857, allocations: 80.7 MB / 0.6492 GB, free: 13.53 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.003476/0.1892, allocations: 1.41 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1906, allocations: 0.5652 MB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1908, allocations: 4 kB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.1911, allocations: 115.8 kB / 0.6513 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.1916, allocations: 159.7 kB / 0.6514 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.1921, allocations: 83.78 kB / 0.6515 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.1925, allocations: 349.4 kB / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.505e-05/0.1926, allocations: 4 kB / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.193, allocations: 169.7 kB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.1934, allocations: 279.7 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.1935, allocations: 16 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1937, allocations: 95.91 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000805/0.1946, allocations: 0.6332 MB / 0.653 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.195, allocations: 380.3 kB / 0.6534 GB, free: 9.281 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.196, allocations: 0.8663 MB / 0.6542 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1961, allocations: 3.938 kB / 0.6542 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1961, allocations: 0 / 0.6542 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.647e-05/0.1961, allocations: 4 kB / 0.6542 GB, free: 8.406 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.002484/0.1986, allocations: 1.561 MB / 0.6557 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/0.1987, allocations: 15.89 kB / 0.6558 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.1987, allocations: 30.75 kB / 0.6558 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.199, allocations: 147 kB / 0.6559 GB, free: 6.582 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.2021, allocations: 1.749 MB / 0.6576 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2022, allocations: 8.375 kB / 0.6576 GB, free: 4.777 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2022, allocations: 4.375 kB / 0.6576 GB, free: 4.773 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2024, allocations: 109.7 kB / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2024, allocations: 0 / 0.6577 GB, free: 4.66 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.2025, allocations: 4 kB / 0.6577 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2025, allocations: 0 / 0.6577 GB, free: 4.656 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.2026, allocations: 40 kB / 0.6578 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.2033, allocations: 0.5812 MB / 0.6584 GB, free: 3.988 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.2034, allocations: 58.58 kB / 0.6584 GB, free: 3.922 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.2035, allocations: 48.89 kB / 0.6585 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2035, allocations: 0 / 0.6585 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.2038, allocations: 149 kB / 0.6586 GB, free: 3.707 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.2038, allocations: 4 kB / 0.6586 GB, free: 3.703 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0006326/0.2044, allocations: 401.5 kB / 0.659 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.2045, allocations: 77.11 kB / 0.6591 GB, free: 3.203 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.2063, allocations: 1.644 MB / 0.6607 GB, free: 1.562 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2063, allocations: 33.7 kB / 0.6607 GB, free: 1.523 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005509/0.2069, allocations: 0.6217 MB / 0.6613 GB, free: 0.8984 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.2069, allocations: 31.64 kB / 0.6613 GB, free: 0.8672 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.207, allocations: 45.72 kB / 0.6614 GB, free: 0.8164 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2072, allocations: 310 kB / 0.6617 GB, free: 0.5078 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.2073, allocations: 35.94 kB / 0.6617 GB, free: 484 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.468e-05/0.2073, allocations: 31.98 kB / 0.6617 GB, free: 452 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.2075, allocations: 140.3 kB / 0.6619 GB, free: 296 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2075, allocations: 0 / 0.6619 GB, free: 296 kB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004852/0.208, allocations: 381.3 kB / 0.6622 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/0.2081, allocations: 36.67 kB / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2081, allocations: 0 / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.2081, allocations: 0 / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.2082, allocations: 7.984 kB / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.2082, allocations: 0 / 0.6623 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2084, allocations: 12 kB / 0.6623 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.2085, allocations: 60 kB / 0.6623 GB, free: 15.79 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.0004759/0.209, allocations: 452.7 kB / 0.6628 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.2091, allocations: 154 kB / 0.6629 GB, free: 15.18 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.2093, allocations: 175 kB / 0.6631 GB, free: 15 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2093, allocations: 7.969 kB / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2093, allocations: 0 / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2093, allocations: 0 / 0.6631 GB, free: 14.99 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.2099, allocations: 0.6282 MB / 0.6637 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.2099, allocations: 3.938 kB / 0.6637 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.2099, allocations: 3.938 kB / 0.6637 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.21, allocations: 4 kB / 0.6637 GB, free: 14.3 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.21, allocations: 19.98 kB / 0.6637 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.21, allocations: 0 / 0.6637 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.21, allocations: 3.938 kB / 0.6637 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.2105, allocations: 429.5 kB / 0.6642 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.2108, allocations: 215.1 kB / 0.6644 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.2109, allocations: 8 kB / 0.6644 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.211, allocations: 8 kB / 0.6644 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2111, allocations: 7.984 kB / 0.6644 GB, free: 13.58 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.2111, allocations: 60 kB / 0.6644 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001308/0.2124, allocations: 1.143 MB / 0.6656 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2124, allocations: 0 / 0.6656 GB, free: 12.39 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003185/0.2128, allocations: 68 kB / 0.6656 GB, free: 12.32 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.0008845/0.2137, allocations: 1.01 MB / 0.6666 GB, free: 11.28 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.214, allocations: 167.4 kB / 0.6668 GB, free: 11.11 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.214, allocations: 7.938 kB / 0.6668 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2141, allocations: 127.4 kB / 0.6669 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.2146, allocations: 118.3 kB / 0.667 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.2258, allocations: 8.964 MB / 0.6758 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.2269, allocations: 1.18 MB / 0.6769 GB, free: 496 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0007194/0.2276, allocations: 297.7 kB / 0.6772 GB, free: 192 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.2282, allocations: 487.4 kB / 0.6777 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of SimCode: time 1.553e-06/0.2282, allocations: 0 / 0.6777 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.2878, allocations: 21.44 MB / 0.6986 GB, free: 10.34 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.09, allocations: 14.5 kB / 0.6986 GB, free: 10.33 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