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.001355/0.001355, allocations: 112.4 kB / 17.07 MB, free: 6.016 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.001294/0.001294, allocations: 190.1 kB / 18 MB, free: 5.098 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.52/1.52, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.223/1.223, allocations: 119.3 MB / 411.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 62.59 kB / 0.5709 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.2, allocations: 80.69 MB / 0.6497 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003981/0.204, allocations: 1.392 MB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2054, allocations: 0.5675 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.2055, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.2057, allocations: 15.92 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.2061, allocations: 67.78 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.2066, allocations: 83.67 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.2068, allocations: 91.75 kB / 0.6519 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.2068, allocations: 4 kB / 0.6519 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.207, allocations: 51.81 kB / 0.6519 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.2072, allocations: 43.91 kB / 0.652 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.2073, allocations: 4 kB / 0.652 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.2075, allocations: 83.86 kB / 0.652 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2076, allocations: 59.81 kB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2078, allocations: 55.59 kB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.2081, allocations: 147.3 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2081, allocations: 0 / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2081, allocations: 0 / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.2081, allocations: 0 / 0.6523 GB, free: 10.43 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.0008843/0.209, allocations: 496 kB / 0.6528 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.2091, allocations: 11.89 kB / 0.6528 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.2091, allocations: 20.83 kB / 0.6528 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.2098, allocations: 309 kB / 0.6531 GB, free: 9.52 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2099, allocations: 4.359 kB / 0.6531 GB, free: 9.516 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.2099, allocations: 4.375 kB / 0.6531 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.21, allocations: 53.94 kB / 0.6531 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2101, allocations: 0 / 0.6531 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2101, allocations: 4 kB / 0.6532 GB, free: 9.449 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2101, allocations: 8 kB / 0.6532 GB, free: 9.441 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.2102, allocations: 23.98 kB / 0.6532 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.2105, allocations: 201.5 kB / 0.6534 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.2106, allocations: 38.58 kB / 0.6534 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.2107, allocations: 40.83 kB / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2107, allocations: 0 / 0.6534 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.2109, allocations: 101 kB / 0.6535 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2109, allocations: 0 / 0.6535 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003961/0.2113, allocations: 171.4 kB / 0.6537 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.2114, allocations: 81.11 kB / 0.6538 GB, free: 8.688 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.2117, allocations: 240.1 kB / 0.654 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2117, allocations: 25.7 kB / 0.654 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.2118, allocations: 116.1 kB / 0.6542 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.2119, allocations: 15.91 kB / 0.6542 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.2119, allocations: 33.64 kB / 0.6542 GB, free: 8.238 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2121, allocations: 330.8 kB / 0.6545 GB, free: 7.906 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.2122, allocations: 15.98 kB / 0.6545 GB, free: 7.891 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.2122, allocations: 20 kB / 0.6545 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2123, allocations: 100.2 kB / 0.6546 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2124, allocations: 0 / 0.6546 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002242/0.2126, allocations: 155.1 kB / 0.6548 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.2126, allocations: 37.69 kB / 0.6548 GB, free: 7.551 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2127, allocations: 4 kB / 0.6548 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2127, allocations: 4 kB / 0.6548 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.2128, allocations: 4 kB / 0.6548 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2128, allocations: 0 / 0.6548 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.2129, allocations: 4.094 kB / 0.6548 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.2129, allocations: 7.938 kB / 0.6548 GB, free: 7.527 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.0001835/0.2131, allocations: 180.9 kB / 0.655 GB, free: 7.336 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.2131, allocations: 23.8 kB / 0.655 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.2132, allocations: 17.41 kB / 0.6551 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2132, allocations: 0 / 0.6551 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2132, allocations: 4 kB / 0.6551 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2132, allocations: 3.984 kB / 0.6551 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2134, allocations: 209.6 kB / 0.6553 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2135, allocations: 3.984 kB / 0.6553 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.514e-05/0.2135, allocations: 11.88 kB / 0.6553 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2135, allocations: 0 / 0.6553 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.2135, allocations: 11.98 kB / 0.6553 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2135, allocations: 0 / 0.6553 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2135, allocations: 0 / 0.6553 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.2138, allocations: 190.9 kB / 0.6555 GB, free: 6.793 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.214, allocations: 112.9 kB / 0.6556 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.214, allocations: 4 kB / 0.6556 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.2141, allocations: 7.938 kB / 0.6556 GB, free: 6.652 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.2141, allocations: 7.984 kB / 0.6556 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.2142, allocations: 12 kB / 0.6556 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.000199/0.2144, allocations: 177.6 kB / 0.6558 GB, free: 6.461 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2144, allocations: 0 / 0.6558 GB, free: 6.461 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002649/0.2147, allocations: 31.94 kB / 0.6558 GB, free: 6.43 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.0002289/0.2149, allocations: 131.1 kB / 0.6559 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.2152, allocations: 135.4 kB / 0.6561 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2152, allocations: 0 / 0.6561 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2153, allocations: 111.4 kB / 0.6562 GB, free: 6.027 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.2156, allocations: 16.66 kB / 0.6562 GB, free: 6.008 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.2162, allocations: 303.1 kB / 0.6565 GB, free: 5.688 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.2166, allocations: 0.7316 MB / 0.6572 GB, free: 4.93 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 8.712e-05/0.2167, allocations: 29.58 kB / 0.6572 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.2168, allocations: 11.44 kB / 0.6572 GB, free: 4.891 MB / 0.4983 GB Notification: Performance of SimCode: time 3.51e-07/0.2168, allocations: 0 / 0.6572 GB, free: 4.891 MB / 0.4983 GB Notification: Performance of Templates: time 0.005531/0.2223, allocations: 1.368 MB / 0.6586 GB, free: 3.531 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches