Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001743/0.001743, 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.002271/0.002271, allocations: 212.4 kB / 25.13 MB, free: 3.586 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.443/1.443, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2261/0.2261, allocations: 46.94 MB / 362 MB, free: 4.219 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.CombiTable2Dv.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.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_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.002368/0.002368, allocations: 79.86 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3318, allocations: 66.08 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003353/0.3352, allocations: 1.886 MB / 0.5642 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3365, allocations: 0.7291 MB / 0.5649 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.3366, allocations: 4 kB / 0.5649 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.3371, allocations: 179.4 kB / 0.5651 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.3375, allocations: 171.4 kB / 0.5652 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.3382, allocations: 334 kB / 0.5656 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.3385, allocations: 239.3 kB / 0.5658 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3387, allocations: 44.58 kB / 0.5658 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3388, allocations: 103.7 kB / 0.5659 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.339, allocations: 159.5 kB / 0.5661 GB, free: 440 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.339, allocations: 16 kB / 0.5661 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3391, allocations: 39.98 kB / 0.5661 GB, free: 384 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.3393, allocations: 111.6 kB / 0.5662 GB, free: 272 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3394, allocations: 123 kB / 0.5664 GB, free: 148 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.3398, allocations: 302.3 kB / 0.5666 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3398, allocations: 0 / 0.5666 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3398, allocations: 4 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3398, allocations: 0 / 0.5666 GB, free: 15.84 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.0009792/0.3408, allocations: 0.5897 MB / 0.5672 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3408, allocations: 12.03 kB / 0.5672 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.3409, allocations: 48.5 kB / 0.5673 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.3413, allocations: 300.7 kB / 0.5676 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3414, allocations: 8.375 kB / 0.5676 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.3414, allocations: 12.38 kB / 0.5676 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.3418, allocations: 175.6 kB / 0.5678 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.3419, allocations: 4.188 kB / 0.5678 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3419, allocations: 3.938 kB / 0.5678 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3419, allocations: 7.938 kB / 0.5678 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.3424, allocations: 147.8 kB / 0.5679 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3434, allocations: 0.6089 MB / 0.5685 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.3438, allocations: 153.1 kB / 0.5686 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.344, allocations: 81.78 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.3441, allocations: 3.984 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3441, allocations: 34.56 kB / 0.5688 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3441, allocations: 7.938 kB / 0.5688 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002506/0.3466, allocations: 0.793 MB / 0.5695 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.3467, allocations: 81.11 kB / 0.5696 GB, free: 12.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.3473, allocations: 0.58 MB / 0.5702 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3474, allocations: 33.7 kB / 0.5702 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.3475, allocations: 196.4 kB / 0.5704 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.3476, allocations: 71.42 kB / 0.5705 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.3477, allocations: 33.7 kB / 0.5705 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3478, allocations: 350.8 kB / 0.5708 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.3483, allocations: 135.9 kB / 0.571 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.3487, allocations: 159.6 kB / 0.5711 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008257/0.3495, allocations: 289.6 kB / 0.5714 GB, free: 10.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3495, allocations: 4.219 kB / 0.5714 GB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000978/0.3505, allocations: 369.1 kB / 0.5718 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3505, allocations: 11.94 kB / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.3505, allocations: 4 kB / 0.5718 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.3505, allocations: 0 / 0.5718 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3509, allocations: 67.86 kB / 0.5718 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3509, allocations: 0 / 0.5718 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.3511, allocations: 39.95 kB / 0.5719 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.3511, allocations: 8 kB / 0.5719 GB, free: 10.24 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.0002042/0.3513, allocations: 185.8 kB / 0.5721 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.3514, allocations: 43.66 kB / 0.5721 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3525, allocations: 428.7 kB / 0.5725 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.3525, allocations: 0 / 0.5725 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3525, allocations: 0 / 0.5725 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3525, allocations: 4 kB / 0.5725 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.3542, allocations: 0.8752 MB / 0.5734 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3542, allocations: 4 kB / 0.5734 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.3545, allocations: 59.94 kB / 0.5734 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3545, allocations: 3.984 kB / 0.5734 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3545, allocations: 8 kB / 0.5734 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3545, allocations: 0 / 0.5734 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3545, allocations: 0 / 0.5734 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.3556, allocations: 0.5372 MB / 0.574 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.3557, allocations: 43.75 kB / 0.574 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3557, allocations: 4 kB / 0.574 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.356, allocations: 35.95 kB / 0.574 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.3561, allocations: 23.95 kB / 0.5741 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.3561, allocations: 4 kB / 0.5741 GB, free: 7.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004925/0.3566, allocations: 443 kB / 0.5745 GB, free: 7.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3566, allocations: 4 kB / 0.5745 GB, free: 7.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.3569, allocations: 59.92 kB / 0.5746 GB, free: 7.426 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.001493/0.3584, allocations: 399.6 kB / 0.5749 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009842/0.3594, allocations: 306.1 kB / 0.5752 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3594, allocations: 0 / 0.5752 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.3599, allocations: 163.9 kB / 0.5754 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.3604, allocations: 58.11 kB / 0.5754 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.3616, allocations: 0.702 MB / 0.5761 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.3621, allocations: 0.8259 MB / 0.5769 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.3623, allocations: 70.23 kB / 0.577 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.3623, allocations: 27.44 kB / 0.577 GB, free: 4.977 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3623, allocations: 0 / 0.577 GB, free: 4.977 MB / 414.1 MB Notification: Performance of Templates: time 0.008484/0.3708, allocations: 3.785 MB / 0.5807 GB, free: 1.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.050325240939856]