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.0007732/0.0007732, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.001936, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006934/0.0006934, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008482/0.001542, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9253/0.9253, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09254/1.018, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.2533/0.2533, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02191/0.2753, allocations: 13.24 MB / 292.6 MB, free: 6.465 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.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.593e-06/1.593e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.495e-05, allocations: 2.312 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002007/0.002022, allocations: 2.044 MB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.002932, allocations: 0.8284 MB / 296.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.878e-05/0.00301, allocations: 4 kB / 296.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.003317, allocations: 183.2 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.003578, allocations: 223 kB / 297.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.004021, allocations: 411 kB / 297.6 MB, free: 1.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.004247, allocations: 291.1 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004362, allocations: 54.78 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.004569, allocations: 238.6 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.004705, allocations: 135.7 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.004734, allocations: 16 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-05/0.004811, allocations: 51.86 kB / 298.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.004927, allocations: 155.5 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.918e-05/0.004997, allocations: 67.62 kB / 298.5 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.005255, allocations: 314.7 kB / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.676e-05/0.005272, allocations: 0 / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005273, allocations: 0 / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.005289, allocations: 0 / 298.9 MB, free: 192 kB / 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.0006826/0.005972, allocations: 0.7946 MB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.006, allocations: 8.922 kB / 299.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.006049, allocations: 32.91 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.006306, allocations: 342.5 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.006316, allocations: 8.375 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.006338, allocations: 12.38 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.006495, allocations: 120.6 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006504, allocations: 192 / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.006514, allocations: 12.38 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.006519, allocations: 4.375 kB / 300.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.006568, allocations: 32.95 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.006903, allocations: 344.2 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.007011, allocations: 81.28 kB / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.007038, allocations: 21.66 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.007061, allocations: 4 kB / 300.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.007081, allocations: 38.69 kB / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 7.42e-07/0.007082, allocations: 0 / 300.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005052/0.007587, allocations: 266.1 kB / 300.9 MB, free: 13.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.007622, allocations: 85.05 kB / 301 MB, free: 13.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.008009, allocations: 0.6305 MB / 301.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.008023, allocations: 25.7 kB / 301.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.008093, allocations: 178.3 kB / 301.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.008131, allocations: 63.42 kB / 301.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.008168, allocations: 25.72 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.008234, allocations: 318 kB / 302.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.008265, allocations: 16.77 kB / 302.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.008306, allocations: 44.81 kB / 302.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/0.00838, allocations: 74.22 kB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.008381, allocations: 0 / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001204/0.008502, allocations: 121.2 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.008511, allocations: 4 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.008515, allocations: 0 / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.008523, allocations: 0 / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.008647, allocations: 47.97 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.008651, allocations: 4 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.008718, allocations: 31.91 kB / 302.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.008724, allocations: 0 / 302.6 MB, free: 12.25 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.517e-05/0.0088, allocations: 124.6 kB / 302.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.008848, allocations: 39.95 kB / 302.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.009037, allocations: 170.8 kB / 302.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00904, allocations: 4.75 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.009042, allocations: 0 / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.009046, allocations: 3.938 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.00945, allocations: 489.6 kB / 303.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009452, allocations: 4 kB / 303.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.009553, allocations: 63.89 kB / 303.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.009599, allocations: 55.61 kB / 303.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.009601, allocations: 3.938 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.009609, allocations: 4 kB / 303.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.009613, allocations: 7.922 kB / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009614, allocations: 0 / 303.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.00976, allocations: 290.7 kB / 303.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.009785, allocations: 4 kB / 303.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.009885, allocations: 27.91 kB / 303.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.009928, allocations: 23.97 kB / 303.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.009934, allocations: 0 / 303.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002176/0.01015, allocations: 335.4 kB / 304.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01015, allocations: 4 kB / 304.2 MB, free: 10.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.01035, allocations: 56 kB / 304.3 MB, free: 10.51 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.001099/0.01145, allocations: 0.5364 MB / 304.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.01156, allocations: 80.75 kB / 304.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.01157, allocations: 8 kB / 304.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.01162, allocations: 44.77 kB / 304.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.01197, allocations: 111.2 kB / 305 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.01284, allocations: 0.8337 MB / 305.9 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.01293, allocations: 149.2 kB / 306 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.411e-05/0.01302, allocations: 59.23 kB / 306.1 MB, free: 8.926 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.01315, allocations: 115.3 kB / 306.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01316, allocations: 0 / 306.2 MB, free: 8.812 MB / 298.7 MB Notification: Performance of Templates: time 0.007136/0.02029, allocations: 5.668 MB / 311.9 MB, free: 3.25 MB / 298.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 -ignoreHideResult -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.8300346080213785]