Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.8 kB / 16.92 MB, free: 5.785 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.001386/0.001386, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.376/1.376, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.074/1.074, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.84 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5145, allocations: 80.68 MB / 0.5697 GB, free: 43.33 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002382/0.5169, allocations: 1.407 MB / 0.5711 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.5179, allocations: 0.577 MB / 0.5717 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.5179, allocations: 1.312 kB / 0.5717 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.5182, allocations: 117.2 kB / 0.5718 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.5186, allocations: 166.5 kB / 0.5719 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.5189, allocations: 79.52 kB / 0.572 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.5192, allocations: 337.5 kB / 0.5723 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.5192, allocations: 7.188 kB / 0.5724 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.5194, allocations: 172.4 kB / 0.5725 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.5197, allocations: 285.6 kB / 0.5728 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.5198, allocations: 18.97 kB / 0.5728 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.52, allocations: 96.08 kB / 0.5729 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0006518/0.5206, allocations: 0.6248 MB / 0.5735 GB, free: 40.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.5208, allocations: 389 kB / 0.5739 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.5215, allocations: 0.841 MB / 0.5747 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5216, allocations: 0 / 0.5747 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5216, allocations: 0 / 0.5747 GB, free: 40.01 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.5216, allocations: 1.156 kB / 0.5747 GB, free: 40.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001413/0.523, allocations: 1.571 MB / 0.5762 GB, free: 38.72 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5231, allocations: 9.281 kB / 0.5762 GB, free: 38.72 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.5232, allocations: 145 kB / 0.5764 GB, free: 38.64 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.5253, allocations: 1.752 MB / 0.5781 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5253, allocations: 1.75 kB / 0.5781 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.5253, allocations: 5.875 kB / 0.5781 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.5255, allocations: 104.4 kB / 0.5782 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.5255, allocations: 0 / 0.5782 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.5256, allocations: 4.594 kB / 0.5782 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5256, allocations: 4.844 kB / 0.5782 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5257, allocations: 45.78 kB / 0.5783 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.5263, allocations: 0.5843 MB / 0.5788 GB, free: 37.01 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.5264, allocations: 57.38 kB / 0.5789 GB, free: 36.97 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/0.5265, allocations: 47.59 kB / 0.5789 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.5265, allocations: 0.9375 kB / 0.5789 GB, free: 36.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.5267, allocations: 135.4 kB / 0.5791 GB, free: 36.84 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5267, allocations: 3.938 kB / 0.5791 GB, free: 36.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0007338/0.5275, allocations: 409.9 kB / 0.5795 GB, free: 36.66 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.5275, allocations: 83.86 kB / 0.5795 GB, free: 36.56 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.5295, allocations: 1.637 MB / 0.5811 GB, free: 35.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5296, allocations: 31.36 kB / 0.5812 GB, free: 35.78 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.5301, allocations: 0.6277 MB / 0.5818 GB, free: 35.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.5301, allocations: 19.38 kB / 0.5818 GB, free: 35.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5302, allocations: 49.03 kB / 0.5818 GB, free: 35.21 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.5303, allocations: 311.2 kB / 0.5821 GB, free: 34.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.5304, allocations: 31.38 kB / 0.5822 GB, free: 34.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.5304, allocations: 35.95 kB / 0.5822 GB, free: 34.88 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.5306, allocations: 134.5 kB / 0.5823 GB, free: 34.79 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5306, allocations: 0 / 0.5823 GB, free: 34.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005651/0.5312, allocations: 378 kB / 0.5827 GB, free: 34.61 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.715e-05/0.5313, allocations: 37.55 kB / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5313, allocations: 0 / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5313, allocations: 0 / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.5314, allocations: 8.172 kB / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.5314, allocations: 1.219 kB / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.5316, allocations: 6.438 kB / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.5317, allocations: 66.28 kB / 0.5828 GB, free: 34.55 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0004753/0.5322, allocations: 451 kB / 0.5832 GB, free: 34.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5323, allocations: 156.2 kB / 0.5834 GB, free: 34.22 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.5325, allocations: 177.8 kB / 0.5836 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5325, allocations: 0 / 0.5836 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5325, allocations: 1 kB / 0.5836 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5325, allocations: 0 / 0.5836 GB, free: 34.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.5331, allocations: 0.6253 MB / 0.5842 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5331, allocations: 1.062 kB / 0.5842 GB, free: 33.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.5331, allocations: 10.19 kB / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5331, allocations: 5.172 kB / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.5332, allocations: 17.44 kB / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5332, allocations: 1.031 kB / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5332, allocations: 0 / 0.5842 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.5336, allocations: 434.8 kB / 0.5846 GB, free: 33.45 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.5338, allocations: 211.3 kB / 0.5848 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.5339, allocations: 10.36 kB / 0.5848 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.534, allocations: 10.97 kB / 0.5848 GB, free: 33.26 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.534, allocations: 9.234 kB / 0.5848 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.5341, allocations: 59.03 kB / 0.5849 GB, free: 33.25 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001322/0.5354, allocations: 1.141 MB / 0.586 GB, free: 32.63 MB / 462.3 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5355, allocations: 0 / 0.586 GB, free: 32.63 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003182/0.5358, allocations: 72 kB / 0.5861 GB, free: 32.56 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.000165/0.5359, allocations: 127.7 kB / 0.5862 GB, free: 32.43 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.5362, allocations: 179.3 kB / 0.5864 GB, free: 32.24 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5362, allocations: 4 kB / 0.5864 GB, free: 32.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.5363, allocations: 123.4 kB / 0.5865 GB, free: 32.1 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.5367, allocations: 114.4 kB / 0.5866 GB, free: 31.99 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.5388, allocations: 2.135 MB / 0.5887 GB, free: 29.82 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/0.5392, allocations: 1.18 MB / 0.5898 GB, free: 28.61 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005909/0.5398, allocations: 297.6 kB / 0.5901 GB, free: 28.32 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.5399, allocations: 71.44 kB / 0.5902 GB, free: 28.25 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.5399, allocations: 7.938 kB / 0.5902 GB, free: 28.24 MB / 462.3 MB Notification: Performance of Templates: time 0.01162/0.5515, allocations: 5.75 MB / 0.5958 GB, free: 22.41 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches