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.001267/0.001267, allocations: 182.6 kB / 16.39 MB, free: 5.742 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.532/1.532, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0009293/0.0009292, allocations: 93.81 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9698/0.9698, allocations: 120.5 MB / 463 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 4 kB / 0.5433 GB, free: 42.48 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2117, allocations: 82.85 MB / 0.6242 GB, free: 9.27 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.275, allocations: 129.2 MB / 0.7504 GB, free: 4.98 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/1.275, allocations: 57.97 kB / 0.7505 GB, free: 4.953 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01146/1.287, allocations: 4.094 MB / 0.7545 GB, free: 1.484 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.194e-06/1.287, allocations: 0 / 0.7545 GB, free: 1.484 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.69e-05/1.287, allocations: 4 kB / 0.7545 GB, free: 1.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006288/1.287, allocations: 494.3 kB / 0.755 GB, free: 0.9609 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.287, allocations: 12.03 kB / 0.755 GB, free: 0.9492 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/1.287, allocations: 19.72 kB / 0.755 GB, free: 0.9297 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/1.288, allocations: 325.2 kB / 0.7553 GB, free: 0.5898 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.288, allocations: 3.938 kB / 0.7553 GB, free: 0.5859 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/1.288, allocations: 7.984 kB / 0.7553 GB, free: 0.5781 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.288, allocations: 45.48 kB / 0.7553 GB, free: 0.5312 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.288, allocations: 0 / 0.7553 GB, free: 0.5312 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/1.288, allocations: 3.875 kB / 0.7553 GB, free: 0.5312 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.288, allocations: 7.953 kB / 0.7554 GB, free: 0.5234 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/1.288, allocations: 19.86 kB / 0.7554 GB, free: 0.5078 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/1.289, allocations: 213 kB / 0.7556 GB, free: 276 kB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/1.289, allocations: 53.69 kB / 0.7556 GB, free: 224 kB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.289, allocations: 0 / 0.7556 GB, free: 224 kB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/1.289, allocations: 71.22 kB / 0.7557 GB, free: 148 kB / 0.5107 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/1.289, allocations: 0 / 0.7557 GB, free: 148 kB / 0.5107 GB Notification: Performance of matching and sorting (n=5): time 0.0002948/1.289, allocations: 101.1 kB / 0.7558 GB, free: 56 kB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/1.289, allocations: 63.3 kB / 0.7559 GB, free: 15.98 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/1.29, allocations: 252 kB / 0.7561 GB, free: 15.76 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/1.29, allocations: 25.7 kB / 0.7561 GB, free: 15.73 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/1.29, allocations: 138.2 kB / 0.7563 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/1.29, allocations: 7.719 kB / 0.7563 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.29, allocations: 4 kB / 0.7563 GB, free: 15.62 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.29, allocations: 334.6 kB / 0.7566 GB, free: 15.29 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/1.29, allocations: 15.86 kB / 0.7566 GB, free: 15.28 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/1.29, allocations: 33.34 kB / 0.7566 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.271e-05/1.29, allocations: 15.8 kB / 0.7566 GB, free: 15.23 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.29, allocations: 0 / 0.7566 GB, free: 15.23 MB / 0.5263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001603/1.29, allocations: 100.4 kB / 0.7567 GB, free: 15.14 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.29, allocations: 8.031 kB / 0.7567 GB, free: 15.14 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/1.29, allocations: 0 / 0.7567 GB, free: 15.14 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.29, allocations: 4 kB / 0.7568 GB, free: 15.13 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/1.29, allocations: 11.98 kB / 0.7568 GB, free: 15.12 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.29, allocations: 0 / 0.7568 GB, free: 15.12 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/1.29, allocations: 11.89 kB / 0.7568 GB, free: 15.11 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.29, allocations: 0 / 0.7568 GB, free: 15.11 MB / 0.5263 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.291, allocations: 148.1 kB / 0.7569 GB, free: 14.96 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/1.291, allocations: 19.72 kB / 0.7569 GB, free: 14.95 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/1.291, allocations: 110.2 kB / 0.757 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.291, allocations: 4 kB / 0.757 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.291, allocations: 0 / 0.757 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.291, allocations: 0 / 0.757 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/1.291, allocations: 228 kB / 0.7573 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.291, allocations: 384 / 0.7573 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/1.291, allocations: 4 kB / 0.7573 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/1.291, allocations: 4 kB / 0.7573 GB, free: 14.58 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/1.291, allocations: 4 kB / 0.7573 GB, free: 14.58 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.291, allocations: 0 / 0.7573 GB, free: 14.58 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.291, allocations: 4 kB / 0.7573 GB, free: 14.57 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/1.291, allocations: 132.3 kB / 0.7574 GB, free: 14.45 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.291, allocations: 100.8 kB / 0.7575 GB, free: 14.33 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/1.292, allocations: 7.938 kB / 0.7575 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/1.292, allocations: 3.984 kB / 0.7575 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/1.292, allocations: 4 kB / 0.7575 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/1.292, allocations: 0 / 0.7575 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001862/1.292, allocations: 216.7 kB / 0.7577 GB, free: 14.13 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1e-07/1.292, allocations: 0 / 0.7577 GB, free: 14.13 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002113/1.292, allocations: 20 kB / 0.7577 GB, free: 14.11 MB / 0.5263 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) * Number of clocked states: 0 () * 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.0009492/1.293, allocations: 426.9 kB / 0.7581 GB, free: 13.86 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0001554/1.293, allocations: 43.55 kB / 0.7582 GB, free: 13.83 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.293, allocations: 0 / 0.7582 GB, free: 13.83 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/1.293, allocations: 27.92 kB / 0.7582 GB, free: 13.8 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/1.293, allocations: 32.5 kB / 0.7582 GB, free: 13.78 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/1.294, allocations: 350.4 kB / 0.7586 GB, free: 13.43 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/1.294, allocations: 0.7477 MB / 0.7593 GB, free: 12.66 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001188/1.295, allocations: 37.5 kB / 0.7593 GB, free: 12.62 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/1.295, allocations: 27.19 kB / 0.7594 GB, free: 12.6 MB / 0.5263 GB Notification: Performance of SimCode: time 2.3e-07/1.295, allocations: 0 / 0.7594 GB, free: 12.6 MB / 0.5263 GB Notification: Performance of Templates: time 0.00462/1.299, allocations: 1.644 MB / 0.761 GB, free: 10.98 MB / 0.5263 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