Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001412, 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.001728/0.001728, allocations: 212.9 kB / 19.41 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.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 76.16 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3177, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.00376/0.3215, allocations: 2.039 MB / 0.5337 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3236, allocations: 1.022 MB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.3239, allocations: 5.375 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.3244, allocations: 248.9 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006605/0.3251, allocations: 261 kB / 0.5351 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.3262, allocations: 496 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3268, allocations: 323.7 kB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3269, allocations: 76.58 kB / 0.536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.3271, allocations: 140.3 kB / 0.5361 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.3275, allocations: 210.2 kB / 0.5363 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.3275, allocations: 15.3 kB / 0.5363 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3277, allocations: 70.94 kB / 0.5364 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3278, allocations: 92.61 kB / 0.5365 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3279, allocations: 119 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.3284, allocations: 321.2 kB / 0.5369 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3284, allocations: 0 / 0.5369 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3284, allocations: 0 / 0.5369 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3284, allocations: 0 / 0.5369 GB, free: 9.805 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008519/0.3293, allocations: 0.652 MB / 0.5376 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3293, allocations: 10.02 kB / 0.5376 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.72e-05/0.3294, allocations: 42.88 kB / 0.5376 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.3298, allocations: 319.4 kB / 0.5379 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3298, allocations: 8.625 kB / 0.5379 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3298, allocations: 15.75 kB / 0.5379 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3301, allocations: 115 kB / 0.538 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3301, allocations: 1.625 kB / 0.5381 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3301, allocations: 4 kB / 0.5381 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3302, allocations: 2.969 kB / 0.5381 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3303, allocations: 70.23 kB / 0.5381 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.3311, allocations: 490.3 kB / 0.5386 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.3312, allocations: 90.77 kB / 0.5387 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3314, allocations: 37.22 kB / 0.5387 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3314, allocations: 6.156 kB / 0.5387 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3314, allocations: 31.78 kB / 0.5387 GB, free: 8.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3314, allocations: 1.406 kB / 0.5388 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001038/0.3325, allocations: 400.8 kB / 0.5391 GB, free: 7.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3325, allocations: 53.5 kB / 0.5392 GB, free: 7.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.3332, allocations: 0.5601 MB / 0.5397 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3333, allocations: 29.7 kB / 0.5398 GB, free: 7.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3334, allocations: 205.8 kB / 0.54 GB, free: 7.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.3335, allocations: 53.8 kB / 0.54 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.3336, allocations: 34.55 kB / 0.54 GB, free: 7.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3337, allocations: 354.2 kB / 0.5404 GB, free: 6.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3339, allocations: 45.94 kB / 0.5404 GB, free: 6.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.334, allocations: 59.09 kB / 0.5405 GB, free: 6.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3343, allocations: 120 kB / 0.5406 GB, free: 6.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3343, allocations: 3.938 kB / 0.5406 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003597/0.3347, allocations: 199.6 kB / 0.5408 GB, free: 6.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3347, allocations: 5.812 kB / 0.5408 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3347, allocations: 0 / 0.5408 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3347, allocations: 1.344 kB / 0.5408 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.3349, allocations: 31.02 kB / 0.5408 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.3349, allocations: 5.125 kB / 0.5408 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.335, allocations: 11.77 kB / 0.5408 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.335, allocations: 4.562 kB / 0.5408 GB, free: 6.719 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 (17): * Single equations (assignments): 17 * 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.0002141/0.3352, allocations: 180.2 kB / 0.541 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.3353, allocations: 41.72 kB / 0.5411 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.3358, allocations: 236.2 kB / 0.5413 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3358, allocations: 6.281 kB / 0.5413 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3358, allocations: 0 / 0.5413 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3358, allocations: 1.094 kB / 0.5413 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.3367, allocations: 0.623 MB / 0.5419 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3367, allocations: 5.188 kB / 0.5419 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.3368, allocations: 37.53 kB / 0.5419 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.3368, allocations: 1.094 kB / 0.5419 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3368, allocations: 10.11 kB / 0.5419 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3368, allocations: 5.156 kB / 0.542 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3369, allocations: 3.938 kB / 0.542 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.3373, allocations: 301.1 kB / 0.5422 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3374, allocations: 100.9 kB / 0.5423 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.3374, allocations: 1.344 kB / 0.5423 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.3375, allocations: 11.23 kB / 0.5424 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3376, allocations: 18.73 kB / 0.5424 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3376, allocations: 8.438 kB / 0.5424 GB, free: 5.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004637/0.3381, allocations: 424.4 kB / 0.5428 GB, free: 5.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3381, allocations: 0 / 0.5428 GB, free: 5.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.3384, allocations: 51.19 kB / 0.5428 GB, free: 5.266 MB / 398.1 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 (17): * Single equations (assignments): 17 * 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.001651/0.3401, allocations: 0.6724 MB / 0.5435 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3404, allocations: 139.8 kB / 0.5436 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3404, allocations: 0 / 0.5436 GB, free: 4.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3406, allocations: 72.59 kB / 0.5437 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3411, allocations: 81.2 kB / 0.5438 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.3422, allocations: 0.6933 MB / 0.5444 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3426, allocations: 0.8057 MB / 0.5452 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.3427, allocations: 35.92 kB / 0.5453 GB, free: 3.621 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3427, allocations: 0 / 0.5453 GB, free: 3.621 MB / 398.1 MB Notification: Performance of Templates: time 0.007262/0.35, allocations: 4.546 MB / 0.5497 GB, free: 15.18 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches