Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0008012/0.0008012, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002072, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000734/0.000734, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001829, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9744/0.9744, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.094, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.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.2611/0.2611, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02489/0.286, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.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.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.037e-05, allocations: 3.578 kB / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002178/0.002198, allocations: 1.94 MB / 296.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.003051, allocations: 0.7212 MB / 296.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.003127, allocations: 0 / 296.8 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.003426, allocations: 179.3 kB / 297 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.003694, allocations: 191.2 kB / 297.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.004179, allocations: 334.3 kB / 297.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.004421, allocations: 235.3 kB / 297.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.004541, allocations: 50.34 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.004711, allocations: 169.5 kB / 297.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.004845, allocations: 131.7 kB / 298 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.004867, allocations: 15.94 kB / 298.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.004948, allocations: 39.94 kB / 298.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.005032, allocations: 95.7 kB / 298.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.481e-05/0.005077, allocations: 47.81 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.005311, allocations: 231 kB / 298.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.005321, allocations: 0 / 298.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005322, allocations: 4 kB / 298.5 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.00533, allocations: 0 / 298.5 MB, free: 0.7148 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005184/0.005849, allocations: 0.5814 MB / 299 MB, free: 108 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.005876, allocations: 8.922 kB / 299.1 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.005921, allocations: 32.91 kB / 299.1 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.006123, allocations: 251.9 kB / 299.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.006132, allocations: 8.375 kB / 299.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.006157, allocations: 12.36 kB / 299.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.006316, allocations: 124.6 kB / 299.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.006325, allocations: 8.125 kB / 299.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.006334, allocations: 4.375 kB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.006339, allocations: 4.375 kB / 299.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.559e-05/0.006384, allocations: 29.02 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.006761, allocations: 370.9 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.006862, allocations: 73.05 kB / 300 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.006898, allocations: 25.97 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.006922, allocations: 4 kB / 300 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.006946, allocations: 38.56 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.006948, allocations: 0 / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001052/0.008, allocations: 269.3 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.008035, allocations: 81.09 kB / 300.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.008272, allocations: 408.9 kB / 300.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.008286, allocations: 25.7 kB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.008343, allocations: 145.4 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.008381, allocations: 63.42 kB / 301 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.008425, allocations: 37.69 kB / 301 MB, free: 13.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.008509, allocations: 354.7 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.008541, allocations: 15.98 kB / 301.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.008585, allocations: 38.47 kB / 301.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.008694, allocations: 69.64 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008695, allocations: 0 / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001171/0.008813, allocations: 112.4 kB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.008823, allocations: 4 kB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008827, allocations: 0.75 kB / 301.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.008835, allocations: 4 kB / 301.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.008966, allocations: 59.88 kB / 301.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.008969, allocations: 4 kB / 301.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.00903, allocations: 23.92 kB / 301.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.009037, allocations: 0 / 301.7 MB, free: 13.28 MB / 298.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 7.982e-05/0.009117, allocations: 120.7 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.009157, allocations: 27.98 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.009327, allocations: 157 kB / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009329, allocations: 0 / 302 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009332, allocations: 4 kB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.009335, allocations: 7.938 kB / 302 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.009771, allocations: 449.7 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009772, allocations: 0 / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.009878, allocations: 55.89 kB / 302.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.009904, allocations: 35.77 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009908, allocations: 3.938 kB / 302.5 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.009914, allocations: 4 kB / 302.5 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.009916, allocations: 3.984 kB / 302.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009917, allocations: 0 / 302.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.01007, allocations: 283.2 kB / 302.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01009, allocations: 7.938 kB / 302.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.01018, allocations: 27.91 kB / 302.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.01022, allocations: 19.97 kB / 302.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.01023, allocations: 4 kB / 302.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003921/0.01062, allocations: 191.5 kB / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 303.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.0108, allocations: 51.98 kB / 303.1 MB, free: 11.79 MB / 298.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.001067/0.01187, allocations: 0.5303 MB / 303.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.012, allocations: 84.62 kB / 303.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.01201, allocations: 8 kB / 303.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.01208, allocations: 57 kB / 303.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.01242, allocations: 286.3 kB / 304.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.01313, allocations: 0.5864 MB / 304.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.0132, allocations: 120.2 kB / 304.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.204e-05/0.01328, allocations: 42.27 kB / 304.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.0134, allocations: 91.36 kB / 304.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0134, allocations: 0 / 304.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Templates: time 0.005454/0.01885, allocations: 3.946 MB / 308.9 MB, free: 6.309 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.859628946520388]