Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.0009355/0.0009354, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001022/0.001022, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.26/1.26, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8234/0.8234, allocations: 120.5 MB / 413.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 0.495 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.481/0.4813, allocations: 82.83 MB / 0.5759 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001527/0.4829, allocations: 1.268 MB / 0.5771 GB, free: 40.34 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.4839, allocations: 0.8643 MB / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.484, allocations: 4.281 kB / 0.578 GB, free: 39.67 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.4843, allocations: 60.27 kB / 0.578 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.4845, allocations: 88.78 kB / 0.5781 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.4847, allocations: 91.33 kB / 0.5782 GB, free: 39.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4849, allocations: 118.1 kB / 0.5783 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.485, allocations: 12.56 kB / 0.5783 GB, free: 39.45 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.4851, allocations: 66.42 kB / 0.5784 GB, free: 39.41 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4852, allocations: 54.66 kB / 0.5785 GB, free: 39.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.4852, allocations: 2.438 kB / 0.5785 GB, free: 39.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.09e-05/0.4853, allocations: 31.16 kB / 0.5785 GB, free: 39.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4854, allocations: 72.64 kB / 0.5786 GB, free: 39.34 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.4855, allocations: 76.94 kB / 0.5786 GB, free: 39.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.4857, allocations: 154.3 kB / 0.5788 GB, free: 39.17 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4857, allocations: 0 / 0.5788 GB, free: 39.17 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4857, allocations: 0 / 0.5788 GB, free: 39.17 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.4857, allocations: 0 / 0.5788 GB, free: 39.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004093/0.4861, allocations: 473.6 kB / 0.5792 GB, free: 38.7 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4861, allocations: 9.281 kB / 0.5792 GB, free: 38.7 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.4862, allocations: 32.44 kB / 0.5793 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.4862, allocations: 20.34 kB / 0.5793 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.4865, allocations: 342.7 kB / 0.5796 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4865, allocations: 384 / 0.5796 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.4866, allocations: 9.719 kB / 0.5796 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.4867, allocations: 48.44 kB / 0.5797 GB, free: 38.28 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4867, allocations: 3.984 kB / 0.5797 GB, free: 38.28 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.4867, allocations: 0 / 0.5797 GB, free: 38.28 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4867, allocations: 0 / 0.5797 GB, free: 38.28 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.4868, allocations: 13.88 kB / 0.5797 GB, free: 38.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.4869, allocations: 206.2 kB / 0.5799 GB, free: 38.05 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4871, allocations: 62.83 kB / 0.5799 GB, free: 38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.4871, allocations: 17.11 kB / 0.58 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4871, allocations: 1.375 kB / 0.58 GB, free: 37.98 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.4873, allocations: 63.77 kB / 0.58 GB, free: 37.92 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.4873, allocations: 0 / 0.58 GB, free: 37.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002437/0.4875, allocations: 115.9 kB / 0.5801 GB, free: 37.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.4876, allocations: 52.78 kB / 0.5802 GB, free: 37.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4878, allocations: 279.1 kB / 0.5804 GB, free: 37.6 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.4878, allocations: 25.7 kB / 0.5805 GB, free: 37.57 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.4879, allocations: 139.1 kB / 0.5806 GB, free: 37.44 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4879, allocations: 10.66 kB / 0.5806 GB, free: 37.43 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.4879, allocations: 11.09 kB / 0.5806 GB, free: 37.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.488, allocations: 333.7 kB / 0.5809 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.488, allocations: 20.19 kB / 0.581 GB, free: 37.08 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.4881, allocations: 31.33 kB / 0.581 GB, free: 37.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.4882, allocations: 47.52 kB / 0.581 GB, free: 37.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4882, allocations: 3.938 kB / 0.581 GB, free: 37.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001379/0.4883, allocations: 89.09 kB / 0.5811 GB, free: 36.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4883, allocations: 4.781 kB / 0.5811 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.4884, allocations: 4 kB / 0.5811 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4884, allocations: 1.219 kB / 0.5811 GB, free: 36.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.4884, allocations: 16.55 kB / 0.5812 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4885, allocations: 0.9375 kB / 0.5812 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.4885, allocations: 2.906 kB / 0.5812 GB, free: 36.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.4885, allocations: 2.312 kB / 0.5812 GB, free: 36.94 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.931e-05/0.4886, allocations: 148.1 kB / 0.5813 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.4886, allocations: 20.56 kB / 0.5813 GB, free: 36.8 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.4887, allocations: 32.22 kB / 0.5814 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4887, allocations: 0.875 kB / 0.5814 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4887, allocations: 4.25 kB / 0.5814 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4887, allocations: 1.406 kB / 0.5814 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.4888, allocations: 219.6 kB / 0.5816 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4888, allocations: 0 / 0.5816 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.4889, allocations: 7.25 kB / 0.5816 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4889, allocations: 1.156 kB / 0.5816 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4889, allocations: 1.594 kB / 0.5816 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4889, allocations: 0 / 0.5816 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4889, allocations: 3.938 kB / 0.5816 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.4891, allocations: 122 kB / 0.5817 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.4891, allocations: 108.4 kB / 0.5818 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4892, allocations: 1.25 kB / 0.5818 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.4892, allocations: 6.547 kB / 0.5818 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.4892, allocations: 6.094 kB / 0.5818 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4893, allocations: 2.25 kB / 0.5818 GB, free: 36.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001668/0.4894, allocations: 208.5 kB / 0.582 GB, free: 36.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4894, allocations: 0.9688 kB / 0.582 GB, free: 36.16 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002051/0.4897, allocations: 22.64 kB / 0.582 GB, free: 36.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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001107/0.4908, allocations: 0.972 MB / 0.583 GB, free: 35.41 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4909, allocations: 39.36 kB / 0.583 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4909, allocations: 1.375 kB / 0.583 GB, free: 35.39 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.186e-05/0.491, allocations: 18.94 kB / 0.583 GB, free: 35.38 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4912, allocations: 39.94 kB / 0.5831 GB, free: 35.36 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.493, allocations: 2.008 MB / 0.585 GB, free: 33.81 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.4932, allocations: 0.7345 MB / 0.5858 GB, free: 33.08 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.4933, allocations: 41.66 kB / 0.5858 GB, free: 33.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.4934, allocations: 61.25 kB / 0.5859 GB, free: 33.02 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.4934, allocations: 4 kB / 0.5859 GB, free: 33.01 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.507, allocations: 3.873 MB / 0.5896 GB, free: 31.23 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.5072, allocations: 261.5 kB / 0.5899 GB, free: 30.97 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.294, allocations: 0 / 0.5899 GB, free: 30.97 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches