Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001084/0.001084, allocations: 80.2 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.00126/0.00126, allocations: 173 kB / 24.06 MB, free: 456 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.045/1.045, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1916/0.1916, allocations: 32.38 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.284e-05, allocations: 9.344 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003475/0.003518, allocations: 1.63 MB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.004242, allocations: 327.3 kB / 350.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.004318, allocations: 3.938 kB / 350.1 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.004911, allocations: 451.1 kB / 350.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.005221, allocations: 251.4 kB / 350.8 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.005458, allocations: 107.7 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.005657, allocations: 163.6 kB / 351 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.005782, allocations: 12.17 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.005896, allocations: 115.8 kB / 351.2 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.006077, allocations: 243.6 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.006098, allocations: 4 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.006172, allocations: 27.98 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.00626, allocations: 83.7 kB / 351.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.006294, allocations: 31.75 kB / 351.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.006484, allocations: 199.1 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006486, allocations: 0 / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006488, allocations: 0 / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.006494, allocations: 0 / 351.7 MB, free: 5.531 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005047/0.006999, allocations: 0.6893 MB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.007044, allocations: 8.031 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.007094, allocations: 48.66 kB / 352.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.007244, allocations: 240.9 kB / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.007257, allocations: 4.375 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.00728, allocations: 384 / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.00738, allocations: 54.95 kB / 352.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00739, allocations: 4.188 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.007399, allocations: 3.938 kB / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.007408, allocations: 0 / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.562e-05/0.007434, allocations: 11.92 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.007735, allocations: 336.3 kB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.007889, allocations: 58.95 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.007904, allocations: 11.62 kB / 353.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.007927, allocations: 8 kB / 353.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.007942, allocations: 33.39 kB / 353.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.007944, allocations: 0 / 353.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000295/0.008238, allocations: 125.3 kB / 353.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.008262, allocations: 51.41 kB / 353.4 MB, free: 3.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.008547, allocations: 0.5962 MB / 354 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.008554, allocations: 29.7 kB / 354 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.008657, allocations: 294.7 kB / 354.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.008677, allocations: 15.84 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.008704, allocations: 27.36 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.008809, allocations: 0.5547 MB / 354.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.008822, allocations: 4 kB / 354.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.008835, allocations: 4 kB / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.008865, allocations: 19.69 kB / 354.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008868, allocations: 3.938 kB / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.228e-05/0.00895, allocations: 97.34 kB / 355 MB, free: 2.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.008962, allocations: 4 kB / 355.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008966, allocations: 0 / 355.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.008981, allocations: 4 kB / 355.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.441e-05/0.009026, allocations: 11.98 kB / 355.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.009029, allocations: 0 / 355.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.009051, allocations: 4 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.009055, allocations: 0 / 355.1 MB, free: 2 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 (5): * Single equations (assignments): 5 * 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.255e-05/0.009108, allocations: 160.5 kB / 355.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.009133, allocations: 39.72 kB / 355.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.00924, allocations: 97.36 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.009242, allocations: 4 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.009244, allocations: 0 / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009248, allocations: 8 kB / 355.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.009459, allocations: 389.8 kB / 355.8 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.00946, allocations: 4 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.009485, allocations: 11.94 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.009487, allocations: 0 / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.009492, allocations: 3.984 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.009493, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.009494, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.674e-05/0.009571, allocations: 239.6 kB / 356 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.009591, allocations: 27.77 kB / 356 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.009607, allocations: 4 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.009642, allocations: 11.94 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.009669, allocations: 7.984 kB / 356.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.009672, allocations: 0 / 356.1 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.009814, allocations: 382.7 kB / 356.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009814, allocations: 4 kB / 356.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000154/0.009968, allocations: 23.92 kB / 356.5 MB, free: 0.543 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 (5): * Single equations (assignments): 5 * 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.0006861/0.01065, allocations: 382.7 kB / 356.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.775e-05/0.01073, allocations: 31.67 kB / 356.9 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01073, allocations: 0 / 356.9 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.01075, allocations: 19.67 kB / 356.9 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.01104, allocations: 31.11 kB / 356.9 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.01185, allocations: 0.5706 MB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.01196, allocations: 119.3 kB / 357.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.012, allocations: 11.98 kB / 357.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.01209, allocations: 78.2 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01209, allocations: 0 / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.0042/0.01629, allocations: 1.463 MB / 359.2 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.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.147842022124678]