Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 230.2 MB / 250.8 MB, free: 8.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2127/0.2127, allocations: 46.89 MB / 351.8 MB, free: 7.336 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 79.88 kB / 496.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3217, allocations: 65.97 MB / 0.5493 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003132/0.3248, allocations: 1.682 MB / 0.551 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.3258, allocations: 0.5884 MB / 0.5515 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3259, allocations: 3.938 kB / 0.5515 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.3262, allocations: 67.72 kB / 0.5516 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002961/0.3265, allocations: 91.59 kB / 0.5517 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.3269, allocations: 179.1 kB / 0.5519 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.327, allocations: 83.88 kB / 0.5519 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3272, allocations: 24.16 kB / 0.552 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.3272, allocations: 43.83 kB / 0.552 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3273, allocations: 55.69 kB / 0.5521 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3273, allocations: 4 kB / 0.5521 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.3274, allocations: 47.98 kB / 0.5521 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.3275, allocations: 23.92 kB / 0.5521 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.3276, allocations: 35.73 kB / 0.5522 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3278, allocations: 120.1 kB / 0.5523 GB, free: 2.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3278, allocations: 0 / 0.5523 GB, free: 2.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3278, allocations: 4 kB / 0.5523 GB, free: 2.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3278, allocations: 0 / 0.5523 GB, free: 2.504 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.000587/0.3284, allocations: 430.6 kB / 0.5527 GB, free: 2.035 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3284, allocations: 8.031 kB / 0.5527 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3284, allocations: 16.84 kB / 0.5527 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.3287, allocations: 200.1 kB / 0.5529 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3288, allocations: 384 / 0.5529 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.3288, allocations: 8.375 kB / 0.5529 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.329, allocations: 77.72 kB / 0.553 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.329, allocations: 0 / 0.553 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.329, allocations: 0 / 0.553 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.329, allocations: 0 / 0.553 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.3292, allocations: 43.95 kB / 0.553 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005227/0.3297, allocations: 324.7 kB / 0.5533 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3299, allocations: 62.55 kB / 0.5534 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.33, allocations: 28.97 kB / 0.5534 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.33, allocations: 3.984 kB / 0.5534 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.33, allocations: 30.56 kB / 0.5535 GB, free: 1.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.33, allocations: 96 / 0.5535 GB, free: 1.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00143/0.3315, allocations: 428.9 kB / 0.5539 GB, free: 0.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3315, allocations: 59.34 kB / 0.5539 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3317, allocations: 195.3 kB / 0.5541 GB, free: 448 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3317, allocations: 25.7 kB / 0.5541 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.3318, allocations: 112.1 kB / 0.5542 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3319, allocations: 39.64 kB / 0.5543 GB, free: 260 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3319, allocations: 29.7 kB / 0.5543 GB, free: 224 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3321, allocations: 322.8 kB / 0.5546 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3322, allocations: 51.95 kB / 0.5547 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3323, allocations: 48.53 kB / 0.5547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.3326, allocations: 133 kB / 0.5548 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3326, allocations: 3.938 kB / 0.5548 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003257/0.3329, allocations: 173.4 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3329, allocations: 4 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.333, allocations: 4 kB / 0.555 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.333, allocations: 4 kB / 0.555 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3331, allocations: 35.91 kB / 0.5551 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3331, allocations: 0 / 0.5551 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.074e-05/0.3332, allocations: 11.98 kB / 0.5551 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3332, allocations: 4 kB / 0.5551 GB, free: 15.42 MB / 414.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.0001123/0.3333, allocations: 129.8 kB / 0.5552 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3333, allocations: 15.89 kB / 0.5552 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.3337, allocations: 186.9 kB / 0.5554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.3337, allocations: 7.938 kB / 0.5554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3338, allocations: 0 / 0.5554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3338, allocations: 0 / 0.5554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007338/0.3345, allocations: 0.5 MB / 0.5559 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3345, allocations: 4 kB / 0.5559 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3346, allocations: 23.98 kB / 0.5559 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3346, allocations: 0 / 0.5559 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3346, allocations: 8 kB / 0.5559 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3346, allocations: 7.922 kB / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3346, allocations: 0 / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.335, allocations: 277 kB / 0.5562 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.3351, allocations: 89.02 kB / 0.5563 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3351, allocations: 0 / 0.5563 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3352, allocations: 15.98 kB / 0.5563 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3352, allocations: 11.94 kB / 0.5563 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3353, allocations: 7.984 kB / 0.5563 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3354, allocations: 148.9 kB / 0.5564 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3354, allocations: 0 / 0.5564 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3357, allocations: 27.92 kB / 0.5565 GB, free: 13.86 MB / 414.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.001701/0.3374, allocations: 466.7 kB / 0.5569 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.3377, allocations: 131.8 kB / 0.557 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3377, allocations: 0 / 0.557 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3378, allocations: 64.03 kB / 0.5571 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3382, allocations: 23.92 kB / 0.5571 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.3388, allocations: 324.1 kB / 0.5574 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3392, allocations: 0.7235 MB / 0.5581 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.3393, allocations: 28.53 kB / 0.5582 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3394, allocations: 15.44 kB / 0.5582 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3394, allocations: 0 / 0.5582 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.004818/0.3442, allocations: 1.666 MB / 0.5598 GB, free: 10.54 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches