Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001561/0.001561, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001917/0.001917, allocations: 194 kB / 17.55 MB, free: 6.062 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.473/1.473, allocations: 222.9 MB / 241.2 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.187/1.187, allocations: 119.3 MB / 410.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001115, allocations: 55.91 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6318, allocations: 80.68 MB / 0.5692 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003968/0.6358, allocations: 1.618 MB / 0.5708 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.6377, allocations: 0.8816 MB / 0.5717 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.6379, allocations: 1.188 kB / 0.5717 GB, free: 40.99 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.6385, allocations: 60.33 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.639, allocations: 91.03 kB / 0.5718 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.6394, allocations: 91.7 kB / 0.5719 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.6397, allocations: 130.6 kB / 0.572 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.6397, allocations: 4.562 kB / 0.572 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.64, allocations: 72.62 kB / 0.5721 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.6401, allocations: 55.69 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.6402, allocations: 4.781 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.6403, allocations: 36.61 kB / 0.5722 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.6405, allocations: 68.83 kB / 0.5723 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.6406, allocations: 55.36 kB / 0.5723 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.6409, allocations: 159.6 kB / 0.5725 GB, free: 40.5 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.6409, allocations: 0 / 0.5725 GB, free: 40.5 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6409, allocations: 0 / 0.5725 GB, free: 40.5 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.587e-06/0.6409, allocations: 1.344 kB / 0.5725 GB, free: 40.5 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.0008618/0.6418, allocations: 493 kB / 0.5729 GB, free: 40.02 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.6419, allocations: 9.125 kB / 0.5729 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.642, allocations: 25 kB / 0.573 GB, free: 40 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.6425, allocations: 329.6 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.6425, allocations: 1.469 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.6425, allocations: 9.656 kB / 0.5733 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.6427, allocations: 52.05 kB / 0.5733 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.6427, allocations: 0 / 0.5733 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6427, allocations: 0 / 0.5733 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6427, allocations: 2 kB / 0.5733 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/0.6428, allocations: 18.83 kB / 0.5734 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.6431, allocations: 203.9 kB / 0.5736 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.6433, allocations: 55.11 kB / 0.5736 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.6434, allocations: 21.2 kB / 0.5736 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.6434, allocations: 5.391 kB / 0.5736 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.6437, allocations: 67.14 kB / 0.5737 GB, free: 39.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 3.096e-06/0.6437, allocations: 5.047 kB / 0.5737 GB, free: 39.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002979/0.644, allocations: 111.4 kB / 0.5738 GB, free: 39.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.644, allocations: 53.03 kB / 0.5739 GB, free: 39.15 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.6443, allocations: 278.4 kB / 0.5741 GB, free: 38.97 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6443, allocations: 27.08 kB / 0.5742 GB, free: 38.94 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.6444, allocations: 139.1 kB / 0.5743 GB, free: 38.81 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.6445, allocations: 18.55 kB / 0.5743 GB, free: 38.79 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.6445, allocations: 13.84 kB / 0.5743 GB, free: 38.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.6446, allocations: 337.7 kB / 0.5746 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.036e-05/0.6447, allocations: 20.23 kB / 0.5747 GB, free: 38.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.6447, allocations: 23.34 kB / 0.5747 GB, free: 38.41 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.6448, allocations: 51.45 kB / 0.5747 GB, free: 38.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6448, allocations: 0 / 0.5747 GB, free: 38.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001528/0.645, allocations: 95.38 kB / 0.5748 GB, free: 38.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.645, allocations: 10.2 kB / 0.5748 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.645, allocations: 4.031 kB / 0.5748 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.645, allocations: 1.312 kB / 0.5748 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.6451, allocations: 8.969 kB / 0.5748 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.6451, allocations: 1.125 kB / 0.5748 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.6452, allocations: 6.781 kB / 0.5748 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.6452, allocations: 1.562 kB / 0.5749 GB, free: 38.3 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.0001227/0.6453, allocations: 144 kB / 0.575 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.6454, allocations: 20.66 kB / 0.575 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/0.6454, allocations: 28.7 kB / 0.575 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6454, allocations: 5.281 kB / 0.575 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6454, allocations: 0 / 0.575 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.6455, allocations: 0 / 0.575 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.6456, allocations: 216 kB / 0.5752 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6456, allocations: 4.969 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.6456, allocations: 2.688 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.6457, allocations: 5.266 kB / 0.5753 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6457, allocations: 5.469 kB / 0.5753 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6457, allocations: 128 / 0.5753 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6457, allocations: 4 kB / 0.5753 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.6459, allocations: 126.4 kB / 0.5754 GB, free: 37.78 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.6459, allocations: 94.73 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.646, allocations: 1.25 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.646, allocations: 6.484 kB / 0.5755 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.6461, allocations: 6.469 kB / 0.5755 GB, free: 37.67 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.6461, allocations: 2.594 kB / 0.5755 GB, free: 37.67 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001902/0.6463, allocations: 204.1 kB / 0.5757 GB, free: 37.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6463, allocations: 4 kB / 0.5757 GB, free: 37.53 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002219/0.6465, allocations: 23.55 kB / 0.5757 GB, free: 37.52 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.000963/0.6475, allocations: 414.6 kB / 0.5761 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.6477, allocations: 44.17 kB / 0.5762 GB, free: 37.3 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6477, allocations: 0 / 0.5762 GB, free: 37.3 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.6477, allocations: 27.42 kB / 0.5762 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.648, allocations: 38.03 kB / 0.5762 GB, free: 37.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.6486, allocations: 362.9 kB / 0.5766 GB, free: 37.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.6489, allocations: 0.7421 MB / 0.5773 GB, free: 36.28 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.649, allocations: 41.25 kB / 0.5773 GB, free: 36.26 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.649, allocations: 30.11 kB / 0.5774 GB, free: 36.24 MB / 462.3 MB Notification: Performance of SimCode: time 3.01e-07/0.649, allocations: 0 / 0.5774 GB, free: 36.24 MB / 462.3 MB Notification: Performance of Templates: time 0.005137/0.6542, allocations: 1.683 MB / 0.579 GB, free: 35.4 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches