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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 180.4 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 94.61 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.141/1.141, allocations: 120.5 MB / 463 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 8 kB / 0.5433 GB, free: 42.49 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1779, allocations: 82.85 MB / 0.6242 GB, free: 9.23 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9283/1.106, allocations: 126.7 MB / 0.748 GB, free: 7.27 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001714/1.107, allocations: 50.28 kB / 0.748 GB, free: 7.246 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.009298/1.116, allocations: 3.192 MB / 0.7511 GB, free: 4.508 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.613e-06/1.116, allocations: 0 / 0.7511 GB, free: 4.508 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.623e-05/1.116, allocations: 4 kB / 0.7511 GB, free: 4.504 MB / 0.5107 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.0005139/1.116, allocations: 472.1 kB / 0.7516 GB, free: 3.996 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.117, allocations: 12.03 kB / 0.7516 GB, free: 3.984 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/1.117, allocations: 23.75 kB / 0.7516 GB, free: 3.961 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/1.117, allocations: 294.5 kB / 0.7519 GB, free: 3.648 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.117, allocations: 7.984 kB / 0.7519 GB, free: 3.641 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/1.117, allocations: 0 / 0.7519 GB, free: 3.641 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.117, allocations: 53.48 kB / 0.7519 GB, free: 3.586 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.117, allocations: 0 / 0.7519 GB, free: 3.586 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.117, allocations: 3.875 kB / 0.7519 GB, free: 3.586 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.117, allocations: 3.953 kB / 0.752 GB, free: 3.582 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/1.117, allocations: 19.81 kB / 0.752 GB, free: 3.566 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/1.118, allocations: 204.8 kB / 0.7522 GB, free: 3.332 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/1.118, allocations: 45.75 kB / 0.7522 GB, free: 3.289 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/1.118, allocations: 0 / 0.7522 GB, free: 3.289 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/1.118, allocations: 97.58 kB / 0.7523 GB, free: 3.188 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/1.118, allocations: 4 kB / 0.7523 GB, free: 3.184 MB / 0.5107 GB Notification: Performance of matching and sorting (n=8): time 0.0003687/1.118, allocations: 235 kB / 0.7525 GB, free: 2.945 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/1.118, allocations: 85.09 kB / 0.7526 GB, free: 2.844 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/1.118, allocations: 215.7 kB / 0.7528 GB, free: 2.652 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/1.118, allocations: 25.7 kB / 0.7528 GB, free: 2.621 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/1.119, allocations: 118.5 kB / 0.753 GB, free: 2.527 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/1.119, allocations: 19.7 kB / 0.753 GB, free: 2.508 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/1.119, allocations: 4 kB / 0.753 GB, free: 2.504 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.119, allocations: 330.6 kB / 0.7533 GB, free: 2.18 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/1.119, allocations: 19.86 kB / 0.7533 GB, free: 2.168 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/1.119, allocations: 15.94 kB / 0.7533 GB, free: 2.156 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/1.119, allocations: 53.2 kB / 0.7534 GB, free: 2.109 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.119, allocations: 4 kB / 0.7534 GB, free: 2.105 MB / 0.5107 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001787/1.119, allocations: 142.3 kB / 0.7535 GB, free: 1.973 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/1.119, allocations: 33.7 kB / 0.7536 GB, free: 1.934 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.119, allocations: 0.8594 kB / 0.7536 GB, free: 1.934 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.119, allocations: 4 kB / 0.7536 GB, free: 1.93 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/1.119, allocations: 11.86 kB / 0.7536 GB, free: 1.922 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/1.119, allocations: 3.938 kB / 0.7536 GB, free: 1.918 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/1.119, allocations: 7.938 kB / 0.7536 GB, free: 1.91 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/1.119, allocations: 8.828 kB / 0.7536 GB, free: 1.902 MB / 0.5107 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 ($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.0001492/1.12, allocations: 177.9 kB / 0.7538 GB, free: 1.723 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/1.12, allocations: 19.81 kB / 0.7538 GB, free: 1.703 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/1.12, allocations: 21.33 kB / 0.7538 GB, free: 1.68 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/1.12, allocations: 0 / 0.7538 GB, free: 1.68 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.12, allocations: 0 / 0.7538 GB, free: 1.68 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.12, allocations: 0 / 0.7538 GB, free: 1.68 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/1.12, allocations: 220.9 kB / 0.754 GB, free: 1.43 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.12, allocations: 0 / 0.754 GB, free: 1.43 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/1.12, allocations: 4 kB / 0.754 GB, free: 1.426 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.12, allocations: 4 kB / 0.754 GB, free: 1.422 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/1.12, allocations: 11.44 kB / 0.754 GB, free: 1.414 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.12, allocations: 0 / 0.754 GB, free: 1.414 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.12, allocations: 0 / 0.754 GB, free: 1.414 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/1.12, allocations: 197.9 kB / 0.7542 GB, free: 1.223 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/1.12, allocations: 96.73 kB / 0.7543 GB, free: 1.113 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/1.12, allocations: 8.078 kB / 0.7543 GB, free: 1.105 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/1.12, allocations: 7.938 kB / 0.7543 GB, free: 1.098 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1.12, allocations: 7.875 kB / 0.7543 GB, free: 1.094 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/1.12, allocations: 8 kB / 0.7543 GB, free: 1.086 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.0001452/1.121, allocations: 171.6 kB / 0.7545 GB, free: 0.9375 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.81e-07/1.121, allocations: 0 / 0.7545 GB, free: 0.9375 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002372/1.121, allocations: 39.94 kB / 0.7545 GB, free: 0.8984 MB / 0.5107 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 (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.0001835/1.121, allocations: 127.3 kB / 0.7547 GB, free: 0.7695 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0002034/1.121, allocations: 149.2 kB / 0.7548 GB, free: 0.6484 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.121, allocations: 0 / 0.7548 GB, free: 0.6484 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/1.121, allocations: 118.6 kB / 0.7549 GB, free: 0.5469 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/1.121, allocations: 21.36 kB / 0.7549 GB, free: 0.5352 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/1.122, allocations: 310.5 kB / 0.7552 GB, free: 224 kB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/1.122, allocations: 0.7243 MB / 0.7559 GB, free: 15.46 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 7.818e-05/1.122, allocations: 25.41 kB / 0.756 GB, free: 15.44 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/1.122, allocations: 15.44 kB / 0.756 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of SimCode: time 3.51e-07/1.122, allocations: 0 / 0.756 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of Templates: time 0.003924/1.126, allocations: 1.26 MB / 0.7572 GB, free: 14.18 MB / 0.5263 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches