Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000904/0.000904, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009845/0.0009845, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9161/0.9161, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2681/0.2681, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.926e-05, allocations: 3.297 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002384/0.002403, allocations: 1.997 MB / 327.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.00341, allocations: 0.8169 MB / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.003483, allocations: 0 / 328.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.003863, allocations: 187.2 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.004206, allocations: 215.1 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.004725, allocations: 407 kB / 329.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.00498, allocations: 303 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.005111, allocations: 54.78 kB / 329.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.00528, allocations: 163.6 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.005437, allocations: 135.7 kB / 330.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.005465, allocations: 16 kB / 330.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.017e-05/0.005545, allocations: 51.91 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.005684, allocations: 171.4 kB / 330.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.005759, allocations: 103.6 kB / 330.5 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.006059, allocations: 330.7 kB / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006062, allocations: 0 / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006063, allocations: 0 / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006068, allocations: 0 / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006876/0.006755, allocations: 0.7053 MB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.006791, allocations: 12.03 kB / 331.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.006845, allocations: 40.89 kB / 331.6 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.007137, allocations: 342.4 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.007148, allocations: 4.375 kB / 331.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.007174, allocations: 20.36 kB / 331.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.007357, allocations: 120.6 kB / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007367, allocations: 192 / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.007378, allocations: 8.375 kB / 332.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.007383, allocations: 384 / 332.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.007432, allocations: 33.5 kB / 332.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.007791, allocations: 348 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.007897, allocations: 73.34 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.007925, allocations: 33.89 kB / 332.5 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.007946, allocations: 4 kB / 332.6 MB, free: 408 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.007964, allocations: 34.5 kB / 332.6 MB, free: 364 kB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.007966, allocations: 4 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005406/0.008506, allocations: 265.1 kB / 332.8 MB, free: 88 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.008556, allocations: 85.05 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.008961, allocations: 0.6227 MB / 333.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.008977, allocations: 29.7 kB / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.00905, allocations: 174.3 kB / 333.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.009091, allocations: 71.41 kB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.00913, allocations: 25.7 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.009203, allocations: 318 kB / 334.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.009233, allocations: 12.78 kB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/0.009275, allocations: 38.31 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.009349, allocations: 72.12 kB / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.00935, allocations: 0 / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001258/0.009476, allocations: 113.6 kB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.00949, allocations: 9.719 kB / 334.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.009494, allocations: 0 / 334.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.009504, allocations: 4 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.009628, allocations: 51.95 kB / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.00963, allocations: 0 / 334.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.009701, allocations: 23.92 kB / 334.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.00971, allocations: 8 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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 8.087e-05/0.009791, allocations: 124.6 kB / 334.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.009837, allocations: 31.97 kB / 334.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.01002, allocations: 166.9 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01002, allocations: 4 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01003, allocations: 4 kB / 334.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01003, allocations: 7.922 kB / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004448/0.01048, allocations: 489.6 kB / 335.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01048, allocations: 0 / 335.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.01058, allocations: 39.97 kB / 335.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.01058, allocations: 7.938 kB / 335.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.01059, allocations: 4 kB / 335.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01059, allocations: 3.938 kB / 335.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01059, allocations: 4 kB / 335.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.01075, allocations: 296 kB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.01081, allocations: 63.58 kB / 335.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.01083, allocations: 4 kB / 335.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01094, allocations: 27.91 kB / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.01098, allocations: 15.97 kB / 335.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.01099, allocations: 8 kB / 335.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.01122, allocations: 331.4 kB / 336.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01122, allocations: 0 / 336.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01142, allocations: 67.94 kB / 336.1 MB, free: 12.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.001386/0.0128, allocations: 499.3 kB / 336.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.01299, allocations: 72.75 kB / 336.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.01299, allocations: 8 kB / 336.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.01307, allocations: 40.78 kB / 336.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.01355, allocations: 101.8 kB / 336.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.01448, allocations: 0.8298 MB / 337.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.59e-05/0.01457, allocations: 149.2 kB / 337.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.01468, allocations: 67.53 kB / 337.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.01482, allocations: 111.4 kB / 338 MB, free: 10.99 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01482, allocations: 4 kB / 338 MB, free: 10.98 MB / 314.7 MB Notification: Performance of Templates: time 0.007324/0.02214, allocations: 5.604 MB / 343.6 MB, free: 5.488 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.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: 2.923572178930044]