Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001331/0.001331, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001459/0.001459, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2341/0.2341, 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [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.002074/0.002074, allocations: 67.91 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.277, allocations: 65.47 MB / 0.5583 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003199/0.2802, allocations: 1.707 MB / 0.5599 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2812, allocations: 0.5776 MB / 0.5605 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.2813, allocations: 8 kB / 0.5605 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.2815, allocations: 27.78 kB / 0.5605 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.2817, allocations: 83.5 kB / 0.5606 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.282, allocations: 143.3 kB / 0.5608 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.2822, allocations: 87.77 kB / 0.5608 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.2823, allocations: 20 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.2824, allocations: 39.83 kB / 0.5609 GB, free: 5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.2825, allocations: 43.78 kB / 0.5609 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2825, allocations: 8 kB / 0.5609 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2827, allocations: 111.9 kB / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.2827, allocations: 23.91 kB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.2828, allocations: 31.81 kB / 0.5611 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.2831, allocations: 165.8 kB / 0.5613 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2831, allocations: 0 / 0.5613 GB, free: 4.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2831, allocations: 0 / 0.5613 GB, free: 4.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.2831, allocations: 0 / 0.5613 GB, free: 4.629 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.0006388/0.2837, allocations: 373.5 kB / 0.5616 GB, free: 4.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2838, allocations: 12.02 kB / 0.5616 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2838, allocations: 8.891 kB / 0.5616 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.284, allocations: 142.9 kB / 0.5618 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.284, allocations: 8.375 kB / 0.5618 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.284, allocations: 7.938 kB / 0.5618 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.2843, allocations: 87.31 kB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2843, allocations: 0 / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.2843, allocations: 11.98 kB / 0.5619 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2843, allocations: 0 / 0.5619 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.2846, allocations: 67.91 kB / 0.562 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.2851, allocations: 287.8 kB / 0.5622 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2853, allocations: 62.53 kB / 0.5623 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2855, allocations: 44.95 kB / 0.5623 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2855, allocations: 4 kB / 0.5623 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.2855, allocations: 30.56 kB / 0.5624 GB, free: 3.375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.2855, allocations: 0 / 0.5624 GB, free: 3.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001592/0.2871, allocations: 385 kB / 0.5627 GB, free: 2.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.2872, allocations: 85.05 kB / 0.5628 GB, free: 2.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2874, allocations: 158 kB / 0.563 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2874, allocations: 25.7 kB / 0.563 GB, free: 2.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.2875, allocations: 100.1 kB / 0.5631 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.2875, allocations: 31.7 kB / 0.5631 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.2876, allocations: 25.7 kB / 0.5631 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2877, allocations: 322.9 kB / 0.5634 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.288, allocations: 79.8 kB / 0.5635 GB, free: 2.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.2883, allocations: 85.64 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.2888, allocations: 148.7 kB / 0.5637 GB, free: 1.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2888, allocations: 0 / 0.5637 GB, free: 1.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006271/0.2895, allocations: 193.4 kB / 0.5639 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2895, allocations: 7.984 kB / 0.5639 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2895, allocations: 3.938 kB / 0.5639 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2895, allocations: 4 kB / 0.5639 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.2897, allocations: 31.97 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2897, allocations: 4 kB / 0.564 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.2899, allocations: 31.95 kB / 0.564 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.2899, allocations: 0 / 0.564 GB, free: 1.609 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 (10): * Single equations (assignments): 10 * 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.0001023/0.29, allocations: 117.8 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.29, allocations: 7.953 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006764/0.2907, allocations: 214.3 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2907, allocations: 0 / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2907, allocations: 0 / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2907, allocations: 96 / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.2917, allocations: 477.3 kB / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2917, allocations: 0 / 0.5648 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.2919, allocations: 40.33 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2919, allocations: 8 kB / 0.5648 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2919, allocations: 4 kB / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2919, allocations: 0 / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2919, allocations: 0 / 0.5648 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.2925, allocations: 287.2 kB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.2926, allocations: 15.89 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2926, allocations: 4 kB / 0.5651 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.2928, allocations: 19.97 kB / 0.5651 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.2928, allocations: 11.98 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2928, allocations: 0 / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2929, allocations: 127.2 kB / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2929, allocations: 0 / 0.5653 GB, free: 220 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.2932, allocations: 51.86 kB / 0.5653 GB, free: 168 kB / 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 (9): * Single equations (assignments): 9 * 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.001763/0.295, allocations: 0.508 MB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.2957, allocations: 155.8 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2957, allocations: 0 / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.2959, allocations: 75.86 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2963, allocations: 29.22 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.2968, allocations: 236.5 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.2971, allocations: 0.7002 MB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.2972, allocations: 23.36 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2972, allocations: 0 / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004789/0.302, allocations: 2.507 MB / 0.5695 GB, free: 12.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.694202766055241]