Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001631/0.001631, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.002215/0.002215, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 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.044/1.044, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.143/0.143, allocations: 32.37 MB / 271.5 MB, free: 14.54 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.818e-05/4.043e-05, allocations: 9.344 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002902/0.002943, allocations: 1.638 MB / 350.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005287/0.003471, allocations: 343.2 kB / 350.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.003538, allocations: 7.938 kB / 350.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.003956, allocations: 447.2 kB / 351.3 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.004204, allocations: 263.3 kB / 351.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.004491, allocations: 151.6 kB / 351.7 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.00467, allocations: 159.7 kB / 351.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.004763, allocations: 12.19 kB / 351.9 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.119e-05/0.004854, allocations: 119.7 kB / 352 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.00501, allocations: 243.6 kB / 352.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.005025, allocations: 0 / 352.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.005091, allocations: 31.92 kB / 352.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.005161, allocations: 91.7 kB / 352.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.005191, allocations: 35.75 kB / 352.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005391, allocations: 195.2 kB / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005393, allocations: 0 / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005394, allocations: 0 / 352.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.005399, allocations: 0 / 352.6 MB, free: 5.453 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.0004596/0.005859, allocations: 0.6892 MB / 353.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.005892, allocations: 12.03 kB / 353.3 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.005935, allocations: 52.61 kB / 353.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.006078, allocations: 240.9 kB / 353.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.006089, allocations: 4.375 kB / 353.6 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.006105, allocations: 4.375 kB / 353.6 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.006208, allocations: 58.94 kB / 353.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.006217, allocations: 8.125 kB / 353.7 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-06/0.006223, allocations: 3.938 kB / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006228, allocations: 0 / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.006249, allocations: 7.984 kB / 353.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.006494, allocations: 332.3 kB / 354 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.006611, allocations: 42.98 kB / 354.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.006625, allocations: 15.62 kB / 354.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.00664, allocations: 4 kB / 354.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.006655, allocations: 45.47 kB / 354.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006656, allocations: 0 / 354.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002573/0.006914, allocations: 121.2 kB / 354.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.006935, allocations: 55.41 kB / 354.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.007194, allocations: 0.5923 MB / 354.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.007202, allocations: 29.7 kB / 354.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.007301, allocations: 294.7 kB / 355.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.007317, allocations: 15.8 kB / 355.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.007346, allocations: 27.36 kB / 355.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.007421, allocations: 0.5625 MB / 355.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.007433, allocations: 0 / 355.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.007444, allocations: 7.984 kB / 355.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.007472, allocations: 27.81 kB / 355.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007474, allocations: 7.875 kB / 355.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.411e-05/0.007548, allocations: 93.41 kB / 355.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.007558, allocations: 4 kB / 355.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007563, allocations: 0 / 355.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.007572, allocations: 0 / 355.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.007616, allocations: 12 kB / 356 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-06/0.007619, allocations: 0 / 356 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.007641, allocations: 4 kB / 356 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007648, allocations: 7.984 kB / 356 MB, free: 1.898 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.253e-05/0.0077, allocations: 156.5 kB / 356.1 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.007729, allocations: 47.66 kB / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.007836, allocations: 97.22 kB / 356.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.00784, allocations: 0 / 356.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007841, allocations: 0 / 356.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.007844, allocations: 0 / 356.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.00807, allocations: 385.8 kB / 356.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008071, allocations: 4 kB / 356.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.008102, allocations: 8 kB / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.008103, allocations: 0 / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.008109, allocations: 192 / 356.6 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.008111, allocations: 8 kB / 356.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008112, allocations: 0 / 356.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.489e-05/0.008187, allocations: 243.6 kB / 356.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.008206, allocations: 35.72 kB / 356.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.00822, allocations: 0 / 356.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.008257, allocations: 3.984 kB / 356.9 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.008282, allocations: 4 kB / 356.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.008285, allocations: 7.938 kB / 356.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.008419, allocations: 390.7 kB / 357.3 MB, free: 480 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008419, allocations: 0 / 357.3 MB, free: 480 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.008581, allocations: 24 kB / 357.3 MB, free: 456 kB / 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.0007614/0.009343, allocations: 376.7 kB / 357.7 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.566e-05/0.009419, allocations: 27.67 kB / 357.7 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00942, allocations: 0 / 357.7 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.009437, allocations: 23.61 kB / 357.8 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.009669, allocations: 31.14 kB / 357.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.01027, allocations: 0.5665 MB / 358.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.01035, allocations: 123.2 kB / 358.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.01038, allocations: 8 kB / 358.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.01044, allocations: 78.19 kB / 358.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01044, allocations: 0 / 358.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of Templates: time 0.00391/0.01435, allocations: 1.496 MB / 360.1 MB, free: 13.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.3014933387748897]