Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.00105/0.00105, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001171/0.001171, allocations: 169.3 kB / 24.24 MB, free: 316 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.295/1.295, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 178] 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.1679/0.1679, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.036e-05/4.323e-05, allocations: 2.312 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00417/0.004213, allocations: 1.644 MB / 349.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008403/0.005054, allocations: 343.2 kB / 349.7 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.005163, allocations: 4 kB / 349.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.005916, allocations: 451.1 kB / 350.1 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.00639, allocations: 259.4 kB / 350.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.006906, allocations: 155.6 kB / 350.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.007269, allocations: 163.7 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.007425, allocations: 12.19 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.007642, allocations: 115.8 kB / 350.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.007906, allocations: 239.6 kB / 351 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.007934, allocations: 0 / 351 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.008048, allocations: 35.86 kB / 351.1 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.008169, allocations: 99.62 kB / 351.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.00823, allocations: 31.75 kB / 351.2 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.008576, allocations: 191.2 kB / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.008581, allocations: 0 / 351.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.008583, allocations: 4 kB / 351.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.008594, allocations: 0 / 351.4 MB, free: 6.051 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.000747/0.009341, allocations: 0.6815 MB / 352.1 MB, free: 5.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.009403, allocations: 15.97 kB / 352.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.996e-05/0.009503, allocations: 44.61 kB / 352.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.009779, allocations: 240.9 kB / 352.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.009796, allocations: 8.375 kB / 352.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.009824, allocations: 384 / 352.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.01, allocations: 62.94 kB / 352.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01002, allocations: 192 / 352.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.01003, allocations: 7.938 kB / 352.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01004, allocations: 3.938 kB / 352.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/0.01009, allocations: 11.98 kB / 352.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.01065, allocations: 423.6 kB / 352.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.01088, allocations: 43 kB / 352.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.01091, allocations: 15.77 kB / 352.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.01094, allocations: 4 kB / 352.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.01096, allocations: 41.33 kB / 353 MB, free: 4.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.033e-06/0.01097, allocations: 0 / 353 MB, free: 4.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005552/0.01152, allocations: 184.7 kB / 353.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.01155, allocations: 51.41 kB / 353.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.01208, allocations: 0.6238 MB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.01209, allocations: 29.7 kB / 353.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.01225, allocations: 274.8 kB / 354.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.01228, allocations: 23.83 kB / 354.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.01232, allocations: 23.38 kB / 354.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01245, allocations: 0.5547 MB / 354.7 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.01248, allocations: 7.984 kB / 354.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.0125, allocations: 4 kB / 354.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.01255, allocations: 27.88 kB / 354.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01255, allocations: 0 / 354.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.01268, allocations: 97.62 kB / 354.9 MB, free: 2.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.0127, allocations: 8 kB / 354.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01271, allocations: 0 / 354.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01272, allocations: 0 / 354.9 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.01279, allocations: 11.98 kB / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.0128, allocations: 0 / 354.9 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.01284, allocations: 11.98 kB / 354.9 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.01285, allocations: 0 / 354.9 MB, free: 2.336 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 7.685e-05/0.01293, allocations: 164.5 kB / 355 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.01297, allocations: 39.72 kB / 355.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.01316, allocations: 101.1 kB / 355.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01316, allocations: 0 / 355.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.01316, allocations: 0 / 355.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01317, allocations: 0 / 355.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.01359, allocations: 469.4 kB / 355.6 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01359, allocations: 4 kB / 355.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.01364, allocations: 15.92 kB / 355.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.01365, allocations: 4 kB / 355.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.01366, allocations: 0 / 355.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.01366, allocations: 3.938 kB / 355.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01366, allocations: 0 / 355.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.01383, allocations: 247.8 kB / 355.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.01387, allocations: 31.72 kB / 355.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.01389, allocations: 0 / 355.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.01396, allocations: 4 kB / 355.9 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.01401, allocations: 7.984 kB / 356 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.01402, allocations: 8 kB / 356 MB, free: 1.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003358/0.01435, allocations: 422.8 kB / 356.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01435, allocations: 0 / 356.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.01464, allocations: 27.94 kB / 356.4 MB, free: 0.7422 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.001146/0.01578, allocations: 375.2 kB / 356.8 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.01591, allocations: 35.61 kB / 356.8 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01592, allocations: 0 / 356.8 MB, free: 436 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.686e-05/0.01594, allocations: 15.69 kB / 356.8 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.01634, allocations: 27.2 kB / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.01724, allocations: 0.5704 MB / 357.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.01735, allocations: 123.2 kB / 357.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.01741, allocations: 15.98 kB / 357.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.01745, allocations: 12.5 kB / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01746, allocations: 0 / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Templates: time 0.00542/0.02288, allocations: 1.389 MB / 358.9 MB, free: 14.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.6889182289596647]