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.000878/0.000878, allocations: 88.28 kB / 16.32 MB, free: 6.449 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.0008685/0.0008686, allocations: 183.4 kB / 17.21 MB, free: 6.316 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.477/1.477, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.176/1.176, allocations: 120.5 MB / 412.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003554, allocations: 8 kB / 0.4943 GB, free: 11.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6254/0.6258, allocations: 82.84 MB / 0.5752 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001748/0.6276, allocations: 1.248 MB / 0.5764 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.6288, allocations: 0.8204 MB / 0.5772 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.6289, allocations: 1.375 kB / 0.5772 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.6292, allocations: 61.92 kB / 0.5772 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.6296, allocations: 86.16 kB / 0.5773 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.6299, allocations: 95.95 kB / 0.5774 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.63, allocations: 104.9 kB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.6301, allocations: 12.12 kB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.6303, allocations: 60.52 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.6304, allocations: 61.53 kB / 0.5776 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.6304, allocations: 3.281 kB / 0.5776 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.312e-05/0.6305, allocations: 22.11 kB / 0.5777 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.6306, allocations: 72.52 kB / 0.5777 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.6307, allocations: 44.11 kB / 0.5778 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.6308, allocations: 117.4 kB / 0.5779 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6308, allocations: 0 / 0.5779 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6309, allocations: 0 / 0.5779 GB, free: 39.86 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.6309, allocations: 1.25 kB / 0.5779 GB, free: 39.86 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.0004326/0.6313, allocations: 470.6 kB / 0.5783 GB, free: 39.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.6313, allocations: 8.625 kB / 0.5783 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.6314, allocations: 24.78 kB / 0.5784 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.6317, allocations: 321 kB / 0.5787 GB, free: 39.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.6318, allocations: 4 kB / 0.5787 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.6318, allocations: 2.812 kB / 0.5787 GB, free: 39.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.6319, allocations: 46.39 kB / 0.5787 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6319, allocations: 0 / 0.5787 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.6319, allocations: 9.047 kB / 0.5787 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6319, allocations: 3.953 kB / 0.5787 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.632, allocations: 16.7 kB / 0.5788 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.6322, allocations: 215.4 kB / 0.579 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.6323, allocations: 50.23 kB / 0.579 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.6324, allocations: 25.25 kB / 0.579 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.6324, allocations: 1.562 kB / 0.579 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.6325, allocations: 67.89 kB / 0.5791 GB, free: 38.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.6325, allocations: 0 / 0.5791 GB, free: 38.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002348/0.6328, allocations: 102.9 kB / 0.5792 GB, free: 38.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.6328, allocations: 56.61 kB / 0.5792 GB, free: 38.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.633, allocations: 281.7 kB / 0.5795 GB, free: 38.34 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.6331, allocations: 29.7 kB / 0.5795 GB, free: 38.31 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.6331, allocations: 131.1 kB / 0.5797 GB, free: 38.19 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.6331, allocations: 18.55 kB / 0.5797 GB, free: 38.17 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.6332, allocations: 0 / 0.5797 GB, free: 38.17 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.6332, allocations: 337.7 kB / 0.58 GB, free: 37.84 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.6333, allocations: 16.23 kB / 0.58 GB, free: 37.83 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.6333, allocations: 27.34 kB / 0.5801 GB, free: 37.81 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.6334, allocations: 16.23 kB / 0.5801 GB, free: 37.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6334, allocations: 0 / 0.5801 GB, free: 37.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.6335, allocations: 91.72 kB / 0.5802 GB, free: 37.74 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.6335, allocations: 11.88 kB / 0.5802 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6335, allocations: 0 / 0.5802 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6336, allocations: 1.375 kB / 0.5802 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.6336, allocations: 13.61 kB / 0.5802 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6336, allocations: 3.938 kB / 0.5802 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.6337, allocations: 12.08 kB / 0.5802 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.6337, allocations: 1.375 kB / 0.5802 GB, free: 37.72 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.283e-05/0.6338, allocations: 145.3 kB / 0.5803 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.6338, allocations: 22.72 kB / 0.5804 GB, free: 37.58 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.6339, allocations: 26.92 kB / 0.5804 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6339, allocations: 1.375 kB / 0.5804 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6339, allocations: 4 kB / 0.5804 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6339, allocations: 1.375 kB / 0.5804 GB, free: 37.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.634, allocations: 219.5 kB / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.634, allocations: 0 / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.6341, allocations: 3.688 kB / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6341, allocations: 0.9375 kB / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.6341, allocations: 0.9062 kB / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6341, allocations: 0 / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6341, allocations: 0.9375 kB / 0.5806 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.6343, allocations: 129.6 kB / 0.5807 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.6343, allocations: 104.2 kB / 0.5808 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.6344, allocations: 1.875 kB / 0.5808 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.6344, allocations: 5.828 kB / 0.5808 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.6344, allocations: 2.75 kB / 0.5808 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.6345, allocations: 5.781 kB / 0.5808 GB, free: 37.09 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001841/0.6347, allocations: 207.1 kB / 0.581 GB, free: 36.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6347, allocations: 0 / 0.581 GB, free: 36.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002196/0.6349, allocations: 22.73 kB / 0.5811 GB, free: 36.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008397/0.6357, allocations: 394.9 kB / 0.5814 GB, free: 36.76 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.6359, allocations: 42.98 kB / 0.5815 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6359, allocations: 3.938 kB / 0.5815 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.99e-05/0.636, allocations: 23.97 kB / 0.5815 GB, free: 36.73 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.6362, allocations: 48.31 kB / 0.5816 GB, free: 36.69 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.6368, allocations: 343.3 kB / 0.5819 GB, free: 36.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.6369, allocations: 0.7348 MB / 0.5826 GB, free: 35.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.6371, allocations: 41.41 kB / 0.5826 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.6371, allocations: 29.23 kB / 0.5827 GB, free: 35.69 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.6371, allocations: 0 / 0.5827 GB, free: 35.69 MB / 462.3 MB Notification: Performance of Templates: time 0.004358/0.6415, allocations: 1.611 MB / 0.5842 GB, free: 34.89 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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