Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 257.8 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2381/0.2381, allocations: 46.89 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "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.002407/0.002407, allocations: 79.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3085, allocations: 66 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.00361/0.3121, allocations: 2.055 MB / 0.5632 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.314, allocations: 1.045 MB / 0.5642 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.3141, allocations: 3.938 kB / 0.5642 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.3146, allocations: 255.2 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.3151, allocations: 263.1 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3162, allocations: 496.8 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.3166, allocations: 323 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3168, allocations: 63.36 kB / 0.5656 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3169, allocations: 139.4 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.3172, allocations: 223.2 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3173, allocations: 15.94 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3174, allocations: 75.95 kB / 0.566 GB, free: 88 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.3176, allocations: 95.62 kB / 0.5661 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3177, allocations: 115 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.3181, allocations: 326.2 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3181, allocations: 7.984 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3181, allocations: 0 / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3181, allocations: 0 / 0.5665 GB, free: 15.55 MB / 414.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.0008446/0.3189, allocations: 0.6569 MB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.319, allocations: 8.031 kB / 0.5672 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.3191, allocations: 44.66 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.3195, allocations: 326.5 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3195, allocations: 12.38 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3195, allocations: 8.375 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3197, allocations: 114.1 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3198, allocations: 4.172 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3198, allocations: 3.938 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3198, allocations: 4 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.32, allocations: 71.95 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.3207, allocations: 484.3 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.3209, allocations: 86.55 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.3209, allocations: 32.84 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.321, allocations: 3.984 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.321, allocations: 34.56 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.321, allocations: 0 / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009948/0.322, allocations: 401 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.322, allocations: 59.31 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006533/0.3227, allocations: 0.5565 MB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3227, allocations: 29.7 kB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.3229, allocations: 204.4 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.3229, allocations: 63.47 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.323, allocations: 33.7 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3232, allocations: 358.8 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3233, allocations: 43.97 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3234, allocations: 51.97 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.3236, allocations: 123 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3236, allocations: 0 / 0.5702 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003705/0.324, allocations: 201.1 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.324, allocations: 12 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.324, allocations: 0 / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3241, allocations: 3.938 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3242, allocations: 35.98 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3242, allocations: 0 / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.3243, allocations: 7.984 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3243, allocations: 4 kB / 0.5705 GB, free: 11.29 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 (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.0001791/0.3245, allocations: 177.8 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.3246, allocations: 47.66 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.325, allocations: 247.7 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3251, allocations: 7.984 kB / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3251, allocations: 0 / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3251, allocations: 0 / 0.5709 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.3259, allocations: 0.6154 MB / 0.5715 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.326, allocations: 12 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3261, allocations: 39.91 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3261, allocations: 0 / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3261, allocations: 4 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3261, allocations: 0 / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3261, allocations: 0 / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.3265, allocations: 305.1 kB / 0.5719 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.3266, allocations: 112.9 kB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3266, allocations: 0 / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.3267, allocations: 8 kB / 0.572 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3268, allocations: 15.92 kB / 0.572 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3268, allocations: 7.938 kB / 0.572 GB, free: 9.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004692/0.3273, allocations: 423.1 kB / 0.5724 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3273, allocations: 0 / 0.5724 GB, free: 9.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.3276, allocations: 47.94 kB / 0.5724 GB, free: 9.145 MB / 414.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.002774/0.3304, allocations: 0.6874 MB / 0.5731 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.3307, allocations: 130.4 kB / 0.5732 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3307, allocations: 0 / 0.5732 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3309, allocations: 71.84 kB / 0.5733 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.3314, allocations: 79.88 kB / 0.5734 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3326, allocations: 0.7048 MB / 0.5741 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.333, allocations: 0.8104 MB / 0.5749 GB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3332, allocations: 45.91 kB / 0.5749 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.349e-05/0.3332, allocations: 35.42 kB / 0.5749 GB, free: 6.836 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3332, allocations: 0 / 0.5749 GB, free: 6.836 MB / 414.1 MB Notification: Performance of Templates: time 0.007794/0.341, allocations: 3.329 MB / 0.5782 GB, free: 3.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.968415982089937]