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.001465/0.001465, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 221.5 MB / 230.3 MB, free: 7.555 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.0008777/0.0008777, allocations: 85.56 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8387/0.8387, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.382e-05/1.385e-05, allocations: 4 kB / 0.5288 GB, free: 1.289 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.505, allocations: 82.84 MB / 0.6097 GB, free: 13.01 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.6398, allocations: 128.5 MB / 0.7352 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001279/0.64, allocations: 55.95 kB / 0.7352 GB, free: 12.32 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01066/0.6506, allocations: 4.046 MB / 0.7392 GB, free: 8.273 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6507, allocations: 0 / 0.7392 GB, free: 8.273 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.6507, allocations: 0 / 0.7392 GB, free: 8.273 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.0003886/0.6511, allocations: 458 kB / 0.7396 GB, free: 7.781 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.6511, allocations: 8.031 kB / 0.7396 GB, free: 7.773 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.6512, allocations: 19.77 kB / 0.7396 GB, free: 7.754 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.6516, allocations: 318.2 kB / 0.7399 GB, free: 7.398 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.6516, allocations: 0 / 0.7399 GB, free: 7.398 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6516, allocations: 8 kB / 0.7399 GB, free: 7.391 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.625e-05/0.6517, allocations: 19.92 kB / 0.74 GB, free: 7.371 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.145e-05/0.6518, allocations: 41.69 kB / 0.74 GB, free: 7.324 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.6518, allocations: 7.984 kB / 0.74 GB, free: 7.316 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6518, allocations: 3.953 kB / 0.74 GB, free: 7.312 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.6518, allocations: 0 / 0.74 GB, free: 7.312 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.652, allocations: 194.2 kB / 0.7402 GB, free: 7.086 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.814e-05/0.6521, allocations: 46.62 kB / 0.7402 GB, free: 7.031 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.6521, allocations: 16.86 kB / 0.7402 GB, free: 7.012 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.6522, allocations: 0 / 0.7402 GB, free: 7.012 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.6523, allocations: 67.42 kB / 0.7403 GB, free: 6.934 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.6523, allocations: 0 / 0.7403 GB, free: 6.934 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0001767/0.6525, allocations: 93.39 kB / 0.7404 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.6525, allocations: 51.41 kB / 0.7405 GB, free: 6.773 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.6527, allocations: 238.3 kB / 0.7407 GB, free: 6.539 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.6527, allocations: 25.7 kB / 0.7407 GB, free: 6.508 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.6528, allocations: 136.1 kB / 0.7408 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.6528, allocations: 11.84 kB / 0.7408 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.6528, allocations: 0 / 0.7408 GB, free: 6.359 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.6529, allocations: 338.8 kB / 0.7412 GB, free: 6.02 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.653, allocations: 12 kB / 0.7412 GB, free: 6.008 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.318e-05/0.653, allocations: 29.64 kB / 0.7412 GB, free: 5.973 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.653, allocations: 16 kB / 0.7412 GB, free: 5.957 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.653, allocations: 3.938 kB / 0.7412 GB, free: 5.953 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001136/0.6532, allocations: 85.41 kB / 0.7413 GB, free: 5.863 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6532, allocations: 8 kB / 0.7413 GB, free: 5.855 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6532, allocations: 3.984 kB / 0.7413 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.6532, allocations: 0 / 0.7413 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.6533, allocations: 11.94 kB / 0.7413 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6533, allocations: 4 kB / 0.7413 GB, free: 5.836 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.6534, allocations: 4.031 kB / 0.7413 GB, free: 5.832 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.6534, allocations: 4 kB / 0.7413 GB, free: 5.828 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 5.88e-05/0.6534, allocations: 108.9 kB / 0.7414 GB, free: 5.715 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.6535, allocations: 23.72 kB / 0.7415 GB, free: 5.691 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.6536, allocations: 91.3 kB / 0.7416 GB, free: 5.594 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6536, allocations: 4 kB / 0.7416 GB, free: 5.59 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6537, allocations: 0 / 0.7416 GB, free: 5.59 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.6537, allocations: 3.984 kB / 0.7416 GB, free: 5.586 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.6538, allocations: 202.3 kB / 0.7418 GB, free: 5.352 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6538, allocations: 8 kB / 0.7418 GB, free: 5.344 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.6538, allocations: 7.938 kB / 0.7418 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6539, allocations: 0 / 0.7418 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.6539, allocations: 0 / 0.7418 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6539, allocations: 0 / 0.7418 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6539, allocations: 0 / 0.7418 GB, free: 5.336 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.654, allocations: 124.8 kB / 0.7419 GB, free: 5.195 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.6541, allocations: 104.8 kB / 0.742 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.6541, allocations: 0 / 0.742 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.751e-05/0.6542, allocations: 11.94 kB / 0.742 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.6542, allocations: 7.984 kB / 0.742 GB, free: 5.055 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.6542, allocations: 0 / 0.742 GB, free: 5.055 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001481/0.6544, allocations: 194 kB / 0.7422 GB, free: 4.863 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6544, allocations: 0 / 0.7422 GB, free: 4.863 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002075/0.6546, allocations: 23.94 kB / 0.7422 GB, free: 4.84 MB / 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.0006869/0.6553, allocations: 350.4 kB / 0.7426 GB, free: 4.574 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.594e-05/0.6554, allocations: 39.98 kB / 0.7426 GB, free: 4.535 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6554, allocations: 7.875 kB / 0.7426 GB, free: 4.527 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.6555, allocations: 19.94 kB / 0.7426 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.6557, allocations: 24.88 kB / 0.7426 GB, free: 4.48 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.6561, allocations: 234.4 kB / 0.7429 GB, free: 4.227 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.6563, allocations: 0.7399 MB / 0.7436 GB, free: 3.457 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.6564, allocations: 37.81 kB / 0.7436 GB, free: 3.422 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.6565, allocations: 35.42 kB / 0.7437 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of SimCode: time 3.01e-07/0.6565, allocations: 0 / 0.7437 GB, free: 3.391 MB / 0.5419 GB Notification: Performance of Templates: time 0.003958/0.6604, allocations: 1.534 MB / 0.7452 GB, free: 1.867 MB / 0.5419 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