Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 90.81 kB / 16.31 MB, free: 5.531 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.001091/0.001091, allocations: 184.4 kB / 17.21 MB, free: 5.465 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.636/1.636, allocations: 223.2 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.145/1.145, allocations: 120.5 MB / 412.8 MB, free: 9.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 4 kB / 0.4943 GB, free: 11.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6438, allocations: 82.83 MB / 0.5751 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001349/0.6452, allocations: 1.102 MB / 0.5762 GB, free: 40.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008099/0.6461, allocations: 0.5285 MB / 0.5767 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.6461, allocations: 0 / 0.5767 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.6463, allocations: 19.86 kB / 0.5768 GB, free: 40.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.6466, allocations: 61.23 kB / 0.5768 GB, free: 40.03 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.6468, allocations: 60.17 kB / 0.5769 GB, free: 39.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.6469, allocations: 72.88 kB / 0.5769 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.647, allocations: 6.094 kB / 0.5769 GB, free: 39.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.6471, allocations: 42.17 kB / 0.577 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.6472, allocations: 50.89 kB / 0.577 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.6472, allocations: 2.375 kB / 0.577 GB, free: 39.9 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.6474, allocations: 67.59 kB / 0.5771 GB, free: 39.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.6475, allocations: 60.92 kB / 0.5772 GB, free: 39.84 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.6475, allocations: 44.3 kB / 0.5772 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.6477, allocations: 104.8 kB / 0.5773 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6477, allocations: 0 / 0.5773 GB, free: 39.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6477, allocations: 0 / 0.5773 GB, free: 39.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.6477, allocations: 4 kB / 0.5773 GB, free: 39.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004276/0.6482, allocations: 463 kB / 0.5777 GB, free: 39.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.6482, allocations: 8.219 kB / 0.5778 GB, free: 39.26 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.6483, allocations: 15.75 kB / 0.5778 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.6486, allocations: 314.5 kB / 0.5781 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.6487, allocations: 1.438 kB / 0.5781 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.6487, allocations: 2.625 kB / 0.5781 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.6488, allocations: 54.45 kB / 0.5781 GB, free: 38.92 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.6488, allocations: 4 kB / 0.5781 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6488, allocations: 1.812 kB / 0.5781 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6488, allocations: 3.953 kB / 0.5781 GB, free: 38.91 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.541e-05/0.6489, allocations: 21.34 kB / 0.5782 GB, free: 38.9 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.6491, allocations: 197.1 kB / 0.5783 GB, free: 38.68 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.6492, allocations: 41.47 kB / 0.5784 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.6492, allocations: 29.83 kB / 0.5784 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.6492, allocations: 4 kB / 0.5784 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.6494, allocations: 102.5 kB / 0.5785 GB, free: 38.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.6494, allocations: 0 / 0.5785 GB, free: 38.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003082/0.6497, allocations: 161.2 kB / 0.5787 GB, free: 38.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.6498, allocations: 83.53 kB / 0.5787 GB, free: 38.31 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.65, allocations: 228.6 kB / 0.579 GB, free: 38.16 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.65, allocations: 30.84 kB / 0.579 GB, free: 38.12 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.6501, allocations: 116.8 kB / 0.5791 GB, free: 38.02 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.6501, allocations: 31.2 kB / 0.5791 GB, free: 37.99 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.6501, allocations: 1.562 kB / 0.5791 GB, free: 37.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.6502, allocations: 327.8 kB / 0.5794 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.6502, allocations: 17.86 kB / 0.5795 GB, free: 37.66 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.6502, allocations: 21.28 kB / 0.5795 GB, free: 37.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.6503, allocations: 53.53 kB / 0.5795 GB, free: 37.6 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6503, allocations: 0 / 0.5795 GB, free: 37.6 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001638/0.6505, allocations: 140.5 kB / 0.5797 GB, free: 37.5 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.6505, allocations: 40.59 kB / 0.5797 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6505, allocations: 5.281 kB / 0.5797 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.6505, allocations: 7.938 kB / 0.5797 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.6506, allocations: 8.562 kB / 0.5797 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.6506, allocations: 3.953 kB / 0.5797 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.6507, allocations: 8.469 kB / 0.5797 GB, free: 37.44 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.6507, allocations: 5.281 kB / 0.5797 GB, free: 37.44 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001198/0.6508, allocations: 175.9 kB / 0.5799 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.6509, allocations: 17.47 kB / 0.5799 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.6509, allocations: 25.77 kB / 0.58 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.6509, allocations: 144 / 0.58 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6509, allocations: 0 / 0.58 GB, free: 37.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6509, allocations: 9.375 kB / 0.58 GB, free: 37.24 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.6511, allocations: 206.3 kB / 0.5802 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6511, allocations: 0 / 0.5802 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.6511, allocations: 3.594 kB / 0.5802 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6511, allocations: 0 / 0.5802 GB, free: 37.02 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.6511, allocations: 11.58 kB / 0.5802 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6511, allocations: 1.75 kB / 0.5802 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6511, allocations: 0 / 0.5802 GB, free: 37.01 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.6514, allocations: 204.2 kB / 0.5804 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.6514, allocations: 101.2 kB / 0.5805 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.6515, allocations: 4.125 kB / 0.5805 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.6515, allocations: 2.75 kB / 0.5805 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.6515, allocations: 1.375 kB / 0.5805 GB, free: 36.75 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.6516, allocations: 14.86 kB / 0.5805 GB, free: 36.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001228/0.6517, allocations: 172.7 kB / 0.5807 GB, free: 36.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6517, allocations: 5.375 kB / 0.5807 GB, free: 36.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002222/0.6519, allocations: 30.25 kB / 0.5807 GB, free: 36.62 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001503/0.6521, allocations: 122.8 kB / 0.5808 GB, free: 36.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.6523, allocations: 142 kB / 0.5809 GB, free: 36.41 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6523, allocations: 3.938 kB / 0.5809 GB, free: 36.41 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.6524, allocations: 114.8 kB / 0.5811 GB, free: 36.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.6526, allocations: 20.81 kB / 0.5811 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.653, allocations: 316.5 kB / 0.5814 GB, free: 36.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.6532, allocations: 0.7239 MB / 0.5821 GB, free: 35.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.6533, allocations: 23.39 kB / 0.5821 GB, free: 35.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.6533, allocations: 14.09 kB / 0.5821 GB, free: 35.33 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.6533, allocations: 0 / 0.5821 GB, free: 35.33 MB / 462.3 MB Notification: Performance of Templates: time 0.004285/0.6576, allocations: 1.278 MB / 0.5834 GB, free: 34.69 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches