Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, 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.255/1.255, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009273/0.0009276, allocations: 101.3 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3869/0.3869, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3389, allocations: 62.02 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002482/0.3414, allocations: 1.713 MB / 0.5168 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007852/0.3422, allocations: 0.5773 MB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.3423, allocations: 0 / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.3428, allocations: 449.9 kB / 0.5178 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.3433, allocations: 284.7 kB / 0.5181 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.3436, allocations: 159.7 kB / 0.5182 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3438, allocations: 179.3 kB / 0.5184 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.3439, allocations: 10.84 kB / 0.5184 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.344, allocations: 107.6 kB / 0.5185 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.3442, allocations: 210.7 kB / 0.5187 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3442, allocations: 3 kB / 0.5187 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.3443, allocations: 34.34 kB / 0.5188 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3444, allocations: 89.42 kB / 0.5188 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.3445, allocations: 100 kB / 0.5189 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.3448, allocations: 256.8 kB / 0.5192 GB, free: 35.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3448, allocations: 0 / 0.5192 GB, free: 35.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3448, allocations: 0 / 0.5192 GB, free: 35.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3448, allocations: 4 kB / 0.5192 GB, free: 35.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006323/0.3454, allocations: 0.6486 MB / 0.5198 GB, free: 35.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3455, allocations: 8.75 kB / 0.5198 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.3455, allocations: 41.94 kB / 0.5199 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.3458, allocations: 301.3 kB / 0.5202 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.3458, allocations: 3.344 kB / 0.5202 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.3458, allocations: 4.375 kB / 0.5202 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.346, allocations: 61.12 kB / 0.5202 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.346, allocations: 7.125 kB / 0.5202 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.346, allocations: 7.422 kB / 0.5202 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.346, allocations: 0 / 0.5202 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3462, allocations: 32.3 kB / 0.5203 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.3466, allocations: 400.6 kB / 0.5207 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3467, allocations: 54.92 kB / 0.5207 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.454e-05/0.3468, allocations: 23.73 kB / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3468, allocations: 10.23 kB / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3469, allocations: 30.56 kB / 0.5208 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3469, allocations: 0 / 0.5208 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007567/0.3476, allocations: 305.9 kB / 0.5211 GB, free: 34.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.3477, allocations: 51.41 kB / 0.5211 GB, free: 34.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.3483, allocations: 0.8633 MB / 0.522 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.3483, allocations: 25.7 kB / 0.522 GB, free: 33.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3485, allocations: 222.8 kB / 0.5222 GB, free: 33.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3485, allocations: 21.47 kB / 0.5222 GB, free: 33.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3485, allocations: 19.44 kB / 0.5222 GB, free: 33.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.3486, allocations: 362.3 kB / 0.5226 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3487, allocations: 38.86 kB / 0.5226 GB, free: 33.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.3488, allocations: 36.84 kB / 0.5226 GB, free: 33.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.349, allocations: 90.97 kB / 0.5227 GB, free: 33.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.349, allocations: 3.938 kB / 0.5227 GB, free: 33.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002941/0.3493, allocations: 161.1 kB / 0.5229 GB, free: 33.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3494, allocations: 7.625 kB / 0.5229 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3494, allocations: 0 / 0.5229 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3494, allocations: 4 kB / 0.5229 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.3495, allocations: 23.77 kB / 0.5229 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3495, allocations: 320 / 0.5229 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.3496, allocations: 12.2 kB / 0.5229 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3496, allocations: 2.812 kB / 0.5229 GB, free: 33.18 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 (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.0001326/0.3497, allocations: 223.8 kB / 0.5232 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.3498, allocations: 41.97 kB / 0.5232 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.3501, allocations: 185.9 kB / 0.5234 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3501, allocations: 0 / 0.5234 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3502, allocations: 4 kB / 0.5234 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3502, allocations: 4.219 kB / 0.5234 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.3507, allocations: 0.5072 MB / 0.5239 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3508, allocations: 0 / 0.5239 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.3508, allocations: 24.5 kB / 0.5239 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3508, allocations: 0 / 0.5239 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3509, allocations: 7.922 kB / 0.5239 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3509, allocations: 0 / 0.5239 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3509, allocations: 2.969 kB / 0.5239 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.3516, allocations: 0.938 MB / 0.5248 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.3517, allocations: 110.9 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3517, allocations: 0 / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.3518, allocations: 8.484 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.3519, allocations: 5.844 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3519, allocations: 6.656 kB / 0.5249 GB, free: 31.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006897/0.3526, allocations: 0.6562 MB / 0.5256 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3526, allocations: 0 / 0.5256 GB, free: 31.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004079/0.353, allocations: 24.5 kB / 0.5256 GB, free: 31.36 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 (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 Backend phase and start with SimCode phase: time 0.001153/0.3542, allocations: 402.1 kB / 0.526 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003052/0.3545, allocations: 92.62 kB / 0.5261 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3545, allocations: 0 / 0.5261 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3546, allocations: 49.92 kB / 0.5261 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.3551, allocations: 32.08 kB / 0.5262 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3562, allocations: 1.025 MB / 0.5272 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3565, allocations: 0.8325 MB / 0.528 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.3566, allocations: 22.89 kB / 0.528 GB, free: 29.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.3566, allocations: 13.03 kB / 0.528 GB, free: 29.8 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3566, allocations: 0 / 0.528 GB, free: 29.8 MB / 378.7 MB Notification: Performance of Templates: time 0.004359/0.361, allocations: 1.556 MB / 0.5295 GB, free: 29.6 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches