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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 116.4 kB / 17.69 MB, free: 5.312 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.001328/0.001328, allocations: 191 kB / 18.63 MB, free: 4.379 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.438/1.438, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.258/1.258, allocations: 119.3 MB / 411.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 63.91 kB / 0.4924 GB, free: 13.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6579/0.6594, allocations: 80.68 MB / 0.5712 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003103/0.6625, allocations: 1.561 MB / 0.5727 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.664, allocations: 0.8896 MB / 0.5735 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.6641, allocations: 0 / 0.5735 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.6645, allocations: 57.11 kB / 0.5736 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.6648, allocations: 103.2 kB / 0.5737 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.6651, allocations: 110 kB / 0.5738 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.6653, allocations: 126.3 kB / 0.5739 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.6654, allocations: 8.406 kB / 0.5739 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.6655, allocations: 70.28 kB / 0.574 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.6657, allocations: 53.89 kB / 0.574 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.6657, allocations: 5 kB / 0.5741 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.6658, allocations: 33.58 kB / 0.5741 GB, free: 41.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.6659, allocations: 71.05 kB / 0.5742 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.666, allocations: 59 kB / 0.5742 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.6662, allocations: 162.2 kB / 0.5744 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6662, allocations: 0 / 0.5744 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6662, allocations: 0 / 0.5744 GB, free: 41.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.6662, allocations: 0 / 0.5744 GB, free: 41.04 MB / 462.3 MB 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.0006004/0.6669, allocations: 494.3 kB / 0.5748 GB, free: 40.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6669, allocations: 12.45 kB / 0.5748 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.667, allocations: 25.31 kB / 0.5749 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.6675, allocations: 334 kB / 0.5752 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.6675, allocations: 1.656 kB / 0.5752 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.6675, allocations: 7.156 kB / 0.5752 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.6677, allocations: 51.11 kB / 0.5752 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6677, allocations: 0 / 0.5752 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.6677, allocations: 0 / 0.5752 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6677, allocations: 1.094 kB / 0.5752 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.6678, allocations: 15.95 kB / 0.5753 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.668, allocations: 207.1 kB / 0.5755 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.6682, allocations: 55.77 kB / 0.5755 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.6683, allocations: 24.78 kB / 0.5755 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.6683, allocations: 1.375 kB / 0.5755 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.6685, allocations: 71.02 kB / 0.5756 GB, free: 39.82 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.6685, allocations: 1.5 kB / 0.5756 GB, free: 39.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002944/0.6688, allocations: 106.9 kB / 0.5757 GB, free: 39.75 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.6688, allocations: 52.69 kB / 0.5758 GB, free: 39.68 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.6691, allocations: 279.2 kB / 0.576 GB, free: 39.5 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.6691, allocations: 27.14 kB / 0.5761 GB, free: 39.47 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.6692, allocations: 142.4 kB / 0.5762 GB, free: 39.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.6692, allocations: 13.78 kB / 0.5762 GB, free: 39.33 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.6693, allocations: 23.19 kB / 0.5762 GB, free: 39.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.6694, allocations: 333.6 kB / 0.5765 GB, free: 38.98 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.6694, allocations: 16.61 kB / 0.5766 GB, free: 38.97 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.6695, allocations: 26.83 kB / 0.5766 GB, free: 38.95 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.6696, allocations: 47.98 kB / 0.5766 GB, free: 38.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6696, allocations: 0 / 0.5766 GB, free: 38.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001527/0.6697, allocations: 98.89 kB / 0.5767 GB, free: 38.84 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6698, allocations: 8.594 kB / 0.5767 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6698, allocations: 0 / 0.5767 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6698, allocations: 1.281 kB / 0.5767 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.6699, allocations: 12.59 kB / 0.5767 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6699, allocations: 1.312 kB / 0.5767 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.67, allocations: 6.812 kB / 0.5768 GB, free: 38.83 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.67, allocations: 2.594 kB / 0.5768 GB, free: 38.83 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.6701, allocations: 150.5 kB / 0.5769 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.6701, allocations: 25.78 kB / 0.5769 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.6702, allocations: 27.2 kB / 0.5769 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6702, allocations: 1.438 kB / 0.577 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6702, allocations: 0 / 0.577 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6702, allocations: 0 / 0.577 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.6703, allocations: 216.4 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6704, allocations: 1.125 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.6704, allocations: 7.234 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6704, allocations: 0 / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.6704, allocations: 0.8438 kB / 0.5772 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6704, allocations: 5.281 kB / 0.5772 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6704, allocations: 7.938 kB / 0.5772 GB, free: 38.41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.6706, allocations: 122.5 kB / 0.5773 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.6707, allocations: 98.28 kB / 0.5774 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.6707, allocations: 2.094 kB / 0.5774 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.6708, allocations: 10.36 kB / 0.5774 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.6708, allocations: 1.188 kB / 0.5774 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6708, allocations: 6.188 kB / 0.5774 GB, free: 38.18 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001873/0.671, allocations: 205.2 kB / 0.5776 GB, free: 38.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.671, allocations: 3.938 kB / 0.5776 GB, free: 38.05 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002327/0.6713, allocations: 22.83 kB / 0.5776 GB, free: 38.04 MB / 462.3 MB 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000957/0.6722, allocations: 406.8 kB / 0.578 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.6724, allocations: 39.58 kB / 0.5781 GB, free: 37.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6724, allocations: 1.062 kB / 0.5781 GB, free: 37.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.6725, allocations: 28.05 kB / 0.5781 GB, free: 37.82 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6728, allocations: 39.5 kB / 0.5781 GB, free: 37.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.6735, allocations: 324.2 kB / 0.5784 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6738, allocations: 0.7459 MB / 0.5792 GB, free: 36.83 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.851e-05/0.6739, allocations: 32.98 kB / 0.5792 GB, free: 36.82 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.6739, allocations: 34.16 kB / 0.5792 GB, free: 36.8 MB / 462.3 MB Notification: Performance of SimCode: time 2.6e-07/0.6739, allocations: 0 / 0.5792 GB, free: 36.8 MB / 462.3 MB Notification: Performance of Templates: time 0.005494/0.6794, allocations: 1.692 MB / 0.5809 GB, free: 35.96 MB / 462.3 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches