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.0009846/0.0009846, allocations: 90.67 kB / 16.65 MB, free: 6.586 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.001267/0.001267, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.446/1.446, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.173/1.173, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8.281 kB / 0.4949 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6428/0.6432, allocations: 82.85 MB / 0.5758 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001659/0.6449, allocations: 1.273 MB / 0.577 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.6461, allocations: 0.8598 MB / 0.5779 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.6462, allocations: 1.375 kB / 0.5779 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.6465, allocations: 60.55 kB / 0.5779 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.6467, allocations: 92.72 kB / 0.578 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.647, allocations: 88.45 kB / 0.5781 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.6471, allocations: 125.7 kB / 0.5782 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.6472, allocations: 8.156 kB / 0.5782 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.6473, allocations: 59.39 kB / 0.5783 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.6474, allocations: 53.7 kB / 0.5783 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.6475, allocations: 2.938 kB / 0.5783 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.6475, allocations: 40.03 kB / 0.5784 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.6477, allocations: 71.33 kB / 0.5784 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.6477, allocations: 81.34 kB / 0.5785 GB, free: 40 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.6479, allocations: 149 kB / 0.5787 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6479, allocations: 1.094 kB / 0.5787 GB, free: 39.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6479, allocations: 0 / 0.5787 GB, free: 39.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.648, allocations: 0 / 0.5787 GB, free: 39.9 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.000445/0.6484, allocations: 465.5 kB / 0.5791 GB, free: 39.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6484, allocations: 10.38 kB / 0.5791 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.6485, allocations: 18.28 kB / 0.5791 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.6489, allocations: 340.8 kB / 0.5795 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6489, allocations: 2.094 kB / 0.5795 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.6489, allocations: 5.5 kB / 0.5795 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.649, allocations: 57.97 kB / 0.5795 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6491, allocations: 1.219 kB / 0.5795 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6491, allocations: 3.938 kB / 0.5795 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6491, allocations: 1.594 kB / 0.5795 GB, free: 39.06 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.6491, allocations: 15.77 kB / 0.5795 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.6493, allocations: 210.8 kB / 0.5797 GB, free: 38.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.6495, allocations: 47.81 kB / 0.5798 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.6495, allocations: 29.03 kB / 0.5798 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.6495, allocations: 0 / 0.5798 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.6497, allocations: 69.08 kB / 0.5799 GB, free: 38.7 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.6497, allocations: 4 kB / 0.5799 GB, free: 38.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002602/0.65, allocations: 104 kB / 0.58 GB, free: 38.63 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.65, allocations: 52.78 kB / 0.58 GB, free: 38.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.6503, allocations: 283.1 kB / 0.5803 GB, free: 38.38 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.6503, allocations: 25.7 kB / 0.5803 GB, free: 38.35 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.6503, allocations: 135.1 kB / 0.5805 GB, free: 38.23 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.6504, allocations: 10.66 kB / 0.5805 GB, free: 38.22 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.6504, allocations: 15.08 kB / 0.5805 GB, free: 38.2 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.6505, allocations: 337.6 kB / 0.5808 GB, free: 37.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.6505, allocations: 16.23 kB / 0.5808 GB, free: 37.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.6506, allocations: 31.33 kB / 0.5809 GB, free: 37.83 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.6507, allocations: 39.59 kB / 0.5809 GB, free: 37.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6507, allocations: 3.938 kB / 0.5809 GB, free: 37.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001445/0.6508, allocations: 99.27 kB / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6508, allocations: 9.594 kB / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6509, allocations: 0 / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6509, allocations: 1.812 kB / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.6509, allocations: 8.312 kB / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.651, allocations: 0.9375 kB / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.651, allocations: 3.688 kB / 0.581 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.651, allocations: 1.844 kB / 0.581 GB, free: 37.73 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 9.831e-05/0.6511, allocations: 153.5 kB / 0.5812 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.6512, allocations: 25.84 kB / 0.5812 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.6512, allocations: 23.45 kB / 0.5812 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6512, allocations: 0.9375 kB / 0.5812 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6512, allocations: 0.9062 kB / 0.5812 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6512, allocations: 0 / 0.5812 GB, free: 37.56 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.6514, allocations: 216 kB / 0.5814 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6514, allocations: 1.25 kB / 0.5814 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.6514, allocations: 6.734 kB / 0.5814 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.6514, allocations: 0.9375 kB / 0.5814 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.6514, allocations: 8.938 kB / 0.5814 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6514, allocations: 0.9062 kB / 0.5814 GB, free: 37.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6514, allocations: 4 kB / 0.5814 GB, free: 37.31 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.6516, allocations: 122.5 kB / 0.5816 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.6517, allocations: 104.2 kB / 0.5817 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.6517, allocations: 0.9062 kB / 0.5817 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.6517, allocations: 2.781 kB / 0.5817 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.6518, allocations: 5.75 kB / 0.5817 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.6518, allocations: 10.77 kB / 0.5817 GB, free: 37.09 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001778/0.652, allocations: 208.6 kB / 0.5819 GB, free: 36.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.652, allocations: 0 / 0.5819 GB, free: 36.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000213/0.6522, allocations: 19.69 kB / 0.5819 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 (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.0008643/0.6531, allocations: 420.7 kB / 0.5823 GB, free: 36.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.6532, allocations: 35.05 kB / 0.5823 GB, free: 36.72 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6533, allocations: 0.9375 kB / 0.5823 GB, free: 36.72 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.6533, allocations: 23.05 kB / 0.5824 GB, free: 36.71 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.6536, allocations: 41.31 kB / 0.5824 GB, free: 36.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.6542, allocations: 357.7 kB / 0.5827 GB, free: 36.43 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.6544, allocations: 0.7427 MB / 0.5835 GB, free: 35.7 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.6545, allocations: 33.8 kB / 0.5835 GB, free: 35.68 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.6546, allocations: 29.27 kB / 0.5835 GB, free: 35.67 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.6546, allocations: 0 / 0.5835 GB, free: 35.67 MB / 462.3 MB Notification: Performance of Templates: time 0.004555/0.6591, allocations: 1.631 MB / 0.5851 GB, free: 34.86 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 -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/jenkins/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