Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.001437/0.001437, allocations: 110.3 kB / 16.92 MB, free: 5.785 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.001754/0.001754, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.451/1.451, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.14/1.14, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.91 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5714, allocations: 80.68 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003092/0.5745, allocations: 1.384 MB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.5758, allocations: 0.5703 MB / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.5758, allocations: 0 / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.5761, allocations: 19.34 kB / 0.5718 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.5764, allocations: 67.7 kB / 0.5718 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.5767, allocations: 73.89 kB / 0.5719 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.5768, allocations: 90.17 kB / 0.572 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.5769, allocations: 6.812 kB / 0.572 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.577, allocations: 54.22 kB / 0.572 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.5771, allocations: 47.62 kB / 0.5721 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.5772, allocations: 8.5 kB / 0.5721 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.5773, allocations: 73.45 kB / 0.5722 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.5775, allocations: 59.88 kB / 0.5722 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.5775, allocations: 46.61 kB / 0.5723 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.5778, allocations: 147.2 kB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5778, allocations: 1.375 kB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5778, allocations: 3.984 kB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.5778, allocations: 0 / 0.5724 GB, free: 41.42 MB / 462.3 MB 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.0005974/0.5784, allocations: 481.7 kB / 0.5729 GB, free: 40.94 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5785, allocations: 13.98 kB / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.5785, allocations: 31.94 kB / 0.5729 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.5786, allocations: 16.62 kB / 0.5729 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.579, allocations: 315.2 kB / 0.5732 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.579, allocations: 1.844 kB / 0.5732 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.579, allocations: 1.938 kB / 0.5732 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.5792, allocations: 67.48 kB / 0.5733 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5792, allocations: 1.062 kB / 0.5733 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5792, allocations: 1.094 kB / 0.5733 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5792, allocations: 4 kB / 0.5733 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.5793, allocations: 20.61 kB / 0.5733 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.5795, allocations: 202 kB / 0.5735 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.5796, allocations: 46.27 kB / 0.5736 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.678e-05/0.5797, allocations: 33.58 kB / 0.5736 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5797, allocations: 0 / 0.5736 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.5799, allocations: 103.4 kB / 0.5737 GB, free: 40.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.5799, allocations: 0 / 0.5737 GB, free: 40.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.000322/0.5803, allocations: 169.5 kB / 0.5739 GB, free: 40.03 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.5803, allocations: 80.11 kB / 0.5739 GB, free: 39.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5805, allocations: 231.3 kB / 0.5742 GB, free: 39.78 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.5805, allocations: 31.22 kB / 0.5742 GB, free: 39.74 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.5806, allocations: 117.7 kB / 0.5743 GB, free: 39.63 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5806, allocations: 18.34 kB / 0.5743 GB, free: 39.62 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.5807, allocations: 31.59 kB / 0.5743 GB, free: 39.59 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.5808, allocations: 332.3 kB / 0.5747 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.5808, allocations: 14.22 kB / 0.5747 GB, free: 39.26 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.5808, allocations: 20.89 kB / 0.5747 GB, free: 39.25 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.581, allocations: 102.8 kB / 0.5748 GB, free: 39.16 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.581, allocations: 0 / 0.5748 GB, free: 39.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001891/0.5812, allocations: 152.8 kB / 0.5749 GB, free: 39.05 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.5812, allocations: 36.59 kB / 0.575 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.5812, allocations: 4.844 kB / 0.575 GB, free: 39.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5812, allocations: 4 kB / 0.575 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.5813, allocations: 4.875 kB / 0.575 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5813, allocations: 0 / 0.575 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.5814, allocations: 7.219 kB / 0.575 GB, free: 39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.5814, allocations: 6.75 kB / 0.575 GB, free: 39 MB / 462.3 MB 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.0001595/0.5816, allocations: 176.2 kB / 0.5752 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.5816, allocations: 21.28 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.76e-05/0.5817, allocations: 22.91 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5817, allocations: 3.984 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5817, allocations: 4 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5817, allocations: 0.9688 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.5819, allocations: 213.8 kB / 0.5754 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5819, allocations: 5.406 kB / 0.5754 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.5819, allocations: 2.469 kB / 0.5754 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5819, allocations: 0 / 0.5754 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.5819, allocations: 8.016 kB / 0.5754 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5819, allocations: 0 / 0.5754 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.582, allocations: 1.5 kB / 0.5754 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.5823, allocations: 196.9 kB / 0.5756 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.5823, allocations: 105.6 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.5824, allocations: 6.375 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.5824, allocations: 2.844 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.5825, allocations: 10.81 kB / 0.5757 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5825, allocations: 9.734 kB / 0.5758 GB, free: 38.29 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001486/0.5827, allocations: 171.3 kB / 0.5759 GB, free: 38.17 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5827, allocations: 1.031 kB / 0.5759 GB, free: 38.17 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002839/0.583, allocations: 38.61 kB / 0.576 GB, free: 38.16 MB / 462.3 MB 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.0005714/0.5835, allocations: 0.7616 MB / 0.5767 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.5838, allocations: 143.8 kB / 0.5768 GB, free: 37.37 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5838, allocations: 0 / 0.5768 GB, free: 37.37 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.5839, allocations: 110.3 kB / 0.5769 GB, free: 37.27 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5842, allocations: 27.5 kB / 0.577 GB, free: 37.26 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.5863, allocations: 1.926 MB / 0.5789 GB, free: 35.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.5866, allocations: 0.725 MB / 0.5796 GB, free: 35.05 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.583e-05/0.5866, allocations: 27.42 kB / 0.5796 GB, free: 35.04 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.5867, allocations: 50.17 kB / 0.5796 GB, free: 34.99 MB / 462.3 MB Notification: Performance of SimCode: time 6.11e-07/0.5867, allocations: 0 / 0.5796 GB, free: 34.99 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.609, allocations: 3.42 MB / 0.583 GB, free: 33.26 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.468, allocations: 8.219 kB / 0.583 GB, free: 33.26 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches