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.001024/0.001024, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001423/0.001423, allocations: 179.5 kB / 18.21 MB, free: 5.68 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.468/1.468, allocations: 223.3 MB / 242.3 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.104/1.104, allocations: 120.5 MB / 413.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 15.94 kB / 0.4955 GB, free: 11.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.675, allocations: 82.83 MB / 0.5764 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001715/0.6768, allocations: 1.264 MB / 0.5777 GB, free: 40.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.678, allocations: 0.8641 MB / 0.5785 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.654e-05/0.6781, allocations: 1.375 kB / 0.5785 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.6784, allocations: 64.55 kB / 0.5786 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.6787, allocations: 92.78 kB / 0.5787 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.6789, allocations: 91.39 kB / 0.5788 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.6791, allocations: 118.5 kB / 0.5789 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.6791, allocations: 11.91 kB / 0.5789 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.6793, allocations: 57.91 kB / 0.5789 GB, free: 40 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.6794, allocations: 54.91 kB / 0.579 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.6794, allocations: 2.906 kB / 0.579 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/0.6795, allocations: 38.48 kB / 0.579 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.6796, allocations: 68.02 kB / 0.5791 GB, free: 39.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.6797, allocations: 81.19 kB / 0.5792 GB, free: 39.85 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.6799, allocations: 110 kB / 0.5793 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6799, allocations: 0 / 0.5793 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6799, allocations: 1.062 kB / 0.5793 GB, free: 39.79 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.6799, allocations: 0 / 0.5793 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.00051/0.6804, allocations: 472.8 kB / 0.5797 GB, free: 39.32 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.6805, allocations: 9.812 kB / 0.5797 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.6805, allocations: 21.06 kB / 0.5798 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.6809, allocations: 333 kB / 0.5801 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6809, allocations: 2 kB / 0.5801 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.6809, allocations: 9.469 kB / 0.5801 GB, free: 39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.681, allocations: 47.95 kB / 0.5801 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.681, allocations: 3.938 kB / 0.5801 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.6811, allocations: 0 / 0.5801 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.6811, allocations: 5.156 kB / 0.5801 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.6811, allocations: 11.59 kB / 0.5801 GB, free: 38.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.6813, allocations: 216.4 kB / 0.5804 GB, free: 38.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.6815, allocations: 55.05 kB / 0.5804 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.6815, allocations: 21.05 kB / 0.5804 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.6816, allocations: 0 / 0.5804 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.6817, allocations: 69.14 kB / 0.5805 GB, free: 38.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.6817, allocations: 0 / 0.5805 GB, free: 38.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002616/0.682, allocations: 111.9 kB / 0.5806 GB, free: 38.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.682, allocations: 52.78 kB / 0.5807 GB, free: 38.45 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.6823, allocations: 279.1 kB / 0.5809 GB, free: 38.27 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.6823, allocations: 25.7 kB / 0.5809 GB, free: 38.23 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.6824, allocations: 142.7 kB / 0.5811 GB, free: 38.1 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.6824, allocations: 10.69 kB / 0.5811 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.6824, allocations: 11.56 kB / 0.5811 GB, free: 38.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.6825, allocations: 333.3 kB / 0.5814 GB, free: 37.75 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.6826, allocations: 12.28 kB / 0.5814 GB, free: 37.75 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.6826, allocations: 30.92 kB / 0.5815 GB, free: 37.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.6827, allocations: 52.11 kB / 0.5815 GB, free: 37.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6827, allocations: 0 / 0.5815 GB, free: 37.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001509/0.6829, allocations: 91.72 kB / 0.5816 GB, free: 37.62 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6829, allocations: 5.531 kB / 0.5816 GB, free: 37.62 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6829, allocations: 4.984 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6829, allocations: 4.906 kB / 0.5816 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.683, allocations: 16.23 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.683, allocations: 0.9062 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.6831, allocations: 3.688 kB / 0.5816 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.6831, allocations: 1.906 kB / 0.5816 GB, free: 37.6 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.0001024/0.6832, allocations: 150.9 kB / 0.5818 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.6832, allocations: 21.88 kB / 0.5818 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.6833, allocations: 23.45 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6833, allocations: 0.9375 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6833, allocations: 0.9062 kB / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6833, allocations: 0 / 0.5818 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.6834, allocations: 220 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6835, allocations: 0.9375 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.6835, allocations: 2.75 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6835, allocations: 8.875 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.6835, allocations: 0.9062 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6835, allocations: 0.9375 kB / 0.582 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6835, allocations: 7.875 kB / 0.5821 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.6837, allocations: 118.5 kB / 0.5822 GB, free: 37.09 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.6838, allocations: 108.1 kB / 0.5823 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.6838, allocations: 0.9062 kB / 0.5823 GB, free: 36.97 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.6838, allocations: 10.77 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.6839, allocations: 5.844 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6839, allocations: 2.75 kB / 0.5823 GB, free: 36.96 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001817/0.6841, allocations: 204.1 kB / 0.5825 GB, free: 36.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6841, allocations: 0.9375 kB / 0.5825 GB, free: 36.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002174/0.6843, allocations: 18.73 kB / 0.5825 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.0008826/0.6852, allocations: 412.8 kB / 0.5829 GB, free: 36.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.6854, allocations: 44.02 kB / 0.5829 GB, free: 36.6 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6854, allocations: 0 / 0.5829 GB, free: 36.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.6854, allocations: 16.09 kB / 0.583 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.000306/0.6857, allocations: 49.88 kB / 0.583 GB, free: 36.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.6863, allocations: 409.6 kB / 0.5834 GB, free: 36.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.6865, allocations: 0.7301 MB / 0.5841 GB, free: 35.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.6866, allocations: 29.23 kB / 0.5841 GB, free: 35.52 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.6866, allocations: 0.9375 kB / 0.5841 GB, free: 35.52 MB / 462.3 MB Notification: Performance of Templates: time 0.004468/0.6911, allocations: 2.52 MB / 0.5866 GB, free: 34.24 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