Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",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.001468/0.001468, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001935/0.001935, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.459/1.459, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.128/1.128, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.17 kB / 0.5704 GB, free: 39.95 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1506, allocations: 80.7 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002625/0.1533, allocations: 1.406 MB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.1543, allocations: 0.5651 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.1544, allocations: 0 / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.1548, allocations: 451.1 kB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005461/0.1554, allocations: 487 kB / 0.652 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1557, allocations: 87.78 kB / 0.6521 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009232/0.1567, allocations: 1.131 MB / 0.6532 GB, free: 9.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1567, allocations: 4 kB / 0.6532 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005116/0.1572, allocations: 0.5615 MB / 0.6538 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.1581, allocations: 1.037 MB / 0.6548 GB, free: 7.824 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1582, allocations: 64 kB / 0.6549 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1584, allocations: 139.9 kB / 0.655 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.1608, allocations: 2.501 MB / 0.6574 GB, free: 5.117 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.1618, allocations: 1.42 MB / 0.6588 GB, free: 3.684 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.1643, allocations: 3.17 MB / 0.6619 GB, free: 0.5 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.1643, allocations: 4 kB / 0.6619 GB, free: 0.4961 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1643, allocations: 0 / 0.6619 GB, free: 0.4961 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.365e-05/0.1644, allocations: 0 / 0.6619 GB, free: 0.4961 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.005806/0.1702, allocations: 5.157 MB / 0.667 GB, free: 11.24 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.1702, allocations: 19.83 kB / 0.667 GB, free: 11.22 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.1703, allocations: 38.73 kB / 0.667 GB, free: 11.18 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.1709, allocations: 0.556 MB / 0.6676 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/0.1822, allocations: 6.527 MB / 0.6739 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1823, allocations: 384 / 0.6739 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.1823, allocations: 24.31 kB / 0.674 GB, free: 3.98 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1827, allocations: 241.6 kB / 0.6742 GB, free: 3.738 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1827, allocations: 0 / 0.6742 GB, free: 3.738 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.1828, allocations: 20 kB / 0.6742 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1828, allocations: 0 / 0.6742 GB, free: 3.719 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.183, allocations: 131.9 kB / 0.6743 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.1854, allocations: 1.866 MB / 0.6762 GB, free: 1.676 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1855, allocations: 98.58 kB / 0.6762 GB, free: 1.57 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1857, allocations: 92.89 kB / 0.6763 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1857, allocations: 0 / 0.6763 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.186, allocations: 264.8 kB / 0.6766 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.186, allocations: 0 / 0.6766 GB, free: 1.199 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001488/0.1875, allocations: 1.16 MB / 0.6777 GB, free: 20 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.1876, allocations: 85.09 kB / 0.6778 GB, free: 15.92 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00683/0.1944, allocations: 6.271 MB / 0.6839 GB, free: 9.691 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-05/0.1946, allocations: 45.7 kB / 0.684 GB, free: 9.641 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.1968, allocations: 2.516 MB / 0.6864 GB, free: 7.121 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.1969, allocations: 35.72 kB / 0.6865 GB, free: 7.086 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.197, allocations: 141.6 kB / 0.6866 GB, free: 6.941 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1971, allocations: 310 kB / 0.6869 GB, free: 6.633 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1973, allocations: 79.98 kB / 0.687 GB, free: 6.555 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1974, allocations: 76 kB / 0.687 GB, free: 6.48 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.1977, allocations: 232.2 kB / 0.6873 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1977, allocations: 0 / 0.6873 GB, free: 6.238 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001426/0.1992, allocations: 1.086 MB / 0.6883 GB, free: 5.133 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.1992, allocations: 40.66 kB / 0.6884 GB, free: 5.09 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1992, allocations: 0 / 0.6884 GB, free: 5.09 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1993, allocations: 11.92 kB / 0.6884 GB, free: 5.078 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.1994, allocations: 4 kB / 0.6884 GB, free: 5.074 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1994, allocations: 0 / 0.6884 GB, free: 5.074 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.1998, allocations: 31.88 kB / 0.6884 GB, free: 5.043 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.2, allocations: 220 kB / 0.6886 GB, free: 4.828 MB / 0.5295 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.001561/0.2015, allocations: 1.344 MB / 0.6899 GB, free: 3.469 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/0.202, allocations: 0.5746 MB / 0.6905 GB, free: 2.887 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.2027, allocations: 0.6441 MB / 0.6911 GB, free: 2.238 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.2027, allocations: 8 kB / 0.6911 GB, free: 2.23 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2027, allocations: 0 / 0.6911 GB, free: 2.23 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2027, allocations: 0 / 0.6911 GB, free: 2.23 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.2045, allocations: 2.018 MB / 0.6931 GB, free: 168 kB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2045, allocations: 3.938 kB / 0.6931 GB, free: 164 kB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.2045, allocations: 4 kB / 0.6931 GB, free: 160 kB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2045, allocations: 0 / 0.6931 GB, free: 160 kB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.2046, allocations: 52.09 kB / 0.6932 GB, free: 108 kB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2046, allocations: 3.938 kB / 0.6932 GB, free: 104 kB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2046, allocations: 3.984 kB / 0.6932 GB, free: 100 kB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.2058, allocations: 1.172 MB / 0.6943 GB, free: 14.89 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/0.2067, allocations: 0.564 MB / 0.6949 GB, free: 14.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.2069, allocations: 20 kB / 0.6949 GB, free: 14.29 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.2072, allocations: 16 kB / 0.6949 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2072, allocations: 4 kB / 0.6949 GB, free: 14.27 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/0.2074, allocations: 220 kB / 0.6951 GB, free: 14.05 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005056/0.2125, allocations: 4.332 MB / 0.6993 GB, free: 9.758 MB / 0.5452 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2125, allocations: 0 / 0.6993 GB, free: 9.758 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0008238/0.2133, allocations: 192 kB / 0.6995 GB, free: 9.57 MB / 0.5452 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.001748/0.2151, allocations: 1.786 MB / 0.7013 GB, free: 7.746 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.2155, allocations: 279.4 kB / 0.7015 GB, free: 7.461 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2156, allocations: 0 / 0.7015 GB, free: 7.461 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.2158, allocations: 183.4 kB / 0.7017 GB, free: 7.27 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.217, allocations: 449.1 kB / 0.7021 GB, free: 6.828 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05123/0.2682, allocations: 32.67 MB / 0.734 GB, free: 6.051 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/0.2709, allocations: 2.724 MB / 0.7367 GB, free: 3.301 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002333/0.2732, allocations: 1.141 MB / 0.7378 GB, free: 2.152 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/0.2752, allocations: 2.085 MB / 0.7398 GB, free: 68 kB / 0.5764 GB Notification: Performance of SimCode: time 1.082e-06/0.2752, allocations: 0 / 0.7398 GB, free: 68 kB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7786/1.054, allocations: 80.54 MB / 0.8185 GB, free: 79.16 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.92/27.98, allocations: 18.17 kB / 0.8185 GB, free: 79.14 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches