Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009946/0.0009947, allocations: 99.75 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.348/0.348, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 63.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3314, allocations: 62.01 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002738/0.3342, allocations: 2.082 MB / 0.5172 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3357, allocations: 1.317 MB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.3358, allocations: 0 / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.336, allocations: 47.34 kB / 0.5185 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3364, allocations: 181 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009455/0.3373, allocations: 0.5558 MB / 0.5192 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3376, allocations: 310 kB / 0.5195 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3378, allocations: 66.42 kB / 0.5196 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.3379, allocations: 121.6 kB / 0.5197 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3381, allocations: 184.4 kB / 0.5199 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3382, allocations: 8.062 kB / 0.5199 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3383, allocations: 59.14 kB / 0.5199 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3384, allocations: 147 kB / 0.5201 GB, free: 34.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.454e-05/0.3385, allocations: 168.7 kB / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.3388, allocations: 378.8 kB / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3388, allocations: 0 / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3388, allocations: 0 / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3388, allocations: 0 / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007453/0.3396, allocations: 0.7728 MB / 0.5214 GB, free: 33.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3396, allocations: 10.81 kB / 0.5214 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.3398, allocations: 70.47 kB / 0.5214 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.3403, allocations: 458.2 kB / 0.5219 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3403, allocations: 3.25 kB / 0.5219 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.3404, allocations: 20.19 kB / 0.5219 GB, free: 33.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3406, allocations: 152.1 kB / 0.522 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3406, allocations: 2.312 kB / 0.522 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3406, allocations: 4 kB / 0.5221 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3406, allocations: 2.812 kB / 0.5221 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3408, allocations: 103.8 kB / 0.5222 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.3416, allocations: 0.6822 MB / 0.5228 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3418, allocations: 123.4 kB / 0.5229 GB, free: 32.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.3419, allocations: 44.53 kB / 0.523 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3419, allocations: 6.844 kB / 0.523 GB, free: 32.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.3419, allocations: 34.5 kB / 0.523 GB, free: 32.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.3419, allocations: 0 / 0.523 GB, free: 32.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001161/0.3431, allocations: 0.5458 MB / 0.5236 GB, free: 32.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3431, allocations: 77.11 kB / 0.5236 GB, free: 32.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/0.3439, allocations: 0.9028 MB / 0.5245 GB, free: 32.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3439, allocations: 29.7 kB / 0.5245 GB, free: 32.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.344, allocations: 261 kB / 0.5248 GB, free: 31.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.344, allocations: 53.02 kB / 0.5248 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.3441, allocations: 36.06 kB / 0.5249 GB, free: 31.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.419e-05/0.3442, allocations: 376.4 kB / 0.5252 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3443, allocations: 62.72 kB / 0.5253 GB, free: 31.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3445, allocations: 86.47 kB / 0.5254 GB, free: 31.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.3448, allocations: 155.3 kB / 0.5255 GB, free: 31.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3448, allocations: 0 / 0.5255 GB, free: 31.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003926/0.3452, allocations: 246.6 kB / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3452, allocations: 5.594 kB / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3452, allocations: 0 / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3452, allocations: 2.625 kB / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.3454, allocations: 38.3 kB / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3454, allocations: 0 / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3456, allocations: 15.83 kB / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3456, allocations: 3.062 kB / 0.5258 GB, free: 31.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.00015/0.3457, allocations: 221.3 kB / 0.526 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.3458, allocations: 61.53 kB / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.3464, allocations: 291.9 kB / 0.5264 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3464, allocations: 0 / 0.5264 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3464, allocations: 7.031 kB / 0.5264 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3464, allocations: 0 / 0.5264 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.3473, allocations: 0.8039 MB / 0.5272 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3474, allocations: 0 / 0.5272 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.3475, allocations: 41.06 kB / 0.5272 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3475, allocations: 2.844 kB / 0.5272 GB, free: 30.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3475, allocations: 7.359 kB / 0.5272 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3475, allocations: 6.719 kB / 0.5272 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3476, allocations: 0 / 0.5272 GB, free: 30.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.3483, allocations: 1.162 MB / 0.5283 GB, free: 29.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3484, allocations: 135.4 kB / 0.5285 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.3485, allocations: 2.75 kB / 0.5285 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3487, allocations: 12.98 kB / 0.5285 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.3487, allocations: 14.5 kB / 0.5285 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3487, allocations: 13.61 kB / 0.5285 GB, free: 29.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005338/0.3493, allocations: 0.6575 MB / 0.5292 GB, free: 29.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3493, allocations: 0 / 0.5292 GB, free: 29.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.3497, allocations: 56.75 kB / 0.5292 GB, free: 29.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0007756/0.3505, allocations: 402 kB / 0.5296 GB, free: 28.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.3509, allocations: 162 kB / 0.5298 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3509, allocations: 2.812 kB / 0.5298 GB, free: 28.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.3511, allocations: 84.31 kB / 0.5298 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.3517, allocations: 88.05 kB / 0.5299 GB, free: 28.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3528, allocations: 1.212 MB / 0.5311 GB, free: 28.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3531, allocations: 0.8806 MB / 0.532 GB, free: 27.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.3533, allocations: 88.59 kB / 0.532 GB, free: 27.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.3534, allocations: 40.06 kB / 0.5321 GB, free: 27.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3534, allocations: 0 / 0.5321 GB, free: 27.28 MB / 378.7 MB Notification: Performance of Templates: time 0.006663/0.36, allocations: 3.987 MB / 0.536 GB, free: 26.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches