Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 101.8 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3198/0.3198, allocations: 44.84 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.89 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3329, allocations: 62.01 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003237/0.3362, allocations: 2.083 MB / 0.5172 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.3377, allocations: 0.9996 MB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.3378, allocations: 0 / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003913/0.3382, allocations: 248.5 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.3385, allocations: 233 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.3393, allocations: 451.6 kB / 0.5191 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.3396, allocations: 314.3 kB / 0.5194 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.3397, allocations: 68.83 kB / 0.5194 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3398, allocations: 126.2 kB / 0.5195 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.34, allocations: 200.4 kB / 0.5197 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.3401, allocations: 7.969 kB / 0.5197 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3402, allocations: 68.42 kB / 0.5198 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3403, allocations: 101 kB / 0.5199 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.3404, allocations: 121.6 kB / 0.52 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.3406, allocations: 299.8 kB / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3406, allocations: 3.938 kB / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3406, allocations: 0 / 0.5203 GB, free: 34.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3406, allocations: 3.938 kB / 0.5203 GB, free: 34.75 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005873/0.3412, allocations: 0.6441 MB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3413, allocations: 10.91 kB / 0.5209 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.3413, allocations: 37.12 kB / 0.521 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.3416, allocations: 330.6 kB / 0.5213 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.3416, allocations: 7.25 kB / 0.5213 GB, free: 33.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.3417, allocations: 16.91 kB / 0.5213 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3418, allocations: 113.9 kB / 0.5214 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3419, allocations: 0 / 0.5214 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3419, allocations: 6.906 kB / 0.5214 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3419, allocations: 0 / 0.5214 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.342, allocations: 73.56 kB / 0.5215 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.3425, allocations: 490 kB / 0.522 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3427, allocations: 96.14 kB / 0.5221 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.3428, allocations: 34 kB / 0.5221 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.3428, allocations: 7.984 kB / 0.5221 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3428, allocations: 37 kB / 0.5221 GB, free: 33.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.3428, allocations: 0 / 0.5221 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007693/0.3436, allocations: 384.3 kB / 0.5225 GB, free: 33.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3436, allocations: 51.41 kB / 0.5226 GB, free: 33.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.3441, allocations: 0.5584 MB / 0.5231 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3441, allocations: 33.7 kB / 0.5231 GB, free: 32.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.3442, allocations: 204 kB / 0.5233 GB, free: 32.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3443, allocations: 56.2 kB / 0.5234 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3443, allocations: 32 kB / 0.5234 GB, free: 32.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.3444, allocations: 358.4 kB / 0.5238 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.3445, allocations: 49.19 kB / 0.5238 GB, free: 32.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.3446, allocations: 55.73 kB / 0.5239 GB, free: 32.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3449, allocations: 130.1 kB / 0.524 GB, free: 32.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3449, allocations: 3.938 kB / 0.524 GB, free: 32.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002701/0.3451, allocations: 189.4 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3452, allocations: 3 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3452, allocations: 3.844 kB / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3452, allocations: 0 / 0.5242 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3453, allocations: 38.95 kB / 0.5242 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3453, allocations: 6.656 kB / 0.5242 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.3454, allocations: 2.344 kB / 0.5242 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3454, allocations: 8.344 kB / 0.5242 GB, free: 32.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.0001156/0.3456, allocations: 180.2 kB / 0.5244 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.3456, allocations: 36.94 kB / 0.5244 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.346, allocations: 246.3 kB / 0.5247 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.346, allocations: 0 / 0.5247 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.346, allocations: 3.188 kB / 0.5247 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.346, allocations: 0 / 0.5247 GB, free: 31.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.3467, allocations: 0.6252 MB / 0.5253 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3467, allocations: 0 / 0.5253 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/0.3468, allocations: 41.91 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3468, allocations: 0 / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3468, allocations: 2.844 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3468, allocations: 2.594 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3468, allocations: 3.938 kB / 0.5253 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.3475, allocations: 0.9801 MB / 0.5263 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.3475, allocations: 109.2 kB / 0.5264 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3476, allocations: 7.984 kB / 0.5264 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.3477, allocations: 8.609 kB / 0.5264 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3477, allocations: 12.55 kB / 0.5264 GB, free: 30.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3477, allocations: 9.438 kB / 0.5264 GB, free: 30.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003816/0.3481, allocations: 421.2 kB / 0.5268 GB, free: 30.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3481, allocations: 0 / 0.5268 GB, free: 30.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.3485, allocations: 55.7 kB / 0.5269 GB, free: 30.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.0015/0.35, allocations: 0.6721 MB / 0.5275 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.3503, allocations: 133.3 kB / 0.5277 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3503, allocations: 0 / 0.5277 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3504, allocations: 75.02 kB / 0.5277 GB, free: 29.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.351, allocations: 73.88 kB / 0.5278 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.3518, allocations: 0.9563 MB / 0.5287 GB, free: 29.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.352, allocations: 0.823 MB / 0.5295 GB, free: 28.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.66e-05/0.3521, allocations: 47.31 kB / 0.5296 GB, free: 28.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.3522, allocations: 27.98 kB / 0.5296 GB, free: 28.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3522, allocations: 4 kB / 0.5296 GB, free: 28.39 MB / 378.7 MB Notification: Performance of Templates: time 0.005757/0.358, allocations: 3.205 MB / 0.5328 GB, free: 28.03 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches