Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001934/0.001934, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 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.002131/0.002131, allocations: 207.4 kB / 25.12 MB, free: 3.59 MB / 14.72 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 1.467/1.467, allocations: 230.4 MB / 258.7 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2382/0.2382, allocations: 46.93 MB / 362 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 79.84 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3178, allocations: 66.09 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00336/0.3212, allocations: 2.017 MB / 0.5643 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3226, allocations: 0.8265 MB / 0.5651 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.3227, allocations: 4 kB / 0.5651 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.3231, allocations: 179.4 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.3236, allocations: 211.2 kB / 0.5655 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.3245, allocations: 425.4 kB / 0.5659 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.3249, allocations: 303.1 kB / 0.5662 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.3251, allocations: 47.72 kB / 0.5662 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3252, allocations: 127.5 kB / 0.5664 GB, free: 144 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.3255, allocations: 191.2 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.3255, allocations: 12 kB / 0.5666 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.3256, allocations: 43.98 kB / 0.5666 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.3258, allocations: 167.5 kB / 0.5668 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.3259, allocations: 182.5 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.3264, allocations: 433.6 kB / 0.5673 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3264, allocations: 3.938 kB / 0.5673 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3264, allocations: 0 / 0.5673 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.3264, allocations: 0 / 0.5673 GB, free: 15.13 MB / 414.1 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.001192/0.3276, allocations: 0.7835 MB / 0.5681 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3276, allocations: 8.031 kB / 0.5681 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.65e-05/0.3277, allocations: 64.52 kB / 0.5682 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.3284, allocations: 455.1 kB / 0.5686 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3284, allocations: 8.375 kB / 0.5686 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.3284, allocations: 12.38 kB / 0.5686 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.3288, allocations: 163.7 kB / 0.5688 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3288, allocations: 192 / 0.5688 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3289, allocations: 11.94 kB / 0.5688 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3289, allocations: 0 / 0.5688 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.3293, allocations: 135.9 kB / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3304, allocations: 0.687 MB / 0.5696 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.3307, allocations: 149.1 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.331, allocations: 73.78 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.331, allocations: 0 / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3311, allocations: 42.78 kB / 0.5699 GB, free: 12.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 8.41e-07/0.3311, allocations: 0 / 0.5699 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002476/0.3335, allocations: 0.8229 MB / 0.5707 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.3336, allocations: 81.11 kB / 0.5707 GB, free: 11.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3349, allocations: 1.047 MB / 0.5718 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.3349, allocations: 29.7 kB / 0.5718 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3351, allocations: 280.4 kB / 0.5721 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.3352, allocations: 67.42 kB / 0.5721 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.3353, allocations: 37.7 kB / 0.5722 GB, free: 9.988 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3354, allocations: 310 kB / 0.5725 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.3358, allocations: 115.9 kB / 0.5726 GB, free: 9.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.3362, allocations: 143.8 kB / 0.5727 GB, free: 9.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.337, allocations: 257.4 kB / 0.5729 GB, free: 9.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.337, allocations: 0 / 0.5729 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009381/0.3379, allocations: 356.9 kB / 0.5733 GB, free: 8.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3379, allocations: 4 kB / 0.5733 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3379, allocations: 4 kB / 0.5733 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.338, allocations: 4 kB / 0.5733 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.3383, allocations: 63.88 kB / 0.5734 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3383, allocations: 192 / 0.5734 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3385, allocations: 43.92 kB / 0.5734 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3385, allocations: 8.094 kB / 0.5734 GB, free: 8.684 MB / 414.1 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 0.0002573/0.3388, allocations: 225.8 kB / 0.5736 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3389, allocations: 67.52 kB / 0.5737 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.3399, allocations: 402.4 kB / 0.5741 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3399, allocations: 4 kB / 0.5741 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3399, allocations: 0 / 0.5741 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.34, allocations: 0 / 0.5741 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.342, allocations: 0.9143 MB / 0.575 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.342, allocations: 4.688 kB / 0.575 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.3422, allocations: 67.94 kB / 0.575 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3422, allocations: 3.938 kB / 0.575 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3423, allocations: 4 kB / 0.575 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3423, allocations: 0 / 0.575 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3423, allocations: 4 kB / 0.5751 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3433, allocations: 0.5293 MB / 0.5756 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.3434, allocations: 75.59 kB / 0.5756 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.3435, allocations: 4 kB / 0.5756 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.3438, allocations: 35.95 kB / 0.5757 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.3439, allocations: 15.97 kB / 0.5757 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3439, allocations: 11.98 kB / 0.5757 GB, free: 6.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000981/0.3449, allocations: 0.7723 MB / 0.5765 GB, free: 5.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3449, allocations: 4 kB / 0.5765 GB, free: 5.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.3452, allocations: 60 kB / 0.5765 GB, free: 5.418 MB / 414.1 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.001458/0.3467, allocations: 400.4 kB / 0.5769 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009393/0.3476, allocations: 271.6 kB / 0.5772 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3476, allocations: 0 / 0.5772 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004878/0.3481, allocations: 143.8 kB / 0.5773 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.3488, allocations: 101.7 kB / 0.5774 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3504, allocations: 1.031 MB / 0.5784 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.3509, allocations: 0.8893 MB / 0.5793 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.3511, allocations: 95.52 kB / 0.5794 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3513, allocations: 43.42 kB / 0.5794 GB, free: 2.539 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3513, allocations: 0 / 0.5794 GB, free: 2.539 MB / 414.1 MB Notification: Performance of Templates: time 0.01093/0.3622, allocations: 5.275 MB / 0.5846 GB, free: 13.29 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.058177541941404]