Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001451/0.001451, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001631/0.001631, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.368/1.368, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 79.86 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3004, allocations: 66.03 MB / 0.5616 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003169/0.3036, allocations: 1.698 MB / 0.5632 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3046, allocations: 0.6044 MB / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.3046, allocations: 0 / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.3052, allocations: 451.1 kB / 0.5642 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.3057, allocations: 295.3 kB / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.3061, allocations: 178.5 kB / 0.5647 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.3064, allocations: 175.6 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3065, allocations: 23.02 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.3066, allocations: 119.7 kB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3069, allocations: 247.5 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3069, allocations: 4 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.307, allocations: 51.92 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3071, allocations: 87.62 kB / 0.5654 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.3072, allocations: 107 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.3076, allocations: 282.3 kB / 0.5657 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3076, allocations: 0 / 0.5657 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3076, allocations: 3.938 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.3076, allocations: 0 / 0.5657 GB, free: 308 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007624/0.3084, allocations: 0.5931 MB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3084, allocations: 8.031 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.3085, allocations: 48.61 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.3088, allocations: 250.8 kB / 0.5666 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3088, allocations: 4.375 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.3089, allocations: 4.375 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.309, allocations: 58.23 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.309, allocations: 4.125 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.309, allocations: 7.938 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.309, allocations: 11.94 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3092, allocations: 31.97 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.3097, allocations: 375.7 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3098, allocations: 46.59 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.3099, allocations: 20.94 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3099, allocations: 8 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3099, allocations: 30.56 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3099, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009746/0.3109, allocations: 320.6 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3109, allocations: 55.39 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.3118, allocations: 0.866 MB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3118, allocations: 33.64 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.312, allocations: 232 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.312, allocations: 19.86 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3121, allocations: 25.64 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3122, allocations: 366.7 kB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.3123, allocations: 35.97 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.3124, allocations: 27.98 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3126, allocations: 81.03 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3126, allocations: 0 / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002574/0.3128, allocations: 141.3 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3128, allocations: 8 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3129, allocations: 4 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3129, allocations: 0 / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.313, allocations: 23.92 kB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.313, allocations: 0 / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.284e-05/0.313, allocations: 19.86 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.313, allocations: 0 / 0.5694 GB, free: 12.39 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 (8): * Single equations (assignments): 8 * 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.0002188/0.3133, allocations: 215.1 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.3133, allocations: 39.72 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.3137, allocations: 181.5 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3137, allocations: 3.984 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3137, allocations: 0 / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3137, allocations: 4.359 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.3144, allocations: 0.4905 MB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3144, allocations: 0 / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.3144, allocations: 19.98 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3144, allocations: 3.938 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3145, allocations: 8 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3145, allocations: 0 / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3145, allocations: 0 / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3148, allocations: 264 kB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.3148, allocations: 39.67 kB / 0.5706 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3149, allocations: 3.938 kB / 0.5706 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.315, allocations: 4 kB / 0.5706 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.315, allocations: 3.984 kB / 0.5706 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.315, allocations: 8 kB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006303/0.3156, allocations: 0.655 MB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3156, allocations: 0 / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3159, allocations: 39.88 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001634/0.3175, allocations: 446.8 kB / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3178, allocations: 79.88 kB / 0.5718 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3178, allocations: 0 / 0.5718 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3179, allocations: 43.91 kB / 0.5718 GB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3183, allocations: 26.3 kB / 0.5719 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3196, allocations: 0.8387 MB / 0.5727 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.3201, allocations: 0.8338 MB / 0.5735 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.3202, allocations: 20.42 kB / 0.5735 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.3202, allocations: 11.44 kB / 0.5735 GB, free: 8.137 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3202, allocations: 0 / 0.5735 GB, free: 8.137 MB / 414.1 MB Notification: Performance of Templates: time 0.005441/0.3257, allocations: 1.818 MB / 0.5753 GB, free: 6.332 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.6543641202151775]