Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.001609/0.001609, allocations: 77 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001475/0.001475, allocations: 177 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.047/1.047, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1675/0.1675, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.083e-05, allocations: 4.281 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.001798/0.001819, allocations: 1.599 MB / 349.7 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003996/0.002219, allocations: 303.4 kB / 350 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.002263, allocations: 0 / 350 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.002637, allocations: 455.1 kB / 350.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.002877, allocations: 251.4 kB / 350.7 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.003057, allocations: 99.73 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.003211, allocations: 163.6 kB / 351 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.003308, allocations: 4 kB / 351 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.00341, allocations: 111.8 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.003556, allocations: 243.6 kB / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003573, allocations: 0 / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.003624, allocations: 27.92 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.003694, allocations: 75.72 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.003721, allocations: 39.69 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.003872, allocations: 183.2 kB / 351.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003874, allocations: 0 / 351.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003874, allocations: 0 / 351.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.003878, allocations: 4 kB / 351.7 MB, free: 5.621 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003695/0.004248, allocations: 0.6853 MB / 352.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.004287, allocations: 8.031 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.004326, allocations: 44.66 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.004447, allocations: 228.9 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.004454, allocations: 12.31 kB / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.00446, allocations: 384 / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.116e-05/0.004531, allocations: 50.95 kB / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004537, allocations: 192 / 352.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.004544, allocations: 8.125 kB / 352.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.004548, allocations: 4 kB / 352.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.434e-05/0.004562, allocations: 7.984 kB / 352.7 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.004787, allocations: 324.3 kB / 353 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.655e-05/0.004824, allocations: 38.97 kB / 353 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.004835, allocations: 7.75 kB / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.004854, allocations: 4 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.004868, allocations: 41.33 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004869, allocations: 0 / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001097/0.004979, allocations: 77.36 kB / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.005001, allocations: 59.52 kB / 353.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.005259, allocations: 0.5923 MB / 353.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.005265, allocations: 29.7 kB / 353.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.005361, allocations: 294.7 kB / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.005375, allocations: 7.953 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.005402, allocations: 19.36 kB / 354.2 MB, free: 2.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.005487, allocations: 0.5586 MB / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-06/0.005495, allocations: 0 / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.005502, allocations: 3.984 kB / 354.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.737e-05/0.005519, allocations: 11.69 kB / 354.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005521, allocations: 4.062 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.428e-05/0.005575, allocations: 81.34 kB / 354.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.005586, allocations: 8 kB / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00559, allocations: 0 / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.005598, allocations: 0 / 354.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.005641, allocations: 4 kB / 354.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.005646, allocations: 7.922 kB / 354.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.005668, allocations: 3.953 kB / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.005674, allocations: 4 kB / 354.9 MB, free: 2.215 MB / 282.7 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 (2): * Single equations (assignments): 2 * 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 5.135e-05/0.005725, allocations: 152.6 kB / 355 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.005747, allocations: 43.73 kB / 355 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.669e-05/0.005814, allocations: 72.64 kB / 355.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.005815, allocations: 0 / 355.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005817, allocations: 4 kB / 355.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005819, allocations: 3.938 kB / 355.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.005937, allocations: 201.1 kB / 355.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005938, allocations: 0 / 355.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.005952, allocations: 4 kB / 355.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005954, allocations: 0 / 355.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-06/0.005957, allocations: 0 / 355.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005958, allocations: 7.969 kB / 355.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005959, allocations: 3.984 kB / 355.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.339e-05/0.006022, allocations: 215.7 kB / 355.5 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.00604, allocations: 35.72 kB / 355.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006051, allocations: 0 / 355.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/0.006084, allocations: 11.92 kB / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.006104, allocations: 0 / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.006106, allocations: 4 kB / 355.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.006247, allocations: 386.7 kB / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006247, allocations: 0 / 356 MB, free: 1.031 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.006394, allocations: 27.89 kB / 356 MB, free: 1.004 MB / 282.7 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 (2): * Single equations (assignments): 2 * 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.0005868/0.006981, allocations: 319.7 kB / 356.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.084e-05/0.007032, allocations: 19.67 kB / 356.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007033, allocations: 0 / 356.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.007044, allocations: 15.69 kB / 356.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.00726, allocations: 21.91 kB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.007687, allocations: 0.5582 MB / 356.9 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.00776, allocations: 123.2 kB / 357.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.871e-05/0.007778, allocations: 7.922 kB / 357.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.007827, allocations: 78.19 kB / 357.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007828, allocations: 0 / 357.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Templates: time 0.003421/0.01125, allocations: 1.249 MB / 358.4 MB, free: 14.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1330244289711118]