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.001522/0.001522, allocations: 108 kB / 16.92 MB, free: 6.332 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.001593/0.001593, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.519/1.519, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.428/1.428, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.491 GB, free: 13.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7394/0.7408, allocations: 80.69 MB / 0.5697 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003374/0.7442, allocations: 1.558 MB / 0.5713 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.7457, allocations: 0.8871 MB / 0.5721 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.7458, allocations: 5.312 kB / 0.5721 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.7461, allocations: 61.73 kB / 0.5722 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.7465, allocations: 98.02 kB / 0.5723 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.7468, allocations: 118.2 kB / 0.5724 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.747, allocations: 127.2 kB / 0.5725 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.149e-05/0.7471, allocations: 4.438 kB / 0.5725 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.7472, allocations: 71.94 kB / 0.5726 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.7474, allocations: 55.67 kB / 0.5726 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.7474, allocations: 3.969 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.7475, allocations: 25.66 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.7477, allocations: 75.55 kB / 0.5727 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.7477, allocations: 59.34 kB / 0.5728 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.748, allocations: 152.2 kB / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.748, allocations: 0 / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.883e-06/0.748, allocations: 0 / 0.573 GB, free: 40.95 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.748, allocations: 0 / 0.573 GB, free: 40.95 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.0006323/0.7486, allocations: 493 kB / 0.5734 GB, free: 40.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7487, allocations: 14.22 kB / 0.5734 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.7488, allocations: 25.64 kB / 0.5735 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.7492, allocations: 325.5 kB / 0.5738 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.7492, allocations: 384 / 0.5738 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.7492, allocations: 10.16 kB / 0.5738 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.7494, allocations: 51.23 kB / 0.5738 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.7494, allocations: 0 / 0.5738 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.7494, allocations: 0.875 kB / 0.5738 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.7494, allocations: 1 kB / 0.5738 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.7495, allocations: 24 kB / 0.5739 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.7497, allocations: 203.6 kB / 0.574 GB, free: 39.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.7499, allocations: 55.14 kB / 0.5741 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.75, allocations: 25 kB / 0.5741 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.75, allocations: 1.406 kB / 0.5741 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.7503, allocations: 72.02 kB / 0.5742 GB, free: 39.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.7503, allocations: 0 / 0.5742 GB, free: 39.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003214/0.7506, allocations: 100.3 kB / 0.5743 GB, free: 39.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.7507, allocations: 55.34 kB / 0.5743 GB, free: 39.6 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.751, allocations: 280.2 kB / 0.5746 GB, free: 39.42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.751, allocations: 25.7 kB / 0.5746 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.7511, allocations: 138.4 kB / 0.5748 GB, free: 39.26 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.7511, allocations: 18.89 kB / 0.5748 GB, free: 39.24 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.7512, allocations: 26.8 kB / 0.5748 GB, free: 39.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.7513, allocations: 330.1 kB / 0.5751 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.7513, allocations: 15.23 kB / 0.5751 GB, free: 38.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.7514, allocations: 35.88 kB / 0.5752 GB, free: 38.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.7515, allocations: 43.03 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7515, allocations: 5.156 kB / 0.5752 GB, free: 38.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001781/0.7517, allocations: 103.3 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7517, allocations: 4.5 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7518, allocations: 0.9062 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7518, allocations: 1.156 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.7519, allocations: 8.906 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.7519, allocations: 0.9375 kB / 0.5753 GB, free: 38.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.752, allocations: 11.28 kB / 0.5753 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.752, allocations: 2.281 kB / 0.5753 GB, free: 38.73 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.0001332/0.7521, allocations: 146.8 kB / 0.5755 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.7521, allocations: 21.31 kB / 0.5755 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.7522, allocations: 28.42 kB / 0.5755 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7522, allocations: 0 / 0.5755 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7522, allocations: 1.281 kB / 0.5755 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.7522, allocations: 0 / 0.5755 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.7524, allocations: 215.8 kB / 0.5757 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7524, allocations: 1.438 kB / 0.5757 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.962e-05/0.7524, allocations: 7.016 kB / 0.5757 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.7524, allocations: 0 / 0.5757 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.7525, allocations: 5.281 kB / 0.5758 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7525, allocations: 0 / 0.5758 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7525, allocations: 1.594 kB / 0.5758 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.7527, allocations: 129.9 kB / 0.5759 GB, free: 38.21 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.7527, allocations: 93.98 kB / 0.576 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.7528, allocations: 6.141 kB / 0.576 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.7528, allocations: 5.156 kB / 0.576 GB, free: 38.1 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.7529, allocations: 6.281 kB / 0.576 GB, free: 38.1 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.7529, allocations: 2.656 kB / 0.576 GB, free: 38.1 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002085/0.7531, allocations: 204.8 kB / 0.5762 GB, free: 37.96 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7531, allocations: 0 / 0.5762 GB, free: 37.96 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002306/0.7533, allocations: 23.39 kB / 0.5762 GB, free: 37.96 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.001022/0.7544, allocations: 411.9 kB / 0.5766 GB, free: 37.76 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.7546, allocations: 47.3 kB / 0.5766 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7546, allocations: 4.062 kB / 0.5766 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.7546, allocations: 20.36 kB / 0.5767 GB, free: 37.72 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.7549, allocations: 39.73 kB / 0.5767 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.7556, allocations: 324 kB / 0.577 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.7558, allocations: 0.7457 MB / 0.5777 GB, free: 36.74 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.7559, allocations: 33.16 kB / 0.5778 GB, free: 36.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.756, allocations: 25.2 kB / 0.5778 GB, free: 36.72 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.756, allocations: 0 / 0.5778 GB, free: 36.72 MB / 462.3 MB Notification: Performance of Templates: time 0.005455/0.7614, allocations: 1.724 MB / 0.5795 GB, free: 35.86 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches