Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.00125/0.00125, allocations: 105.7 kB / 17.16 MB, free: 6.324 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.00124/0.00124, allocations: 202.8 kB / 18.08 MB, free: 5.422 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.287/1.287, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8408/0.8408, allocations: 119.3 MB / 411.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 55.91 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4803, allocations: 80.7 MB / 0.5697 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00259/0.4829, allocations: 1.612 MB / 0.5713 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.4841, allocations: 0.8799 MB / 0.5721 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.4841, allocations: 1.438 kB / 0.5721 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.4845, allocations: 64.05 kB / 0.5722 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.4847, allocations: 96.45 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.4849, allocations: 87.45 kB / 0.5724 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.4851, allocations: 122.6 kB / 0.5725 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.4852, allocations: 4.125 kB / 0.5725 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.4853, allocations: 59.25 kB / 0.5725 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.4854, allocations: 58.45 kB / 0.5726 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.4854, allocations: 10.53 kB / 0.5726 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.4855, allocations: 27.06 kB / 0.5726 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4856, allocations: 68.02 kB / 0.5727 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.4857, allocations: 62.47 kB / 0.5728 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.4859, allocations: 118 kB / 0.5729 GB, free: 41.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4859, allocations: 1.375 kB / 0.5729 GB, free: 41.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.41e-07/0.4859, allocations: 4 kB / 0.5729 GB, free: 41.1 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.4859, allocations: 0 / 0.5729 GB, free: 41.1 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.0004977/0.4864, allocations: 484.9 kB / 0.5733 GB, free: 40.62 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4864, allocations: 9.875 kB / 0.5733 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.4865, allocations: 21.28 kB / 0.5734 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.4868, allocations: 329.2 kB / 0.5737 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.4868, allocations: 1.688 kB / 0.5737 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4869, allocations: 9.359 kB / 0.5737 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.487, allocations: 60.17 kB / 0.5737 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.487, allocations: 0 / 0.5737 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.487, allocations: 0 / 0.5737 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.487, allocations: 1.375 kB / 0.5737 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.437e-05/0.4871, allocations: 16.42 kB / 0.5738 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.4873, allocations: 207.5 kB / 0.574 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.4874, allocations: 49.89 kB / 0.574 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.4875, allocations: 29.75 kB / 0.574 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4875, allocations: 1.219 kB / 0.574 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.4877, allocations: 71.8 kB / 0.5741 GB, free: 39.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.4877, allocations: 0 / 0.5741 GB, free: 39.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002614/0.4879, allocations: 103.8 kB / 0.5742 GB, free: 39.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.488, allocations: 52.81 kB / 0.5743 GB, free: 39.76 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4882, allocations: 282.7 kB / 0.5745 GB, free: 39.57 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.4882, allocations: 26.98 kB / 0.5746 GB, free: 39.54 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.4883, allocations: 139.5 kB / 0.5747 GB, free: 39.41 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.4883, allocations: 9.188 kB / 0.5747 GB, free: 39.41 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.4883, allocations: 22.83 kB / 0.5747 GB, free: 39.38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.503e-05/0.4884, allocations: 333.6 kB / 0.575 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.4885, allocations: 20.48 kB / 0.5751 GB, free: 39.04 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.4885, allocations: 35.25 kB / 0.5751 GB, free: 39.01 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.4886, allocations: 39.28 kB / 0.5751 GB, free: 38.98 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4886, allocations: 0 / 0.5751 GB, free: 38.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001396/0.4888, allocations: 100.1 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4888, allocations: 5.156 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4888, allocations: 1.25 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4888, allocations: 0 / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.4889, allocations: 14.09 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4889, allocations: 3.938 kB / 0.5752 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.4889, allocations: 6.75 kB / 0.5753 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.489, allocations: 2.938 kB / 0.5753 GB, free: 38.9 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.993e-05/0.4891, allocations: 145.6 kB / 0.5754 GB, free: 38.77 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.4891, allocations: 21.94 kB / 0.5754 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.4891, allocations: 28.08 kB / 0.5754 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4891, allocations: 1.438 kB / 0.5754 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4892, allocations: 0 / 0.5754 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4892, allocations: 4 kB / 0.5754 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.4893, allocations: 216.8 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4893, allocations: 0 / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.4893, allocations: 7.078 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.4893, allocations: 5.125 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4893, allocations: 1.375 kB / 0.5757 GB, free: 38.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4893, allocations: 4 kB / 0.5757 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4894, allocations: 1.156 kB / 0.5757 GB, free: 38.49 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.4895, allocations: 125.9 kB / 0.5758 GB, free: 38.39 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.4896, allocations: 95.14 kB / 0.5759 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4896, allocations: 5.297 kB / 0.5759 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.4896, allocations: 1.281 kB / 0.5759 GB, free: 38.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.4897, allocations: 10.41 kB / 0.5759 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.4897, allocations: 2.781 kB / 0.5759 GB, free: 38.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000152/0.4899, allocations: 204.2 kB / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4899, allocations: 0 / 0.5761 GB, free: 38.14 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002087/0.4901, allocations: 19.14 kB / 0.5761 GB, free: 38.13 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.000866/0.491, allocations: 418.7 kB / 0.5765 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.4911, allocations: 35.08 kB / 0.5765 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4911, allocations: 0 / 0.5765 GB, free: 37.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.4912, allocations: 23.67 kB / 0.5766 GB, free: 37.9 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4915, allocations: 41.28 kB / 0.5766 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.492, allocations: 397 kB / 0.577 GB, free: 37.58 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4921, allocations: 0.7301 MB / 0.5777 GB, free: 36.86 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.5e-05/0.4922, allocations: 29.86 kB / 0.5777 GB, free: 36.84 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.4922, allocations: 0 / 0.5777 GB, free: 36.84 MB / 462.3 MB Notification: Performance of Templates: time 0.004017/0.4962, allocations: 2.549 MB / 0.5802 GB, free: 35.53 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches