Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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.00151/0.00151, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.001737/0.001737, allocations: 204.1 kB / 25.13 MB, free: 3.578 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.44/1.44, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.224/0.224, allocations: 46.94 MB / 362 MB, free: 4.238 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002299/0.002299, allocations: 79.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3223, allocations: 66.08 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003544/0.3258, allocations: 2.072 MB / 0.5644 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.328, allocations: 1.15 MB / 0.5655 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3281, allocations: 4 kB / 0.5655 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.3287, allocations: 271.1 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.3292, allocations: 263 kB / 0.566 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3308, allocations: 0.6486 MB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.3313, allocations: 366.8 kB / 0.567 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.3315, allocations: 59.56 kB / 0.567 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3317, allocations: 155.4 kB / 0.5672 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.332, allocations: 231.1 kB / 0.5674 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.332, allocations: 12 kB / 0.5674 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.3323, allocations: 108 kB / 0.5675 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.3325, allocations: 91.62 kB / 0.5676 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.3326, allocations: 134.9 kB / 0.5677 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.3332, allocations: 350 kB / 0.5681 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3332, allocations: 4 kB / 0.5681 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3332, allocations: 4 kB / 0.5681 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3332, allocations: 0 / 0.5681 GB, free: 14.41 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.0009229/0.3341, allocations: 0.6048 MB / 0.5687 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3341, allocations: 8.031 kB / 0.5687 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.3342, allocations: 52.61 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3346, allocations: 264.6 kB / 0.569 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3347, allocations: 8.375 kB / 0.569 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3347, allocations: 8.375 kB / 0.569 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.335, allocations: 131 kB / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.335, allocations: 192 / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.335, allocations: 7.938 kB / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.335, allocations: 4 kB / 0.5691 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.3352, allocations: 99.8 kB / 0.5692 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/0.336, allocations: 479.4 kB / 0.5697 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3362, allocations: 110.5 kB / 0.5698 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3363, allocations: 36.84 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3363, allocations: 0 / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3363, allocations: 34.78 kB / 0.5699 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.3363, allocations: 3.938 kB / 0.5699 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001045/0.3374, allocations: 460.3 kB / 0.5703 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3374, allocations: 55.34 kB / 0.5704 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006662/0.3381, allocations: 0.5643 MB / 0.5709 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3381, allocations: 29.7 kB / 0.5709 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.3383, allocations: 212.4 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.3383, allocations: 55.48 kB / 0.5712 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.3384, allocations: 37.7 kB / 0.5712 GB, free: 11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3385, allocations: 354.8 kB / 0.5716 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3387, allocations: 67.95 kB / 0.5716 GB, free: 10.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3388, allocations: 71.95 kB / 0.5717 GB, free: 10.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.3391, allocations: 151.1 kB / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3391, allocations: 0 / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004101/0.3395, allocations: 245.1 kB / 0.5721 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3395, allocations: 4 kB / 0.5721 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3395, allocations: 4 kB / 0.5721 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3396, allocations: 0 / 0.5721 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3397, allocations: 31.98 kB / 0.5721 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3397, allocations: 3.984 kB / 0.5721 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.3398, allocations: 8 kB / 0.5721 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3398, allocations: 4 kB / 0.5721 GB, free: 10.06 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.000188/0.34, allocations: 185.7 kB / 0.5723 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.3401, allocations: 51.59 kB / 0.5724 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.3406, allocations: 283.9 kB / 0.5726 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.3406, allocations: 4 kB / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3406, allocations: 0 / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3406, allocations: 3.984 kB / 0.5726 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.3416, allocations: 0.6495 MB / 0.5733 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3416, allocations: 0 / 0.5733 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.3417, allocations: 39.91 kB / 0.5733 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3417, allocations: 0 / 0.5733 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3417, allocations: 4 kB / 0.5733 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3417, allocations: 4 kB / 0.5733 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3417, allocations: 0 / 0.5733 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.3422, allocations: 339 kB / 0.5736 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3422, allocations: 27.77 kB / 0.5737 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.3422, allocations: 3.984 kB / 0.5737 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.3423, allocations: 8 kB / 0.5737 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3424, allocations: 7.984 kB / 0.5737 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3424, allocations: 11.92 kB / 0.5737 GB, free: 8.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004506/0.3428, allocations: 431.1 kB / 0.5741 GB, free: 7.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3428, allocations: 3.938 kB / 0.5741 GB, free: 7.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.3431, allocations: 55.86 kB / 0.5742 GB, free: 7.898 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.002711/0.3458, allocations: 0.6886 MB / 0.5748 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004004/0.3462, allocations: 163.8 kB / 0.575 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3462, allocations: 0 / 0.575 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3464, allocations: 83.89 kB / 0.5751 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.347, allocations: 71.17 kB / 0.5751 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3481, allocations: 0.7362 MB / 0.5759 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3486, allocations: 0.8299 MB / 0.5767 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.3487, allocations: 57.84 kB / 0.5767 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.3488, allocations: 31.44 kB / 0.5767 GB, free: 5.477 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3488, allocations: 0 / 0.5767 GB, free: 5.477 MB / 414.1 MB Notification: Performance of Templates: time 0.007588/0.3563, allocations: 3.483 MB / 0.5802 GB, free: 2.004 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.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: 5.004307614872232]