Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.001675/0.001675, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001674/0.001674, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2241/0.2241, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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.00198/0.00198, allocations: 69.92 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3184, allocations: 65.48 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003112/0.3215, allocations: 1.597 MB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3226, allocations: 0.5309 MB / 0.5595 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.3226, allocations: 0 / 0.5595 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3228, allocations: 31.84 kB / 0.5596 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.3231, allocations: 83.62 kB / 0.5597 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.3234, allocations: 87.7 kB / 0.5597 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3235, allocations: 75.81 kB / 0.5598 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.3236, allocations: 11.98 kB / 0.5598 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.3237, allocations: 27.86 kB / 0.5599 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.448e-05/0.3238, allocations: 31.84 kB / 0.5599 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3238, allocations: 8 kB / 0.5599 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.324, allocations: 91.88 kB / 0.56 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.324, allocations: 23.92 kB / 0.56 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.324, allocations: 15.88 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3243, allocations: 157.8 kB / 0.5602 GB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3243, allocations: 0 / 0.5602 GB, free: 4.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3243, allocations: 0 / 0.5602 GB, free: 4.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3243, allocations: 0 / 0.5602 GB, free: 4.727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004671/0.3248, allocations: 337.6 kB / 0.5605 GB, free: 4.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.3248, allocations: 12.03 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.3248, allocations: 12.83 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.325, allocations: 133.4 kB / 0.5606 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.3251, allocations: 12.38 kB / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3251, allocations: 384 / 0.5607 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3253, allocations: 101.2 kB / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3253, allocations: 0 / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3253, allocations: 0 / 0.5607 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3253, allocations: 4 kB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3254, allocations: 31.97 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.3258, allocations: 240.5 kB / 0.561 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.3259, allocations: 66.41 kB / 0.5611 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.326, allocations: 24.98 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.326, allocations: 7.984 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3261, allocations: 30.56 kB / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3261, allocations: 0 / 0.5611 GB, free: 3.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006291/0.3267, allocations: 181.4 kB / 0.5613 GB, free: 3.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.3267, allocations: 81.05 kB / 0.5614 GB, free: 3.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3269, allocations: 156.2 kB / 0.5615 GB, free: 3.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3269, allocations: 29.7 kB / 0.5616 GB, free: 3.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.327, allocations: 100 kB / 0.5617 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.327, allocations: 27.83 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.3271, allocations: 25.72 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3272, allocations: 326.8 kB / 0.562 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.3273, allocations: 27.97 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3274, allocations: 79.33 kB / 0.5621 GB, free: 2.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3276, allocations: 68.86 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3276, allocations: 0 / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00024/0.3278, allocations: 121.5 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3278, allocations: 4 kB / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3278, allocations: 0 / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3279, allocations: 0 / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.328, allocations: 19.98 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.328, allocations: 0 / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.328, allocations: 7.984 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.328, allocations: 11.94 kB / 0.5623 GB, free: 2.289 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 (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 prepare postOptimizeDAE: time 0.0001022/0.3281, allocations: 125.7 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.3282, allocations: 8.234 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.3284, allocations: 118.3 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3284, allocations: 0 / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3284, allocations: 3.938 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3285, allocations: 0 / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3289, allocations: 342 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.329, allocations: 0 / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.442e-05/0.329, allocations: 19.98 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.329, allocations: 0 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.329, allocations: 384 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.329, allocations: 0 / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.329, allocations: 7.938 kB / 0.5629 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3293, allocations: 203.4 kB / 0.5631 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.3293, allocations: 11.94 kB / 0.5631 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3294, allocations: 8 kB / 0.5632 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.3294, allocations: 4 kB / 0.5632 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.3295, allocations: 7.922 kB / 0.5632 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3295, allocations: 8 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.3296, allocations: 115.2 kB / 0.5633 GB, free: 1.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3296, allocations: 0 / 0.5633 GB, free: 1.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3299, allocations: 43.86 kB / 0.5633 GB, free: 1.207 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 (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.00184/0.3317, allocations: 0.5369 MB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.332, allocations: 75.88 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.332, allocations: 0 / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.579e-05/0.3321, allocations: 35.92 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3324, allocations: 23.69 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.3328, allocations: 197.9 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.3329, allocations: 83.06 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.313e-05/0.333, allocations: 24.56 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.333, allocations: 19.42 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.333, allocations: 0 / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of Templates: time 0.005424/0.3385, allocations: 2.037 MB / 0.5663 GB, free: 14.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_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: 5.359358059242368]