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.00124/0.001239, allocations: 109 kB / 17.06 MB, free: 5.824 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.001331/0.001331, allocations: 191.8 kB / 18 MB, free: 4.977 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.632/1.632, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.254/1.254, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 61.44 kB / 0.5709 GB, free: 39.98 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2107, allocations: 80.71 MB / 0.6497 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003774/0.2145, allocations: 1.38 MB / 0.651 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2159, allocations: 0.5753 MB / 0.6516 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/0.216, allocations: 3.938 kB / 0.6516 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.2162, allocations: 19.92 kB / 0.6516 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.2166, allocations: 51.88 kB / 0.6517 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.217, allocations: 83.77 kB / 0.6518 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.2172, allocations: 99.75 kB / 0.6519 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.2173, allocations: 4 kB / 0.6519 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.2174, allocations: 47.83 kB / 0.6519 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.2176, allocations: 43.89 kB / 0.6519 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.2177, allocations: 4 kB / 0.652 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.2178, allocations: 79.86 kB / 0.652 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.218, allocations: 63.81 kB / 0.6521 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.2181, allocations: 47.61 kB / 0.6521 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.2184, allocations: 151.5 kB / 0.6523 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.2184, allocations: 3.984 kB / 0.6523 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2184, allocations: 0 / 0.6523 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.2184, allocations: 3.938 kB / 0.6523 GB, free: 10.54 MB / 0.4983 GB 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.0006923/0.2191, allocations: 484.1 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2192, allocations: 8.031 kB / 0.6528 GB, free: 10 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.2192, allocations: 16.75 kB / 0.6528 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.2198, allocations: 308.7 kB / 0.6531 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2198, allocations: 4.312 kB / 0.6531 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2199, allocations: 4.375 kB / 0.6531 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.22, allocations: 57.98 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.22, allocations: 0 / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2201, allocations: 3.984 kB / 0.6531 GB, free: 9.566 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2201, allocations: 8 kB / 0.6531 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.2201, allocations: 19.98 kB / 0.6532 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.2204, allocations: 193.6 kB / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.2205, allocations: 46.5 kB / 0.6534 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.2206, allocations: 28.86 kB / 0.6534 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.2206, allocations: 4.031 kB / 0.6534 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.2208, allocations: 109 kB / 0.6535 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.2208, allocations: 0 / 0.6535 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003753/0.2212, allocations: 171.2 kB / 0.6537 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.2212, allocations: 85.05 kB / 0.6538 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.2215, allocations: 228.2 kB / 0.654 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2215, allocations: 25.7 kB / 0.654 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.2216, allocations: 124.1 kB / 0.6541 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.2216, allocations: 11.81 kB / 0.6541 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.2217, allocations: 25.72 kB / 0.6542 GB, free: 8.371 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2219, allocations: 338.8 kB / 0.6545 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.2219, allocations: 16 kB / 0.6545 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.479e-05/0.2219, allocations: 19.98 kB / 0.6545 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.2221, allocations: 100.3 kB / 0.6546 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2221, allocations: 4.078 kB / 0.6546 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000216/0.2223, allocations: 158.9 kB / 0.6548 GB, free: 7.711 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/0.2224, allocations: 33.7 kB / 0.6548 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2224, allocations: 3.984 kB / 0.6548 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2224, allocations: 4 kB / 0.6548 GB, free: 7.664 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.2225, allocations: 4 kB / 0.6548 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2225, allocations: 4 kB / 0.6548 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.2226, allocations: 4 kB / 0.6548 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2226, allocations: 8 kB / 0.6548 GB, free: 7.645 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.2228, allocations: 176.9 kB / 0.655 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2228, allocations: 19.75 kB / 0.655 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.2229, allocations: 21.39 kB / 0.655 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2229, allocations: 0 / 0.655 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2229, allocations: 7.938 kB / 0.655 GB, free: 7.406 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2229, allocations: 0 / 0.655 GB, free: 7.406 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2231, allocations: 217.5 kB / 0.6553 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2231, allocations: 0 / 0.6553 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.2231, allocations: 7.938 kB / 0.6553 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2231, allocations: 0 / 0.6553 GB, free: 7.137 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.2231, allocations: 4 kB / 0.6553 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2231, allocations: 3.984 kB / 0.6553 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2232, allocations: 0 / 0.6553 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2234, allocations: 202.6 kB / 0.6555 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.2235, allocations: 100.8 kB / 0.6556 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2236, allocations: 4 kB / 0.6556 GB, free: 6.785 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.2236, allocations: 4 kB / 0.6556 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.2236, allocations: 7.938 kB / 0.6556 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2237, allocations: 7.984 kB / 0.6556 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001515/0.2238, allocations: 173.6 kB / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.633e-06/0.2238, allocations: 0 / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002423/0.2241, allocations: 35.94 kB / 0.6558 GB, free: 6.562 MB / 0.4983 GB 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 (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.0002003/0.2243, allocations: 131 kB / 0.6559 GB, free: 6.43 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.2245, allocations: 143.4 kB / 0.656 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.2245, allocations: 4 kB / 0.656 GB, free: 6.273 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2246, allocations: 107.7 kB / 0.6561 GB, free: 6.156 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.2249, allocations: 16.67 kB / 0.6562 GB, free: 6.137 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.2254, allocations: 299.5 kB / 0.6565 GB, free: 5.82 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2257, allocations: 0.7317 MB / 0.6572 GB, free: 5.062 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.32e-05/0.2258, allocations: 25.41 kB / 0.6572 GB, free: 5.035 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.2258, allocations: 11.44 kB / 0.6572 GB, free: 5.027 MB / 0.4983 GB Notification: Performance of SimCode: time 2.31e-07/0.2258, allocations: 0 / 0.6572 GB, free: 5.027 MB / 0.4983 GB Notification: Performance of Templates: time 0.005879/0.2317, allocations: 1.369 MB / 0.6585 GB, free: 3.66 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches