Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.281/1.281, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008836, allocations: 91.56 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8471/0.8471, allocations: 120.4 MB / 457.8 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.199e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.493, allocations: 82.83 MB / 0.6166 GB, free: 9.352 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.6459, allocations: 129.2 MB / 0.7427 GB, free: 8.051 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001268/0.6461, allocations: 51.98 kB / 0.7428 GB, free: 8 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.6572, allocations: 4.08 MB / 0.7468 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6572, allocations: 0 / 0.7468 GB, free: 3.918 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.6573, allocations: 4 kB / 0.7468 GB, free: 3.914 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004454/0.6577, allocations: 454 kB / 0.7472 GB, free: 3.426 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.6578, allocations: 8.031 kB / 0.7472 GB, free: 3.418 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.6578, allocations: 23.77 kB / 0.7472 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.6583, allocations: 314.2 kB / 0.7475 GB, free: 3.043 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6583, allocations: 4 kB / 0.7475 GB, free: 3.039 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.6583, allocations: 3.984 kB / 0.7475 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.6584, allocations: 45.69 kB / 0.7476 GB, free: 2.984 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.6584, allocations: 0 / 0.7476 GB, free: 2.984 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.6585, allocations: 8 kB / 0.7476 GB, free: 2.977 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.6585, allocations: 7.953 kB / 0.7476 GB, free: 2.969 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.6585, allocations: 19.92 kB / 0.7476 GB, free: 2.949 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.6587, allocations: 209.7 kB / 0.7478 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.6589, allocations: 46.62 kB / 0.7479 GB, free: 2.641 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.6589, allocations: 16.86 kB / 0.7479 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.6589, allocations: 0 / 0.7479 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.659, allocations: 71.42 kB / 0.7479 GB, free: 2.539 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.6591, allocations: 0 / 0.7479 GB, free: 2.539 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0002025/0.6593, allocations: 89.41 kB / 0.748 GB, free: 2.445 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.6593, allocations: 55.36 kB / 0.7481 GB, free: 2.379 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.6596, allocations: 247.1 kB / 0.7483 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.6596, allocations: 29.7 kB / 0.7483 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.6597, allocations: 140.1 kB / 0.7485 GB, free: 1.957 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.6597, allocations: 15.84 kB / 0.7485 GB, free: 1.941 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/0.6597, allocations: 4 kB / 0.7485 GB, free: 1.938 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6598, allocations: 338.8 kB / 0.7488 GB, free: 1.598 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.6599, allocations: 12 kB / 0.7488 GB, free: 1.586 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.6599, allocations: 25.72 kB / 0.7489 GB, free: 1.555 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.6599, allocations: 19.92 kB / 0.7489 GB, free: 1.535 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.66, allocations: 0 / 0.7489 GB, free: 1.535 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001298/0.6601, allocations: 93.42 kB / 0.749 GB, free: 1.438 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6601, allocations: 8 kB / 0.749 GB, free: 1.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6601, allocations: 3.938 kB / 0.749 GB, free: 1.426 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6601, allocations: 4 kB / 0.749 GB, free: 1.422 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.6602, allocations: 15.92 kB / 0.749 GB, free: 1.406 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6602, allocations: 0 / 0.749 GB, free: 1.406 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.6603, allocations: 7.953 kB / 0.749 GB, free: 1.398 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.6603, allocations: 0 / 0.749 GB, free: 1.398 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7.012e-05/0.6604, allocations: 109 kB / 0.7491 GB, free: 1.285 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.6604, allocations: 23.72 kB / 0.7491 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.6606, allocations: 103 kB / 0.7492 GB, free: 1.152 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6606, allocations: 0 / 0.7492 GB, free: 1.152 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.6606, allocations: 192 / 0.7492 GB, free: 1.152 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6606, allocations: 0 / 0.7492 GB, free: 1.152 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.6608, allocations: 233.5 kB / 0.7494 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6608, allocations: 0 / 0.7494 GB, free: 0.875 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.6609, allocations: 4 kB / 0.7494 GB, free: 0.8711 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6609, allocations: 0 / 0.7494 GB, free: 0.8711 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.6609, allocations: 4 kB / 0.7495 GB, free: 0.8672 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6609, allocations: 0 / 0.7495 GB, free: 0.8672 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6609, allocations: 4 kB / 0.7495 GB, free: 0.8633 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.6611, allocations: 124.8 kB / 0.7496 GB, free: 0.7227 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.6611, allocations: 100.8 kB / 0.7497 GB, free: 0.6055 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.6612, allocations: 8 kB / 0.7497 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.6612, allocations: 0 / 0.7497 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.6613, allocations: 7.984 kB / 0.7497 GB, free: 0.5898 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.6613, allocations: 0 / 0.7497 GB, free: 0.5898 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001753/0.6615, allocations: 207.1 kB / 0.7499 GB, free: 396 kB / 0.5419 GB Notification: Performance of sort global known variables: time 1.774e-06/0.6615, allocations: 0 / 0.7499 GB, free: 396 kB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002067/0.6617, allocations: 31.88 kB / 0.7499 GB, free: 364 kB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007585/0.6624, allocations: 373.3 kB / 0.7503 GB, free: 100 kB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.6626, allocations: 39.98 kB / 0.7503 GB, free: 60 kB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6626, allocations: 0 / 0.7503 GB, free: 60 kB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.6626, allocations: 23.94 kB / 0.7503 GB, free: 36 kB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.518/1.181, allocations: 37.98 kB / 0.7504 GB, free: 131.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/1.181, allocations: 227.5 kB / 0.7506 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/1.181, allocations: 0.7415 MB / 0.7513 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001308/1.182, allocations: 40.03 kB / 0.7513 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/1.182, allocations: 31.67 kB / 0.7514 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of SimCode: time 9.52e-07/1.182, allocations: 0 / 0.7514 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of Templates: time 0.004688/1.186, allocations: 1.649 MB / 0.753 GB, free: 130.8 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches