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: translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001298/0.001298, allocations: 191 kB / 18.63 MB, free: 4.375 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.267/1.267, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9092/0.9092, allocations: 119.3 MB / 411.8 MB, free: 9.52 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 59.91 kB / 0.4924 GB, free: 13.04 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4828, allocations: 80.68 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002506/0.4853, allocations: 1.557 MB / 0.5727 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.4864, allocations: 0.8967 MB / 0.5735 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.4865, allocations: 1.125 kB / 0.5736 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.4868, allocations: 61.3 kB / 0.5736 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.4871, allocations: 103.1 kB / 0.5737 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.4873, allocations: 109.2 kB / 0.5738 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.4875, allocations: 121.4 kB / 0.5739 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.4875, allocations: 9.625 kB / 0.5739 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.4876, allocations: 69.98 kB / 0.574 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.4877, allocations: 53.98 kB / 0.5741 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4878, allocations: 9.406 kB / 0.5741 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.4878, allocations: 33.11 kB / 0.5741 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4879, allocations: 70.92 kB / 0.5742 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.488, allocations: 62.7 kB / 0.5742 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.4882, allocations: 150.7 kB / 0.5744 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4882, allocations: 0 / 0.5744 GB, free: 41.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4882, allocations: 4 kB / 0.5744 GB, free: 41.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4882, allocations: 0 / 0.5744 GB, free: 41.09 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.0004653/0.4887, allocations: 494.1 kB / 0.5748 GB, free: 40.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4887, allocations: 12.48 kB / 0.5749 GB, free: 40.6 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.4888, allocations: 21.47 kB / 0.5749 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.4892, allocations: 339.2 kB / 0.5752 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4892, allocations: 384 / 0.5752 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.4892, allocations: 6.594 kB / 0.5752 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4893, allocations: 51.45 kB / 0.5753 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4893, allocations: 0 / 0.5753 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.4893, allocations: 0 / 0.5753 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4893, allocations: 5.547 kB / 0.5753 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.4894, allocations: 16.05 kB / 0.5753 GB, free: 40.22 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.4896, allocations: 202.5 kB / 0.5755 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.4897, allocations: 58.86 kB / 0.5755 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.4898, allocations: 29.03 kB / 0.5756 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4898, allocations: 1.375 kB / 0.5756 GB, free: 39.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.49, allocations: 68.7 kB / 0.5756 GB, free: 39.86 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.49, allocations: 0 / 0.5756 GB, free: 39.86 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.000251/0.4902, allocations: 103.6 kB / 0.5757 GB, free: 39.8 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.4903, allocations: 56.81 kB / 0.5758 GB, free: 39.73 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.4905, allocations: 282.6 kB / 0.576 GB, free: 39.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.4905, allocations: 26.83 kB / 0.5761 GB, free: 39.52 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.4906, allocations: 138.9 kB / 0.5762 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.4906, allocations: 10.28 kB / 0.5762 GB, free: 39.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.4906, allocations: 18.75 kB / 0.5762 GB, free: 39.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/0.4907, allocations: 333.1 kB / 0.5765 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.4907, allocations: 20.14 kB / 0.5766 GB, free: 39.02 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.4908, allocations: 31.81 kB / 0.5766 GB, free: 38.99 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.24e-05/0.4909, allocations: 47.14 kB / 0.5766 GB, free: 38.96 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4909, allocations: 0 / 0.5766 GB, free: 38.96 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001467/0.491, allocations: 95.89 kB / 0.5767 GB, free: 38.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4911, allocations: 5.281 kB / 0.5767 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4911, allocations: 1.125 kB / 0.5767 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4911, allocations: 1.312 kB / 0.5767 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.4912, allocations: 16.12 kB / 0.5768 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4912, allocations: 1.281 kB / 0.5768 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.4912, allocations: 6.312 kB / 0.5768 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4912, allocations: 2.25 kB / 0.5768 GB, free: 38.88 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.046e-05/0.4913, allocations: 150.7 kB / 0.5769 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4914, allocations: 22.56 kB / 0.5769 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.4914, allocations: 23.77 kB / 0.5769 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4914, allocations: 0 / 0.5769 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4914, allocations: 1.094 kB / 0.5769 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4914, allocations: 4 kB / 0.577 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.4915, allocations: 220.9 kB / 0.5772 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4916, allocations: 0 / 0.5772 GB, free: 38.47 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.4916, allocations: 7.047 kB / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4916, allocations: 1.094 kB / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.4916, allocations: 1.156 kB / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4916, allocations: 0 / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4916, allocations: 0.9375 kB / 0.5772 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.4918, allocations: 126 kB / 0.5773 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.4918, allocations: 98.33 kB / 0.5774 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4919, allocations: 1.188 kB / 0.5774 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.4919, allocations: 10.36 kB / 0.5774 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.492, allocations: 2.312 kB / 0.5774 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.492, allocations: 2.5 kB / 0.5774 GB, free: 38.24 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001501/0.4921, allocations: 204.8 kB / 0.5776 GB, free: 38.11 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4921, allocations: 0 / 0.5776 GB, free: 38.11 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000208/0.4923, allocations: 23.27 kB / 0.5776 GB, free: 38.1 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.0007957/0.4931, allocations: 412 kB / 0.578 GB, free: 37.9 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.4933, allocations: 44.77 kB / 0.5781 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4933, allocations: 0 / 0.5781 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.4934, allocations: 19.3 kB / 0.5781 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4936, allocations: 43.89 kB / 0.5781 GB, free: 37.84 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.494, allocations: 324.4 kB / 0.5784 GB, free: 37.62 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4942, allocations: 0.7412 MB / 0.5792 GB, free: 36.89 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.4943, allocations: 34.48 kB / 0.5792 GB, free: 36.88 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.4943, allocations: 33.89 kB / 0.5792 GB, free: 36.86 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4943, allocations: 3.938 kB / 0.5792 GB, free: 36.85 MB / 462.3 MB Notification: Performance of Templates: time 0.004117/0.4984, allocations: 1.709 MB / 0.5809 GB, free: 36 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches