Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, 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.312/1.312, 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.001009/0.001009, allocations: 111 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.351/0.351, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3345, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003251/0.3378, allocations: 1.736 MB / 0.5168 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3389, allocations: 0.5827 MB / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.339, allocations: 0 / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.3396, allocations: 447.4 kB / 0.5178 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.34, allocations: 274 kB / 0.5181 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.3405, allocations: 171.2 kB / 0.5183 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.3407, allocations: 174.5 kB / 0.5184 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3408, allocations: 28.12 kB / 0.5185 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3409, allocations: 109.5 kB / 0.5186 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.3412, allocations: 206.4 kB / 0.5188 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3412, allocations: 2.906 kB / 0.5188 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3413, allocations: 45.56 kB / 0.5188 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3415, allocations: 92.75 kB / 0.5189 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.3415, allocations: 110.4 kB / 0.519 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.3418, allocations: 261.7 kB / 0.5193 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3418, allocations: 0 / 0.5193 GB, free: 35.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3418, allocations: 0 / 0.5193 GB, free: 35.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3418, allocations: 2.969 kB / 0.5193 GB, free: 35.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006877/0.3425, allocations: 0.6552 MB / 0.5199 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3426, allocations: 11.03 kB / 0.5199 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.3427, allocations: 41.09 kB / 0.5199 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3429, allocations: 310.1 kB / 0.5202 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3429, allocations: 3.281 kB / 0.5202 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.343, allocations: 3.188 kB / 0.5202 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3432, allocations: 69.02 kB / 0.5203 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3432, allocations: 2.781 kB / 0.5203 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3432, allocations: 0 / 0.5203 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3432, allocations: 0 / 0.5203 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.3434, allocations: 50.33 kB / 0.5204 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.3439, allocations: 413.1 kB / 0.5208 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3442, allocations: 56.09 kB / 0.5208 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.3443, allocations: 34.67 kB / 0.5208 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3443, allocations: 7.938 kB / 0.5209 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.3443, allocations: 33.84 kB / 0.5209 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.3444, allocations: 0 / 0.5209 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001668/0.346, allocations: 486.6 kB / 0.5213 GB, free: 34.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.3461, allocations: 62.19 kB / 0.5214 GB, free: 34.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.347, allocations: 0.8678 MB / 0.5223 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.347, allocations: 28.48 kB / 0.5223 GB, free: 33.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.3472, allocations: 210.5 kB / 0.5225 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3472, allocations: 35.58 kB / 0.5225 GB, free: 33.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.3473, allocations: 29.03 kB / 0.5225 GB, free: 33.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3474, allocations: 364.5 kB / 0.5229 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3475, allocations: 58.61 kB / 0.5229 GB, free: 33.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3477, allocations: 60.23 kB / 0.523 GB, free: 33.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.348, allocations: 126.2 kB / 0.5231 GB, free: 33.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.348, allocations: 2.969 kB / 0.5231 GB, free: 33.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003896/0.3484, allocations: 196.5 kB / 0.5233 GB, free: 33.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3485, allocations: 5.781 kB / 0.5233 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3485, allocations: 0 / 0.5233 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3485, allocations: 0 / 0.5233 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3486, allocations: 34.55 kB / 0.5234 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3486, allocations: 0 / 0.5234 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.3487, allocations: 8.984 kB / 0.5234 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3488, allocations: 6.906 kB / 0.5234 GB, free: 33.05 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 (11): * Single equations (assignments): 11 * 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.0001759/0.3489, allocations: 225.6 kB / 0.5236 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.349, allocations: 48.23 kB / 0.5236 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.3495, allocations: 220.3 kB / 0.5238 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3495, allocations: 6.75 kB / 0.5238 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3495, allocations: 0 / 0.5238 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3495, allocations: 7.359 kB / 0.5239 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008287/0.3504, allocations: 0.5995 MB / 0.5244 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3504, allocations: 0 / 0.5244 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3505, allocations: 27.28 kB / 0.5245 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3505, allocations: 7.062 kB / 0.5245 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3506, allocations: 7.469 kB / 0.5245 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3506, allocations: 3.094 kB / 0.5245 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3506, allocations: 0 / 0.5245 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.3513, allocations: 1.002 MB / 0.5255 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.3514, allocations: 111.8 kB / 0.5256 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3515, allocations: 2.844 kB / 0.5256 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.3517, allocations: 12.77 kB / 0.5256 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.3518, allocations: 15.94 kB / 0.5256 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3518, allocations: 6.75 kB / 0.5256 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005746/0.3524, allocations: 0.656 MB / 0.5262 GB, free: 31.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3524, allocations: 0 / 0.5262 GB, free: 31.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005708/0.353, allocations: 37.27 kB / 0.5263 GB, free: 31.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001055/0.3541, allocations: 455.3 kB / 0.5267 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.3545, allocations: 126.2 kB / 0.5268 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3545, allocations: 0 / 0.5268 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3546, allocations: 72.72 kB / 0.5269 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.3552, allocations: 31.11 kB / 0.5269 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3564, allocations: 1.09 MB / 0.528 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.3567, allocations: 0.8487 MB / 0.5288 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3568, allocations: 25.45 kB / 0.5289 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.3569, allocations: 15.56 kB / 0.5289 GB, free: 29.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3569, allocations: 3.938 kB / 0.5289 GB, free: 29.45 MB / 378.7 MB Notification: Performance of Templates: time 0.005393/0.3623, allocations: 1.865 MB / 0.5307 GB, free: 29.24 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches