Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 118.6 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002063/0.002063, allocations: 211.7 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.11 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 92.05 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3442, allocations: 62.44 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00306/0.3472, allocations: 1.675 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3484, allocations: 0.5854 MB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.3485, allocations: 1.219 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3488, allocations: 60.25 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.3491, allocations: 97.59 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3496, allocations: 181.2 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.3498, allocations: 86.48 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3499, allocations: 20.47 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.35, allocations: 38.91 kB / 0.5344 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3501, allocations: 55.19 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3501, allocations: 4.125 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3502, allocations: 52.98 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.3503, allocations: 24.17 kB / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.3504, allocations: 34.61 kB / 0.5346 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3506, allocations: 115.9 kB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3506, allocations: 0 / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3506, allocations: 0 / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3506, allocations: 1.375 kB / 0.5347 GB, free: 11.34 MB / 398.1 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.0006687/0.3513, allocations: 422.3 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3513, allocations: 9.625 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.3514, allocations: 20.97 kB / 0.5351 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.3516, allocations: 200.5 kB / 0.5353 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3516, allocations: 9.688 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3516, allocations: 3.125 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3518, allocations: 72.97 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3518, allocations: 5.359 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3519, allocations: 4 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3519, allocations: 1.375 kB / 0.5354 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.352, allocations: 40.72 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.3525, allocations: 332.4 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3528, allocations: 55.3 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/0.3529, allocations: 29.3 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3529, allocations: 7.984 kB / 0.5359 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3529, allocations: 31.78 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3529, allocations: 5 kB / 0.5359 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00158/0.3545, allocations: 417.1 kB / 0.5363 GB, free: 9.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3545, allocations: 60.44 kB / 0.5364 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.3548, allocations: 183.9 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3548, allocations: 26.92 kB / 0.5366 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.3549, allocations: 104.6 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.3549, allocations: 41.3 kB / 0.5367 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.355, allocations: 25.02 kB / 0.5367 GB, free: 9.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3551, allocations: 327.3 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3553, allocations: 52.38 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.3554, allocations: 53.2 kB / 0.5371 GB, free: 9.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3558, allocations: 132.2 kB / 0.5373 GB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3558, allocations: 0 / 0.5373 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000382/0.3561, allocations: 164.9 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3562, allocations: 8.281 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3562, allocations: 0 / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3562, allocations: 1.156 kB / 0.5374 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3563, allocations: 27.55 kB / 0.5375 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.3563, allocations: 1.125 kB / 0.5375 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.3564, allocations: 17.33 kB / 0.5375 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.3564, allocations: 7.625 kB / 0.5375 GB, free: 8.98 MB / 398.1 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.0001275/0.3565, allocations: 136.4 kB / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3566, allocations: 14.38 kB / 0.5376 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.3571, allocations: 190.4 kB / 0.5378 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3571, allocations: 9.156 kB / 0.5378 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3571, allocations: 0 / 0.5378 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3571, allocations: 0 / 0.5378 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.3579, allocations: 0.5012 MB / 0.5383 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3579, allocations: 1.312 kB / 0.5383 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.358, allocations: 28.53 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.358, allocations: 1 kB / 0.5383 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.358, allocations: 14.19 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.358, allocations: 1 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3581, allocations: 1.156 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.3585, allocations: 281 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.3586, allocations: 87.98 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3586, allocations: 2.312 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3587, allocations: 14.11 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.3588, allocations: 12.52 kB / 0.5387 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3588, allocations: 3.438 kB / 0.5387 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3589, allocations: 148.8 kB / 0.5389 GB, free: 7.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3589, allocations: 0 / 0.5389 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.3592, allocations: 22.88 kB / 0.5389 GB, free: 7.797 MB / 398.1 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.001705/0.3609, allocations: 456.9 kB / 0.5393 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3613, allocations: 126.2 kB / 0.5395 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3613, allocations: 0 / 0.5395 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3615, allocations: 68.92 kB / 0.5395 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3619, allocations: 24.2 kB / 0.5395 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.3626, allocations: 307.7 kB / 0.5398 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.363, allocations: 0.7163 MB / 0.5405 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.3631, allocations: 39.58 kB / 0.5406 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.3631, allocations: 14.56 kB / 0.5406 GB, free: 6.492 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3631, allocations: 0 / 0.5406 GB, free: 6.492 MB / 398.1 MB Notification: Performance of Templates: time 0.005195/0.3683, allocations: 1.642 MB / 0.5422 GB, free: 5.656 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches