Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001471/0.001471, allocations: 113.1 kB / 21.85 MB, free: 68 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.001643/0.001643, allocations: 212.3 kB / 25.13 MB, free: 3.586 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.447/1.447, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2467/0.2467, allocations: 46.93 MB / 362 MB, free: 4.227 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5") [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.002405/0.002405, allocations: 83.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3135, allocations: 66.07 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003103/0.3166, allocations: 1.674 MB / 0.564 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.3177, allocations: 0.5654 MB / 0.5645 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.3178, allocations: 0 / 0.5645 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.3184, allocations: 455.1 kB / 0.565 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.3189, allocations: 303.3 kB / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3193, allocations: 123.7 kB / 0.5654 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.3195, allocations: 167.6 kB / 0.5655 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3196, allocations: 23.64 kB / 0.5656 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3197, allocations: 107.7 kB / 0.5657 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.32, allocations: 251.5 kB / 0.5659 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.32, allocations: 7.938 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.933e-05/0.3201, allocations: 35.98 kB / 0.5659 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.3202, allocations: 83.69 kB / 0.566 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.821e-05/0.3203, allocations: 103 kB / 0.5661 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.3207, allocations: 265.5 kB / 0.5664 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3207, allocations: 0 / 0.5664 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3207, allocations: 0 / 0.5664 GB, free: 144 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3207, allocations: 3.938 kB / 0.5664 GB, free: 140 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007482/0.3214, allocations: 0.5776 MB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3215, allocations: 8.031 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.3215, allocations: 44.66 kB / 0.567 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3218, allocations: 238.8 kB / 0.5672 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3218, allocations: 4.359 kB / 0.5672 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3218, allocations: 8.375 kB / 0.5672 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.322, allocations: 50.25 kB / 0.5673 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.322, allocations: 192 / 0.5673 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.322, allocations: 3.938 kB / 0.5673 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.322, allocations: 0 / 0.5673 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-05/0.3221, allocations: 31.86 kB / 0.5673 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3226, allocations: 363.7 kB / 0.5677 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.3228, allocations: 50.48 kB / 0.5677 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.3228, allocations: 12.86 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.3229, allocations: 4 kB / 0.5677 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3229, allocations: 30.56 kB / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3229, allocations: 0 / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006177/0.3235, allocations: 240.9 kB / 0.568 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3236, allocations: 51.41 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.3245, allocations: 0.8653 MB / 0.5689 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3245, allocations: 25.7 kB / 0.5689 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3247, allocations: 224.1 kB / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3247, allocations: 15.84 kB / 0.5691 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3247, allocations: 17.7 kB / 0.5691 GB, free: 13.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3249, allocations: 370.7 kB / 0.5695 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.325, allocations: 15.98 kB / 0.5695 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.325, allocations: 24.05 kB / 0.5695 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3252, allocations: 44.83 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3252, allocations: 0 / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002261/0.3254, allocations: 129.3 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3254, allocations: 4 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3254, allocations: 3.984 kB / 0.5697 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3254, allocations: 0 / 0.5697 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.3255, allocations: 12 kB / 0.5697 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3255, allocations: 3.938 kB / 0.5697 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.3256, allocations: 7.984 kB / 0.5697 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.3256, allocations: 0 / 0.5697 GB, free: 12.5 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 (5): * Single equations (assignments): 5 * 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.0001976/0.3258, allocations: 213.7 kB / 0.5699 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.3258, allocations: 47.72 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3261, allocations: 133.1 kB / 0.5701 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3261, allocations: 0 / 0.5701 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3261, allocations: 4 kB / 0.5701 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3261, allocations: 0 / 0.5701 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.3267, allocations: 425.5 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3267, allocations: 4.312 kB / 0.5705 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.3268, allocations: 19.86 kB / 0.5705 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3268, allocations: 0 / 0.5705 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3268, allocations: 12 kB / 0.5705 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3268, allocations: 0 / 0.5705 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3268, allocations: 3.938 kB / 0.5706 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.327, allocations: 211.2 kB / 0.5708 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.3271, allocations: 39.67 kB / 0.5708 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3271, allocations: 0 / 0.5708 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.3272, allocations: 7.984 kB / 0.5708 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3272, allocations: 7.938 kB / 0.5708 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3272, allocations: 0 / 0.5708 GB, free: 11.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006597/0.3279, allocations: 0.6589 MB / 0.5715 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 0.5715 GB, free: 10.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.3282, allocations: 23.94 kB / 0.5715 GB, free: 10.62 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 (5): * Single equations (assignments): 5 * 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.001488/0.3296, allocations: 404.4 kB / 0.5719 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.3299, allocations: 43.97 kB / 0.5719 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3299, allocations: 0 / 0.5719 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.224e-05/0.3299, allocations: 23.98 kB / 0.5719 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3303, allocations: 38.16 kB / 0.572 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3315, allocations: 0.8022 MB / 0.5727 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/0.3323, allocations: 0.8299 MB / 0.5736 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.21e-05/0.3323, allocations: 7.781 kB / 0.5736 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.3324, allocations: 15.42 kB / 0.5736 GB, free: 8.551 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3324, allocations: 3.938 kB / 0.5736 GB, free: 8.547 MB / 414.1 MB Notification: Performance of Templates: time 0.005343/0.3377, allocations: 1.518 MB / 0.5751 GB, free: 7.031 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.9738512460608035]