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.001332/0.001332, allocations: 112.8 kB / 17.07 MB, free: 5.992 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.001657/0.001657, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.528/1.528, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.391/1.391, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.47 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2169, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003747/0.2208, allocations: 1.388 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2222, allocations: 0.5753 MB / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.2223, allocations: 0 / 0.6516 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.2225, allocations: 11.92 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.2229, allocations: 67.8 kB / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.2232, allocations: 79.78 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.2235, allocations: 99.73 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.2235, allocations: 4 kB / 0.6519 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.2237, allocations: 43.89 kB / 0.6519 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.2238, allocations: 47.83 kB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2239, allocations: 8 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.224, allocations: 79.92 kB / 0.652 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.2242, allocations: 59.81 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.2243, allocations: 51.61 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.2245, allocations: 151.3 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2246, allocations: 0 / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2246, allocations: 0 / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.2246, allocations: 0 / 0.6523 GB, free: 10.4 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.0007856/0.2254, allocations: 488 kB / 0.6528 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.2254, allocations: 15.89 kB / 0.6528 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.2255, allocations: 24.78 kB / 0.6528 GB, free: 9.828 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/0.2262, allocations: 308.9 kB / 0.6531 GB, free: 9.484 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2262, allocations: 4.375 kB / 0.6531 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2263, allocations: 384 / 0.6531 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.2264, allocations: 61.98 kB / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2265, allocations: 0 / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2265, allocations: 0 / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2265, allocations: 0 / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.2266, allocations: 23.98 kB / 0.6532 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.2269, allocations: 209.5 kB / 0.6534 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.2269, allocations: 34.58 kB / 0.6534 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.227, allocations: 36.89 kB / 0.6534 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.227, allocations: 0 / 0.6534 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.2272, allocations: 101 kB / 0.6535 GB, free: 8.938 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 3.707e-06/0.2272, allocations: 4 kB / 0.6535 GB, free: 8.934 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003487/0.2276, allocations: 171.3 kB / 0.6537 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2277, allocations: 85.11 kB / 0.6538 GB, free: 8.652 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.2279, allocations: 228.2 kB / 0.654 GB, free: 8.418 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2279, allocations: 29.7 kB / 0.654 GB, free: 8.383 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.228, allocations: 120.1 kB / 0.6541 GB, free: 8.262 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.2281, allocations: 15.84 kB / 0.6542 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.2281, allocations: 25.7 kB / 0.6542 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2283, allocations: 334.8 kB / 0.6545 GB, free: 7.879 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.2283, allocations: 12 kB / 0.6545 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.2284, allocations: 19.98 kB / 0.6545 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2285, allocations: 112.2 kB / 0.6546 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2285, allocations: 0 / 0.6546 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002053/0.2287, allocations: 151.2 kB / 0.6548 GB, free: 7.562 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.2288, allocations: 37.69 kB / 0.6548 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2288, allocations: 0 / 0.6548 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2288, allocations: 4 kB / 0.6548 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.2289, allocations: 7.938 kB / 0.6548 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2289, allocations: 4 kB / 0.6548 GB, free: 7.504 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.029e-05/0.229, allocations: 4 kB / 0.6548 GB, free: 7.5 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.229, allocations: 8 kB / 0.6548 GB, free: 7.492 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.0001618/0.2292, allocations: 171.4 kB / 0.655 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.2292, allocations: 27.8 kB / 0.655 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.2292, allocations: 21.53 kB / 0.6551 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2293, allocations: 3.984 kB / 0.6551 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2293, allocations: 0 / 0.6551 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2293, allocations: 0 / 0.6551 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.2295, allocations: 221.5 kB / 0.6553 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2295, allocations: 4 kB / 0.6553 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.2295, allocations: 3.938 kB / 0.6553 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2295, allocations: 0 / 0.6553 GB, free: 6.984 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2295, allocations: 11.97 kB / 0.6553 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2295, allocations: 4 kB / 0.6553 GB, free: 6.969 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2295, allocations: 0 / 0.6553 GB, free: 6.969 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2298, allocations: 194.7 kB / 0.6555 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.2299, allocations: 108.9 kB / 0.6556 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.2299, allocations: 7.938 kB / 0.6556 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.23, allocations: 8 kB / 0.6556 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.23, allocations: 3.984 kB / 0.6556 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2301, allocations: 8 kB / 0.6556 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001681/0.2302, allocations: 173.6 kB / 0.6558 GB, free: 6.434 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2302, allocations: 0 / 0.6558 GB, free: 6.434 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002377/0.2305, allocations: 35.92 kB / 0.6558 GB, free: 6.398 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.0001981/0.2307, allocations: 125.4 kB / 0.6559 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2309, allocations: 139.4 kB / 0.6561 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2309, allocations: 0 / 0.6561 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2311, allocations: 115.3 kB / 0.6562 GB, free: 5.996 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2313, allocations: 16.67 kB / 0.6562 GB, free: 5.977 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.2319, allocations: 307.1 kB / 0.6565 GB, free: 5.652 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.2323, allocations: 0.7239 MB / 0.6572 GB, free: 4.902 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.242e-05/0.2324, allocations: 25.58 kB / 0.6572 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.2324, allocations: 15.44 kB / 0.6572 GB, free: 4.863 MB / 0.4983 GB Notification: Performance of SimCode: time 3.4e-07/0.2324, allocations: 0 / 0.6572 GB, free: 4.863 MB / 0.4983 GB Notification: Performance of Templates: time 0.004941/0.2374, allocations: 1.372 MB / 0.6586 GB, free: 3.492 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