Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001788/0.001788, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.562/1.562, 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.001213/0.001213, allocations: 95.55 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.022/1.022, allocations: 120.5 MB / 463 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 4 kB / 0.5433 GB, free: 42.4 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 82.85 MB / 0.6242 GB, free: 9.25 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9488/1.134, allocations: 126.7 MB / 0.748 GB, free: 7.328 MB / 0.5106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/1.134, allocations: 46.11 kB / 0.748 GB, free: 7.309 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 0.01004/1.144, allocations: 3.194 MB / 0.7511 GB, free: 4.566 MB / 0.5106 GB Notification: Performance of FrontEnd: time 3.376e-06/1.144, allocations: 0 / 0.7511 GB, free: 4.566 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 1.728e-05/1.144, allocations: 4 kB / 0.7511 GB, free: 4.562 MB / 0.5106 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.0006284/1.145, allocations: 483.7 kB / 0.7516 GB, free: 4.047 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.145, allocations: 8.031 kB / 0.7516 GB, free: 4.039 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/1.145, allocations: 23.77 kB / 0.7516 GB, free: 4.016 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/1.145, allocations: 290.7 kB / 0.7519 GB, free: 3.703 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.145, allocations: 4 kB / 0.7519 GB, free: 3.699 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/1.145, allocations: 0 / 0.7519 GB, free: 3.699 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/1.146, allocations: 57.36 kB / 0.752 GB, free: 3.645 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.146, allocations: 0 / 0.752 GB, free: 3.645 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/1.146, allocations: 3.984 kB / 0.752 GB, free: 3.641 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.146, allocations: 3.953 kB / 0.752 GB, free: 3.637 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/1.146, allocations: 23.8 kB / 0.752 GB, free: 3.617 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/1.146, allocations: 208.8 kB / 0.7522 GB, free: 3.383 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/1.146, allocations: 34.39 kB / 0.7522 GB, free: 3.348 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/1.146, allocations: 3.938 kB / 0.7522 GB, free: 3.344 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/1.146, allocations: 96.08 kB / 0.7523 GB, free: 3.242 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=8): time 3.777e-06/1.146, allocations: 0 / 0.7523 GB, free: 3.242 MB / 0.5106 GB Notification: Performance of matching and sorting (n=8): time 0.0004344/1.147, allocations: 247.7 kB / 0.7526 GB, free: 2.992 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/1.147, allocations: 85.11 kB / 0.7526 GB, free: 2.891 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/1.147, allocations: 211.3 kB / 0.7528 GB, free: 2.703 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/1.147, allocations: 25.7 kB / 0.7529 GB, free: 2.672 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/1.147, allocations: 119.1 kB / 0.753 GB, free: 2.578 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/1.147, allocations: 19.86 kB / 0.753 GB, free: 2.559 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/1.147, allocations: 0 / 0.753 GB, free: 2.559 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.147, allocations: 330.5 kB / 0.7533 GB, free: 2.234 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/1.147, allocations: 19.23 kB / 0.7533 GB, free: 2.223 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/1.147, allocations: 19.75 kB / 0.7533 GB, free: 2.211 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/1.148, allocations: 53.44 kB / 0.7534 GB, free: 2.16 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/1.148, allocations: 0 / 0.7534 GB, free: 2.16 MB / 0.5106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000212/1.148, allocations: 142.6 kB / 0.7535 GB, free: 2.027 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/1.148, allocations: 41.56 kB / 0.7536 GB, free: 1.984 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.148, allocations: 0 / 0.7536 GB, free: 1.984 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.148, allocations: 0 / 0.7536 GB, free: 1.984 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/1.148, allocations: 6.312 kB / 0.7536 GB, free: 1.98 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.148, allocations: 4 kB / 0.7536 GB, free: 1.977 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/1.148, allocations: 3.938 kB / 0.7536 GB, free: 1.973 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/1.148, allocations: 12.81 kB / 0.7536 GB, free: 1.961 MB / 0.5106 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.0001755/1.148, allocations: 181.6 kB / 0.7538 GB, free: 1.777 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/1.148, allocations: 19.81 kB / 0.7538 GB, free: 1.758 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.153e-05/1.148, allocations: 21.2 kB / 0.7538 GB, free: 1.734 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.148, allocations: 0 / 0.7538 GB, free: 1.734 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.148, allocations: 0 / 0.7538 GB, free: 1.734 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.148, allocations: 96 / 0.7538 GB, free: 1.734 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/1.149, allocations: 224.7 kB / 0.754 GB, free: 1.484 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.149, allocations: 0 / 0.754 GB, free: 1.484 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/1.149, allocations: 0 / 0.754 GB, free: 1.484 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.149, allocations: 4 kB / 0.754 GB, free: 1.48 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/1.149, allocations: 11.92 kB / 0.754 GB, free: 1.469 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.149, allocations: 0 / 0.754 GB, free: 1.469 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.149, allocations: 4 kB / 0.754 GB, free: 1.465 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/1.149, allocations: 189 kB / 0.7542 GB, free: 1.285 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/1.149, allocations: 96.91 kB / 0.7543 GB, free: 1.172 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/1.149, allocations: 4.5 kB / 0.7543 GB, free: 1.168 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/1.149, allocations: 7.938 kB / 0.7543 GB, free: 1.164 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/1.149, allocations: 7.938 kB / 0.7543 GB, free: 1.156 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/1.149, allocations: 12.86 kB / 0.7544 GB, free: 1.145 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.0001525/1.149, allocations: 167.8 kB / 0.7545 GB, free: 1 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.1e-07/1.149, allocations: 0 / 0.7545 GB, free: 1 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0002743/1.15, allocations: 47.73 kB / 0.7546 GB, free: 0.957 MB / 0.5106 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.0002109/1.15, allocations: 119.2 kB / 0.7547 GB, free: 0.832 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0002053/1.15, allocations: 141.7 kB / 0.7548 GB, free: 0.7188 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.15, allocations: 0 / 0.7548 GB, free: 0.7188 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/1.15, allocations: 110.3 kB / 0.7549 GB, free: 0.625 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/1.15, allocations: 26.95 kB / 0.7549 GB, free: 0.6055 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/1.151, allocations: 310.7 kB / 0.7552 GB, free: 296 kB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.151, allocations: 0.7282 MB / 0.7559 GB, free: 15.53 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 7.92e-05/1.151, allocations: 25.5 kB / 0.756 GB, free: 15.51 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/1.151, allocations: 15.44 kB / 0.756 GB, free: 15.49 MB / 0.5263 GB Notification: Performance of SimCode: time 7.82e-07/1.151, allocations: 0 / 0.756 GB, free: 15.49 MB / 0.5263 GB Notification: Performance of Templates: time 0.004528/1.156, allocations: 1.255 MB / 0.7572 GB, free: 14.25 MB / 0.5263 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches