Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008259/0.0008259, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002211, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001185/0.001185, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002431, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.058/1.058, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08443/1.143, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.2591/0.2591, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02731/0.2865, allocations: 13.11 MB / 291.5 MB, free: 7.328 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.CombiTable2Ds.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.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_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.273e-05, allocations: 3.438 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003948/0.003971, allocations: 2.05 MB / 294.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.005814, allocations: 0.8291 MB / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.00598, allocations: 0 / 295.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.006508, allocations: 183.2 kB / 295.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005963/0.007104, allocations: 231 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009922/0.008096, allocations: 403 kB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.008583, allocations: 299.7 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.00877, allocations: 54.73 kB / 296.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.009147, allocations: 226.6 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.009378, allocations: 143.6 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.009419, allocations: 12 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.009563, allocations: 47.92 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.009758, allocations: 155.5 kB / 297.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.009868, allocations: 71.62 kB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.01034, allocations: 318.6 kB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-05/0.01036, allocations: 8 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01036, allocations: 0 / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.01038, allocations: 0 / 297.8 MB, free: 1.18 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.001076/0.01145, allocations: 0.779 MB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.0115, allocations: 12.03 kB / 298.6 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/0.01159, allocations: 40.89 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.01205, allocations: 326.6 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.01206, allocations: 8.312 kB / 299 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.0121, allocations: 8.375 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.01237, allocations: 140.4 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01238, allocations: 192 / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.0124, allocations: 8.125 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.01241, allocations: 4 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.01249, allocations: 33.98 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.01311, allocations: 344 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.01331, allocations: 73.06 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.01336, allocations: 25.97 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.0134, allocations: 7.984 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.01344, allocations: 34.56 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/0.01345, allocations: 0 / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008752/0.01432, allocations: 273.3 kB / 299.9 MB, free: 14.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.01437, allocations: 89.03 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.01503, allocations: 0.615 MB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.01505, allocations: 29.7 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.01517, allocations: 174.3 kB / 300.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.329e-05/0.01523, allocations: 67.42 kB / 300.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.0153, allocations: 33.69 kB / 300.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.0154, allocations: 318 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.01545, allocations: 15.94 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.01551, allocations: 42.62 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01562, allocations: 65.72 kB / 301.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01562, allocations: 4 kB / 301.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002037/0.01582, allocations: 117.6 kB / 301.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.01584, allocations: 8 kB / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01585, allocations: 0 / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01587, allocations: 0 / 301.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.01608, allocations: 67.83 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01609, allocations: 224 / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.0162, allocations: 19.98 kB / 301.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.01622, allocations: 7.938 kB / 301.6 MB, free: 13.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 0.0001246/0.01634, allocations: 124.6 kB / 301.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.01643, allocations: 31.97 kB / 301.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.01674, allocations: 170.8 kB / 301.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01675, allocations: 4 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01675, allocations: 3.938 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01676, allocations: 7.984 kB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.01746, allocations: 485.7 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01747, allocations: 3.938 kB / 302.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.01763, allocations: 47.97 kB / 302.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.01772, allocations: 67.52 kB / 302.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.01772, allocations: 0 / 302.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01774, allocations: 4 kB / 302.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.01774, allocations: 4 kB / 302.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01774, allocations: 0 / 302.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.01801, allocations: 300.2 kB / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.01806, allocations: 4.5 kB / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.01825, allocations: 19.98 kB / 302.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.01832, allocations: 23.95 kB / 302.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.01834, allocations: 8 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003759/0.01871, allocations: 331.4 kB / 303.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.01871, allocations: 0 / 303.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.01914, allocations: 64 kB / 303.3 MB, free: 11.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.001953/0.02109, allocations: 0.5541 MB / 303.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.02131, allocations: 72.75 kB / 303.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.956e-05/0.02133, allocations: 8 kB / 303.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.02145, allocations: 60.98 kB / 303.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.02228, allocations: 451.7 kB / 304.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.02387, allocations: 0.8444 MB / 305.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.02404, allocations: 146 kB / 305.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002/0.02424, allocations: 59.23 kB / 305.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.02447, allocations: 119.3 kB / 305.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of SimCode: time 2.194e-06/0.02447, allocations: 0 / 305.5 MB, free: 9.391 MB / 298.7 MB Notification: Performance of Templates: time 0.0118/0.03627, allocations: 5.674 MB / 311.2 MB, free: 3.824 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.940777610987425]