Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002008/0.002008, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2093/0.2093, allocations: 46.1 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 80.08 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3138, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002779/0.3166, allocations: 1.684 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3176, allocations: 0.577 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.3177, allocations: 1.062 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.318, allocations: 70.89 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.3183, allocations: 110.2 kB / 0.5341 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.3187, allocations: 180 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3189, allocations: 96.45 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.319, allocations: 23.02 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.319, allocations: 41.7 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3192, allocations: 53.33 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3192, allocations: 8.109 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3193, allocations: 56.91 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.3194, allocations: 26.92 kB / 0.5345 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.3194, allocations: 38.56 kB / 0.5346 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.3196, allocations: 116.9 kB / 0.5347 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3196, allocations: 1.375 kB / 0.5347 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3196, allocations: 0 / 0.5347 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3196, allocations: 0 / 0.5347 GB, free: 11.38 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.0004889/0.3201, allocations: 431 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3202, allocations: 9.625 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3202, allocations: 14.28 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3204, allocations: 204.4 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.3204, allocations: 1.75 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3205, allocations: 3.125 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3206, allocations: 74.41 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3207, allocations: 0 / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3207, allocations: 0 / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3207, allocations: 1.375 kB / 0.5354 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3209, allocations: 52.58 kB / 0.5354 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.3213, allocations: 329.9 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.3216, allocations: 64.7 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.3217, allocations: 26.72 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3217, allocations: 0 / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3217, allocations: 35.94 kB / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.3217, allocations: 0 / 0.5359 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001545/0.3233, allocations: 431 kB / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3233, allocations: 56.56 kB / 0.5363 GB, free: 9.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3236, allocations: 222.3 kB / 0.5365 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3236, allocations: 30.86 kB / 0.5366 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.3236, allocations: 101.9 kB / 0.5367 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.3237, allocations: 35.83 kB / 0.5367 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.3237, allocations: 26.27 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3239, allocations: 327.3 kB / 0.537 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.324, allocations: 52.36 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3242, allocations: 53.16 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3245, allocations: 124.3 kB / 0.5373 GB, free: 9.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3245, allocations: 3.938 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003685/0.3248, allocations: 165.2 kB / 0.5374 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3249, allocations: 8.719 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3249, allocations: 1.469 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3249, allocations: 0 / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.325, allocations: 36.25 kB / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.325, allocations: 1.469 kB / 0.5375 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.3251, allocations: 13.48 kB / 0.5375 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3251, allocations: 3.781 kB / 0.5375 GB, free: 9.012 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 9.977e-05/0.3252, allocations: 133.9 kB / 0.5376 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3253, allocations: 14.56 kB / 0.5376 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.3257, allocations: 191.8 kB / 0.5378 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3257, allocations: 5.188 kB / 0.5378 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3258, allocations: 3.984 kB / 0.5378 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.3258, allocations: 3.984 kB / 0.5378 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.3265, allocations: 0.4991 MB / 0.5383 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3265, allocations: 0.9375 kB / 0.5383 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.3266, allocations: 28.53 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3266, allocations: 1.25 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3266, allocations: 6.344 kB / 0.5383 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3266, allocations: 5.094 kB / 0.5384 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3266, allocations: 5.156 kB / 0.5384 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.327, allocations: 282.4 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.3271, allocations: 88.61 kB / 0.5387 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3271, allocations: 9.188 kB / 0.5387 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3272, allocations: 10.83 kB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.3273, allocations: 8.641 kB / 0.5387 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3273, allocations: 7.438 kB / 0.5387 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.3274, allocations: 162.7 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3274, allocations: 1.062 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3277, allocations: 26.22 kB / 0.5389 GB, free: 7.812 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.001044/0.3288, allocations: 465.6 kB / 0.5394 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.3292, allocations: 129.4 kB / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3292, allocations: 0 / 0.5395 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3293, allocations: 67.33 kB / 0.5396 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3297, allocations: 30.33 kB / 0.5396 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.3304, allocations: 353.3 kB / 0.5399 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3306, allocations: 0.7173 MB / 0.5406 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.3307, allocations: 15.94 kB / 0.5406 GB, free: 6.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3307, allocations: 0 / 0.5406 GB, free: 6.477 MB / 398.1 MB Notification: Performance of Templates: time 0.004527/0.3352, allocations: 2.128 MB / 0.5427 GB, free: 5.367 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches