Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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.007932/0.007932, allocations: 107.7 kB / 21.98 MB, free: 5.223 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.001931/0.001931, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.426/1.426, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2243/0.2243, allocations: 46.93 MB / 362.3 MB, free: 4.168 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6") [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.002307/0.002307, allocations: 83.86 kB / 0.4982 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3159, allocations: 66.08 MB / 0.5627 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003263/0.3192, allocations: 1.679 MB / 0.5644 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3203, allocations: 0.5731 MB / 0.5649 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.3203, allocations: 4 kB / 0.565 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.3209, allocations: 451.2 kB / 0.5654 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005131/0.3214, allocations: 299.3 kB / 0.5657 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3218, allocations: 131.6 kB / 0.5658 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.322, allocations: 167.6 kB / 0.566 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3221, allocations: 19.97 kB / 0.566 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3223, allocations: 111.7 kB / 0.5661 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.3226, allocations: 259.5 kB / 0.5663 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3226, allocations: 4 kB / 0.5663 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.3227, allocations: 28 kB / 0.5664 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3228, allocations: 83.69 kB / 0.5664 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.997e-05/0.3229, allocations: 111 kB / 0.5665 GB, free: 320 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.3232, allocations: 261 kB / 0.5668 GB, free: 64 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3232, allocations: 4 kB / 0.5668 GB, free: 60 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3232, allocations: 0 / 0.5668 GB, free: 60 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3232, allocations: 4 kB / 0.5668 GB, free: 56 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.0007941/0.324, allocations: 0.5892 MB / 0.5674 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.324, allocations: 8.031 kB / 0.5674 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.3241, allocations: 52.59 kB / 0.5674 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3244, allocations: 230.8 kB / 0.5677 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3244, allocations: 12.36 kB / 0.5677 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3244, allocations: 384 / 0.5677 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3246, allocations: 62.16 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3246, allocations: 4.188 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3246, allocations: 7.938 kB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3246, allocations: 4 kB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3248, allocations: 31.97 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.3253, allocations: 355.8 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.3254, allocations: 50.53 kB / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/0.3255, allocations: 28.83 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3255, allocations: 0 / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3255, allocations: 30.56 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3255, allocations: 0 / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008554/0.3264, allocations: 308.6 kB / 0.5685 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.3264, allocations: 51.41 kB / 0.5686 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.3274, allocations: 0.8574 MB / 0.5694 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3274, allocations: 25.7 kB / 0.5694 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3276, allocations: 212.1 kB / 0.5696 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.3276, allocations: 31.73 kB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3276, allocations: 21.72 kB / 0.5697 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3278, allocations: 366.7 kB / 0.57 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3279, allocations: 31.97 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.328, allocations: 31.97 kB / 0.5701 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3282, allocations: 80.75 kB / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3282, allocations: 0 / 0.5702 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000287/0.3285, allocations: 141.4 kB / 0.5703 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3285, allocations: 7.938 kB / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3285, allocations: 0 / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3286, allocations: 0 / 0.5703 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3287, allocations: 23.98 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3287, allocations: 0 / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.3288, allocations: 15.98 kB / 0.5703 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3288, allocations: 4.312 kB / 0.5703 GB, free: 12.23 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 (7): * Single equations (assignments): 7 * 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.0002756/0.3291, allocations: 217.7 kB / 0.5706 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.3291, allocations: 47.66 kB / 0.5706 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/0.3295, allocations: 177.3 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3295, allocations: 0 / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3295, allocations: 0 / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3295, allocations: 0 / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.3302, allocations: 473.4 kB / 0.5712 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3302, allocations: 0 / 0.5712 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.3303, allocations: 27.97 kB / 0.5712 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3303, allocations: 0 / 0.5712 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3303, allocations: 4 kB / 0.5712 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3303, allocations: 0 / 0.5712 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3303, allocations: 3.938 kB / 0.5713 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.3307, allocations: 235.2 kB / 0.5715 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.3307, allocations: 40 kB / 0.5715 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.3308, allocations: 7.922 kB / 0.5715 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-05/0.3308, allocations: 8 kB / 0.5715 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3309, allocations: 19.84 kB / 0.5715 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3309, allocations: 0 / 0.5715 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006534/0.3315, allocations: 0.655 MB / 0.5722 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3315, allocations: 0 / 0.5722 GB, free: 10.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3318, allocations: 24 kB / 0.5722 GB, free: 10.23 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 (7): * Single equations (assignments): 7 * 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.001466/0.3333, allocations: 403.2 kB / 0.5726 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.3336, allocations: 75.92 kB / 0.5727 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3336, allocations: 0 / 0.5727 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3337, allocations: 43.91 kB / 0.5727 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3341, allocations: 37.77 kB / 0.5727 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3354, allocations: 0.8589 MB / 0.5736 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.3359, allocations: 0.8229 MB / 0.5744 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.3359, allocations: 15.44 kB / 0.5744 GB, free: 8.059 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3359, allocations: 0 / 0.5744 GB, free: 8.059 MB / 414.1 MB Notification: Performance of Templates: time 0.007525/0.3435, allocations: 3.832 MB / 0.5781 GB, free: 4.219 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.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: 7.709326652111486]