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.0009902/0.0009902, allocations: 92.23 kB / 16.65 MB, free: 6.59 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.00106/0.00106, allocations: 187.3 kB / 17.57 MB, free: 6.195 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.098/1.098, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7055/0.7055, allocations: 120.5 MB / 413.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002374, allocations: 7.938 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3797, allocations: 82.84 MB / 0.5758 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001164/0.3809, allocations: 1.273 MB / 0.577 GB, free: 40.98 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008666/0.3818, allocations: 0.8607 MB / 0.5779 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3818, allocations: 0 / 0.5779 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.382, allocations: 64.55 kB / 0.5779 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.3823, allocations: 88.78 kB / 0.578 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.3825, allocations: 94.52 kB / 0.5781 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3826, allocations: 122.1 kB / 0.5782 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.3826, allocations: 8.953 kB / 0.5782 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.3827, allocations: 58.52 kB / 0.5783 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.3828, allocations: 63.38 kB / 0.5783 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3828, allocations: 1.938 kB / 0.5784 GB, free: 40.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-05/0.3829, allocations: 30.45 kB / 0.5784 GB, free: 40 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.024e-05/0.383, allocations: 72.89 kB / 0.5784 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.3831, allocations: 76.73 kB / 0.5785 GB, free: 39.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3832, allocations: 153.5 kB / 0.5787 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3832, allocations: 4 kB / 0.5787 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3832, allocations: 1.531 kB / 0.5787 GB, free: 39.79 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.3832, allocations: 0 / 0.5787 GB, free: 39.79 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.0003578/0.3836, allocations: 464.6 kB / 0.5791 GB, free: 39.33 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.3836, allocations: 9.406 kB / 0.5791 GB, free: 39.33 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3837, allocations: 22.34 kB / 0.5791 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3839, allocations: 335.8 kB / 0.5795 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.384, allocations: 1.844 kB / 0.5795 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.384, allocations: 10.78 kB / 0.5795 GB, free: 39.01 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.3841, allocations: 47.23 kB / 0.5795 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.3841, allocations: 0 / 0.5795 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.3841, allocations: 0 / 0.5795 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3841, allocations: 1.312 kB / 0.5795 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.44e-05/0.3842, allocations: 16.11 kB / 0.5795 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.3843, allocations: 203.8 kB / 0.5797 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3844, allocations: 61.73 kB / 0.5798 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.3845, allocations: 21.05 kB / 0.5798 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.3845, allocations: 5.359 kB / 0.5798 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.3846, allocations: 65.08 kB / 0.5799 GB, free: 38.6 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3846, allocations: 0 / 0.5799 GB, free: 38.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002073/0.3848, allocations: 108.1 kB / 0.58 GB, free: 38.53 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.3849, allocations: 59.41 kB / 0.58 GB, free: 38.46 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3851, allocations: 279.4 kB / 0.5803 GB, free: 38.28 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.3851, allocations: 26.61 kB / 0.5803 GB, free: 38.25 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3851, allocations: 138.3 kB / 0.5805 GB, free: 38.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.3851, allocations: 10.62 kB / 0.5805 GB, free: 38.11 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.3852, allocations: 15.56 kB / 0.5805 GB, free: 38.09 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.3852, allocations: 334.2 kB / 0.5808 GB, free: 37.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.3853, allocations: 15.36 kB / 0.5808 GB, free: 37.76 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.13e-05/0.3853, allocations: 31.86 kB / 0.5809 GB, free: 37.73 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.694e-05/0.3854, allocations: 51.2 kB / 0.5809 GB, free: 37.69 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3854, allocations: 0 / 0.5809 GB, free: 37.69 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.3855, allocations: 91.5 kB / 0.581 GB, free: 37.63 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3856, allocations: 8.031 kB / 0.581 GB, free: 37.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3856, allocations: 1.094 kB / 0.581 GB, free: 37.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.3856, allocations: 4.938 kB / 0.581 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.3856, allocations: 17.14 kB / 0.581 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3856, allocations: 4.922 kB / 0.581 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.3857, allocations: 6.75 kB / 0.581 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3857, allocations: 1.844 kB / 0.581 GB, free: 37.61 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 7.8e-05/0.3858, allocations: 143 kB / 0.5812 GB, free: 37.48 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.3858, allocations: 21.88 kB / 0.5812 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.3859, allocations: 31.44 kB / 0.5812 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3859, allocations: 0.9062 kB / 0.5812 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.3859, allocations: 4.938 kB / 0.5812 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3859, allocations: 0 / 0.5812 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.386, allocations: 216.9 kB / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.386, allocations: 0 / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.386, allocations: 3.219 kB / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.386, allocations: 0.9062 kB / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.386, allocations: 4.922 kB / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.386, allocations: 0.9062 kB / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.386, allocations: 0 / 0.5814 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.3862, allocations: 126.7 kB / 0.5816 GB, free: 37.1 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.3862, allocations: 108.2 kB / 0.5817 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3863, allocations: 8.891 kB / 0.5817 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.3863, allocations: 2.781 kB / 0.5817 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.3863, allocations: 1.844 kB / 0.5817 GB, free: 36.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3863, allocations: 2.75 kB / 0.5817 GB, free: 36.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3865, allocations: 204.1 kB / 0.5819 GB, free: 36.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3865, allocations: 3.938 kB / 0.5819 GB, free: 36.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001893/0.3867, allocations: 35.61 kB / 0.5819 GB, free: 36.82 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.0006913/0.3874, allocations: 391.4 kB / 0.5823 GB, free: 36.63 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3875, allocations: 47.02 kB / 0.5823 GB, free: 36.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3875, allocations: 0 / 0.5823 GB, free: 36.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.3876, allocations: 20.17 kB / 0.5824 GB, free: 36.6 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3878, allocations: 39.8 kB / 0.5824 GB, free: 36.58 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.3882, allocations: 365.9 kB / 0.5827 GB, free: 36.31 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3883, allocations: 0.7319 MB / 0.5835 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.463e-05/0.3884, allocations: 43.52 kB / 0.5835 GB, free: 35.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.3884, allocations: 29.45 kB / 0.5835 GB, free: 35.55 MB / 462.3 MB Notification: Performance of SimCode: time 6.11e-07/0.3885, allocations: 0 / 0.5835 GB, free: 35.55 MB / 462.3 MB Notification: Performance of Templates: time 0.003388/0.3918, allocations: 1.638 MB / 0.5851 GB, free: 34.74 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/jenkins/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