Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 79.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3764, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002957/0.3794, allocations: 1.677 MB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.3805, allocations: 0.5587 MB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3805, allocations: 1.25 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.3812, allocations: 453.4 kB / 0.5343 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.3816, allocations: 292.5 kB / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.382, allocations: 137.2 kB / 0.5347 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.3823, allocations: 173.1 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3824, allocations: 25.61 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3825, allocations: 114.2 kB / 0.535 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.3827, allocations: 206 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3828, allocations: 3.688 kB / 0.5352 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3829, allocations: 56.98 kB / 0.5353 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.383, allocations: 90.2 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.3831, allocations: 99.72 kB / 0.5354 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3834, allocations: 274.4 kB / 0.5357 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3835, allocations: 0 / 0.5357 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3835, allocations: 3.984 kB / 0.5357 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3835, allocations: 1.188 kB / 0.5357 GB, free: 10.92 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.0007277/0.3842, allocations: 0.636 MB / 0.5363 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3843, allocations: 10.22 kB / 0.5363 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.3843, allocations: 47.09 kB / 0.5364 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3846, allocations: 302.2 kB / 0.5367 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.3846, allocations: 1.406 kB / 0.5367 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3847, allocations: 11.41 kB / 0.5367 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3848, allocations: 61.58 kB / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3849, allocations: 0 / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.3849, allocations: 0 / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3849, allocations: 1.312 kB / 0.5367 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.385, allocations: 37.59 kB / 0.5368 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.3855, allocations: 393.4 kB / 0.5372 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3856, allocations: 46.97 kB / 0.5372 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.3857, allocations: 20.72 kB / 0.5372 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3857, allocations: 1.25 kB / 0.5372 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3857, allocations: 39.84 kB / 0.5373 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3857, allocations: 3.938 kB / 0.5373 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009238/0.3867, allocations: 295.3 kB / 0.5375 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3867, allocations: 56.72 kB / 0.5376 GB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.3876, allocations: 0.8684 MB / 0.5384 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3876, allocations: 25.7 kB / 0.5385 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3878, allocations: 230.9 kB / 0.5387 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3878, allocations: 26.36 kB / 0.5387 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.3879, allocations: 19.53 kB / 0.5387 GB, free: 8.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3881, allocations: 364.7 kB / 0.5391 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.3881, allocations: 21.8 kB / 0.5391 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.3882, allocations: 26.33 kB / 0.5391 GB, free: 8.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3884, allocations: 69.58 kB / 0.5392 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3884, allocations: 0 / 0.5392 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002329/0.3886, allocations: 134.2 kB / 0.5393 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3886, allocations: 4.938 kB / 0.5393 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3887, allocations: 5.156 kB / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3887, allocations: 0 / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3888, allocations: 22.14 kB / 0.5394 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3888, allocations: 5.281 kB / 0.5394 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.3889, allocations: 7.125 kB / 0.5394 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3889, allocations: 6.688 kB / 0.5394 GB, free: 8.016 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 (8): * Single equations (assignments): 8 * 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.000193/0.3891, allocations: 214 kB / 0.5396 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.3892, allocations: 42.28 kB / 0.5396 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.3895, allocations: 160 kB / 0.5398 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3895, allocations: 1.125 kB / 0.5398 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.3895, allocations: 3.938 kB / 0.5398 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3895, allocations: 1.062 kB / 0.5398 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.3902, allocations: 0.5018 MB / 0.5403 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3902, allocations: 5.562 kB / 0.5403 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.3903, allocations: 21.17 kB / 0.5403 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3903, allocations: 5.156 kB / 0.5403 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3903, allocations: 1.562 kB / 0.5403 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3903, allocations: 1.469 kB / 0.5403 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3903, allocations: 432 / 0.5403 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.3906, allocations: 231 kB / 0.5405 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.3907, allocations: 114.4 kB / 0.5406 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.3907, allocations: 9.062 kB / 0.5406 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.3908, allocations: 8.047 kB / 0.5406 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3909, allocations: 11.2 kB / 0.5407 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.3909, allocations: 1.75 kB / 0.5407 GB, free: 6.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006442/0.3915, allocations: 0.6571 MB / 0.5413 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3915, allocations: 1.094 kB / 0.5413 GB, free: 6.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3918, allocations: 33.88 kB / 0.5413 GB, free: 6.621 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001085/0.3929, allocations: 448.6 kB / 0.5418 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3932, allocations: 72.09 kB / 0.5418 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3932, allocations: 4 kB / 0.5418 GB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.3933, allocations: 33.86 kB / 0.5419 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.3937, allocations: 33.23 kB / 0.5419 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.395, allocations: 0.8583 MB / 0.5427 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3954, allocations: 0.8289 MB / 0.5435 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.3954, allocations: 15.56 kB / 0.5436 GB, free: 5.066 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3954, allocations: 4 kB / 0.5436 GB, free: 5.062 MB / 398.1 MB Notification: Performance of Templates: time 0.007288/0.4027, allocations: 3.961 MB / 0.5474 GB, free: 1.363 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches