Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 112.2 kB / 21.19 MB, free: 0.7773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 206.3 kB / 24.49 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2434/0.2434, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 67.91 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2818, allocations: 65.48 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003101/0.2849, allocations: 1.667 MB / 0.5599 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2868, allocations: 1.279 MB / 0.5611 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.2868, allocations: 0 / 0.5611 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.287, allocations: 23.78 kB / 0.5612 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.2873, allocations: 87.62 kB / 0.5612 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.2876, allocations: 131.6 kB / 0.5614 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.2878, allocations: 75.77 kB / 0.5614 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.2879, allocations: 11.98 kB / 0.5615 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.2879, allocations: 31.86 kB / 0.5615 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2881, allocations: 43.77 kB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2881, allocations: 8 kB / 0.5615 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.2883, allocations: 99.88 kB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.2883, allocations: 19.92 kB / 0.5616 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.2884, allocations: 23.86 kB / 0.5617 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2886, allocations: 157.8 kB / 0.5618 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2886, allocations: 0 / 0.5618 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2886, allocations: 0 / 0.5618 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.2886, allocations: 0 / 0.5618 GB, free: 4.059 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005264/0.2892, allocations: 337.7 kB / 0.5621 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.2892, allocations: 12.03 kB / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.2892, allocations: 8.891 kB / 0.5622 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.2894, allocations: 137.2 kB / 0.5623 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2894, allocations: 4.375 kB / 0.5623 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.2895, allocations: 4.375 kB / 0.5623 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2897, allocations: 83.44 kB / 0.5624 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2897, allocations: 3.984 kB / 0.5624 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2897, allocations: 0 / 0.5624 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2897, allocations: 4 kB / 0.5624 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2898, allocations: 31.97 kB / 0.5624 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.2902, allocations: 271.8 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2903, allocations: 38.56 kB / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.2904, allocations: 28.94 kB / 0.5627 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2904, allocations: 0 / 0.5627 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2904, allocations: 30.56 kB / 0.5628 GB, free: 2.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2904, allocations: 0 / 0.5628 GB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007851/0.2912, allocations: 221.3 kB / 0.563 GB, free: 2.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.2913, allocations: 77.11 kB / 0.5631 GB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2914, allocations: 148.1 kB / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.2915, allocations: 25.7 kB / 0.5632 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/0.2915, allocations: 92.14 kB / 0.5633 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.2916, allocations: 31.73 kB / 0.5633 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.2916, allocations: 17.72 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2918, allocations: 322.8 kB / 0.5637 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.2919, allocations: 31.97 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.292, allocations: 49.62 kB / 0.5637 GB, free: 1.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2922, allocations: 81.06 kB / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2922, allocations: 0 / 0.5638 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.2925, allocations: 113.6 kB / 0.5639 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2925, allocations: 7.938 kB / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.2925, allocations: 0 / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.2926, allocations: 0 / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.2927, allocations: 23.92 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2927, allocations: 3.938 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.2928, allocations: 19.92 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2928, allocations: 0 / 0.564 GB, free: 1.645 MB / 398.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 9.643e-05/0.2929, allocations: 121.8 kB / 0.5641 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.2929, allocations: 7.953 kB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.2932, allocations: 122.3 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2933, allocations: 7.984 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2933, allocations: 0 / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2933, allocations: 3.938 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.2938, allocations: 365.5 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2938, allocations: 0 / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-05/0.2939, allocations: 19.98 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2939, allocations: 8 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.2939, allocations: 3.938 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2939, allocations: 4 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2939, allocations: 0 / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.2943, allocations: 211.4 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2943, allocations: 3.953 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2943, allocations: 11.94 kB / 0.5648 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2944, allocations: 11.98 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.2945, allocations: 4 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2945, allocations: 3.984 kB / 0.5649 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.2946, allocations: 113.5 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2946, allocations: 0 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.2949, allocations: 43.86 kB / 0.565 GB, free: 0.5117 MB / 398.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.001758/0.2966, allocations: 0.4926 MB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.2969, allocations: 87.86 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2969, allocations: 0 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.297, allocations: 39.97 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2974, allocations: 14.5 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.2979, allocations: 227.6 kB / 0.5658 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.2983, allocations: 0.6962 MB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.2983, allocations: 19.42 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2983, allocations: 3.938 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Templates: time 0.004241/0.3026, allocations: 2.091 MB / 0.5686 GB, free: 12.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.81896160193719]