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.001632/0.001632, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001846/0.001846, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.563/1.563, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.348/1.348, allocations: 119.3 MB / 411 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.91 kB / 0.4909 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7746/0.7762, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.005157/0.7814, allocations: 1.553 MB / 0.5713 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.7832, allocations: 0.8951 MB / 0.5721 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.7835, allocations: 1.625 kB / 0.5721 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.7839, allocations: 60.48 kB / 0.5722 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005561/0.7846, allocations: 99.73 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.7851, allocations: 101.2 kB / 0.5724 GB, free: 41.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.7854, allocations: 131.2 kB / 0.5725 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.7855, allocations: 9.375 kB / 0.5725 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.7857, allocations: 71.88 kB / 0.5726 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.7859, allocations: 50.83 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.7859, allocations: 8.281 kB / 0.5727 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.7861, allocations: 37.36 kB / 0.5727 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.7863, allocations: 67.83 kB / 0.5728 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.748e-05/0.7864, allocations: 59.08 kB / 0.5728 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.7867, allocations: 152 kB / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7867, allocations: 0 / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7867, allocations: 4 kB / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.7867, allocations: 0 / 0.573 GB, free: 40.95 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.0006981/0.7874, allocations: 497.7 kB / 0.5734 GB, free: 40.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7875, allocations: 9.75 kB / 0.5734 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.7876, allocations: 21.22 kB / 0.5735 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.788, allocations: 332.9 kB / 0.5738 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.788, allocations: 1.594 kB / 0.5738 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.7881, allocations: 6.375 kB / 0.5738 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.7882, allocations: 54.8 kB / 0.5738 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.7882, allocations: 0 / 0.5738 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7883, allocations: 5.422 kB / 0.5738 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.7883, allocations: 0 / 0.5738 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.7884, allocations: 8.812 kB / 0.5739 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.7886, allocations: 215.2 kB / 0.5741 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.7888, allocations: 51.17 kB / 0.5741 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.7889, allocations: 25.52 kB / 0.5741 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.7889, allocations: 0 / 0.5741 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.7891, allocations: 71.94 kB / 0.5742 GB, free: 39.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.7891, allocations: 1.562 kB / 0.5742 GB, free: 39.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003872/0.7895, allocations: 102.6 kB / 0.5743 GB, free: 39.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.7896, allocations: 52.41 kB / 0.5743 GB, free: 39.6 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.7899, allocations: 283 kB / 0.5746 GB, free: 39.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.7899, allocations: 26.83 kB / 0.5746 GB, free: 39.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.79, allocations: 138.6 kB / 0.5748 GB, free: 39.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.7901, allocations: 11.34 kB / 0.5748 GB, free: 39.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.7901, allocations: 18.19 kB / 0.5748 GB, free: 39.23 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.7902, allocations: 337.5 kB / 0.5751 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.7903, allocations: 16.8 kB / 0.5751 GB, free: 38.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.7904, allocations: 27.59 kB / 0.5752 GB, free: 38.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.7905, allocations: 46.92 kB / 0.5752 GB, free: 38.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7905, allocations: 3.938 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002276/0.7907, allocations: 91.72 kB / 0.5753 GB, free: 38.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.7908, allocations: 8.906 kB / 0.5753 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7908, allocations: 5.094 kB / 0.5753 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.7908, allocations: 5.609 kB / 0.5753 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.7909, allocations: 13.47 kB / 0.5753 GB, free: 38.75 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.7909, allocations: 4 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.791, allocations: 2.781 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.791, allocations: 5.75 kB / 0.5753 GB, free: 38.74 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 0.0001204/0.7911, allocations: 143.3 kB / 0.5755 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.7912, allocations: 21.19 kB / 0.5755 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.7912, allocations: 27.83 kB / 0.5755 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7912, allocations: 1.094 kB / 0.5755 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7913, allocations: 0 / 0.5755 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7913, allocations: 5.031 kB / 0.5755 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.7914, allocations: 216.7 kB / 0.5757 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7914, allocations: 0 / 0.5757 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.7915, allocations: 3.562 kB / 0.5757 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7915, allocations: 0 / 0.5757 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.7915, allocations: 5.266 kB / 0.5758 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7915, allocations: 3.938 kB / 0.5758 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7915, allocations: 1.156 kB / 0.5758 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.7917, allocations: 125.9 kB / 0.5759 GB, free: 38.22 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.7918, allocations: 94.39 kB / 0.576 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.7918, allocations: 2.375 kB / 0.576 GB, free: 38.12 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.7919, allocations: 5.016 kB / 0.576 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.7919, allocations: 6.438 kB / 0.576 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.7919, allocations: 2.25 kB / 0.576 GB, free: 38.11 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000219/0.7922, allocations: 204.7 kB / 0.5762 GB, free: 37.98 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7922, allocations: 0 / 0.5762 GB, free: 37.98 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002416/0.7924, allocations: 15.81 kB / 0.5762 GB, free: 37.98 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.001002/0.7934, allocations: 431.8 kB / 0.5766 GB, free: 37.76 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.7936, allocations: 41.14 kB / 0.5766 GB, free: 37.75 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7937, allocations: 0 / 0.5766 GB, free: 37.75 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.7937, allocations: 19.97 kB / 0.5767 GB, free: 37.74 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.7941, allocations: 48.53 kB / 0.5767 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.7948, allocations: 327.6 kB / 0.577 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.7951, allocations: 0.7376 MB / 0.5777 GB, free: 36.75 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.7952, allocations: 37.88 kB / 0.5778 GB, free: 36.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.7953, allocations: 33.61 kB / 0.5778 GB, free: 36.71 MB / 462.3 MB Notification: Performance of SimCode: time 3.5e-07/0.7953, allocations: 0 / 0.5778 GB, free: 36.71 MB / 462.3 MB Notification: Performance of Templates: time 0.006336/0.8017, allocations: 1.716 MB / 0.5795 GB, free: 35.86 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches