Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 170.4 kB / 25.61 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.95/0.95, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1544/0.1544, allocations: 34.27 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.713e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.001934/0.001951, allocations: 1.864 MB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.002666, allocations: 0.6931 MB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.00274, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.003078, allocations: 179.3 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.003356, allocations: 175.2 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.003765, allocations: 327.2 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.003958, allocations: 243.3 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004068, allocations: 41.77 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.004166, allocations: 115.8 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.004281, allocations: 155.7 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.0043, allocations: 12 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.004364, allocations: 43.92 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.004437, allocations: 115.6 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.004479, allocations: 67.72 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.004658, allocations: 239 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00466, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004661, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.004666, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.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.0004344/0.0051, allocations: 0.6855 MB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.005129, allocations: 16.02 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.005176, allocations: 44.66 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.005338, allocations: 262.7 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.005347, allocations: 8.375 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.005366, allocations: 8.328 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.005519, allocations: 135.7 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005528, allocations: 4.188 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005539, allocations: 8.125 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.005543, allocations: 4 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.005591, allocations: 31.91 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.005961, allocations: 0.5418 MB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.006057, allocations: 98.02 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.006085, allocations: 27.84 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.006104, allocations: 7.984 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.006117, allocations: 41.33 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.006119, allocations: 3.984 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005394/0.006658, allocations: 300.9 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.006677, allocations: 77.11 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.006874, allocations: 470.5 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.006884, allocations: 29.7 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.006955, allocations: 263.1 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.006987, allocations: 63.47 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.007029, allocations: 39.36 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.007088, allocations: 0.5391 MB / 387.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.007121, allocations: 20.72 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.007164, allocations: 45.53 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.007239, allocations: 91.38 kB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.007241, allocations: 0 / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001447/0.007386, allocations: 145.3 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.007396, allocations: 4 kB / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.007399, allocations: 0 / 387.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.007407, allocations: 7.938 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.00753, allocations: 51.91 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.007533, allocations: 3.984 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.007598, allocations: 23.98 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.007607, allocations: 4 kB / 387.6 MB, free: 14.84 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 6.103e-05/0.007668, allocations: 164.6 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.007717, allocations: 43.72 kB / 387.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.007911, allocations: 184.8 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007914, allocations: 7.938 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007916, allocations: 0 / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007919, allocations: 3.984 kB / 388 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.0083, allocations: 0.6063 MB / 388.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008302, allocations: 3.938 kB / 388.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.0084, allocations: 47.97 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008402, allocations: 3.938 kB / 388.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.008412, allocations: 8 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008413, allocations: 0 / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.008414, allocations: 3.984 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.00857, allocations: 414.8 kB / 389.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.008596, allocations: 39.69 kB / 389.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.008623, allocations: 4 kB / 389.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.00872, allocations: 27.98 kB / 389.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.008763, allocations: 19.95 kB / 389.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.00877, allocations: 4 kB / 389.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001121/0.008883, allocations: 307 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008883, allocations: 0 / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.009096, allocations: 48 kB / 389.5 MB, free: 12.84 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.0006988/0.009795, allocations: 387.3 kB / 389.9 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.009927, allocations: 93.38 kB / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.009928, allocations: 0 / 390 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.009981, allocations: 51.59 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.01029, allocations: 65.31 kB / 390.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.01079, allocations: 0.5944 MB / 390.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.061e-05/0.01084, allocations: 116.3 kB / 390.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.01092, allocations: 54.19 kB / 390.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.01102, allocations: 110.2 kB / 391 MB, free: 11.47 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01102, allocations: 0 / 391 MB, free: 11.47 MB / 314.7 MB Notification: Performance of Templates: time 0.005104/0.01612, allocations: 4.22 MB / 395.2 MB, free: 7.301 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1441053268499672]