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.001197/0.001197, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.000967/0.000967, allocations: 168.6 kB / 25 MB, free: 8.863 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2974/0.2974, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.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 2.505e-06/2.505e-06, allocations: 0 / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.148e-05, allocations: 5.406 kB / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.006576/0.006607, allocations: 1.895 MB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.008038, allocations: 0.6892 MB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.008192, allocations: 0 / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.008741, allocations: 179.3 kB / 380.8 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005577/0.009298, allocations: 183.2 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.01009, allocations: 319.2 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.01047, allocations: 243.3 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.01066, allocations: 37.78 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.01089, allocations: 131.7 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.01111, allocations: 143.7 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.01115, allocations: 12 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.01129, allocations: 43.92 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.01143, allocations: 107.7 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.01152, allocations: 67.7 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.01195, allocations: 235.1 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01195, allocations: 0 / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01195, allocations: 0 / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.01196, allocations: 4 kB / 382.3 MB, free: 14.65 MB / 362.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.0009767/0.01294, allocations: 0.6933 MB / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.013, allocations: 8.031 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01313, allocations: 44.7 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.01358, allocations: 270.7 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.01359, allocations: 8.375 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.01363, allocations: 12.38 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.01395, allocations: 142.1 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.01397, allocations: 192 / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01399, allocations: 12.12 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.014, allocations: 4 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.01412, allocations: 35.91 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01532, allocations: 0.6194 MB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.01553, allocations: 106.3 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.0156, allocations: 35.3 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.01563, allocations: 8.125 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.01567, allocations: 37.39 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.01567, allocations: 4 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001246/0.01692, allocations: 411.9 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.01697, allocations: 81.11 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.0175, allocations: 490.7 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.01753, allocations: 29.7 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.0177, allocations: 259.2 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.01778, allocations: 71.42 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/0.01786, allocations: 39.36 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.01804, allocations: 0.5352 MB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.01812, allocations: 27.98 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01823, allocations: 57.06 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.0184, allocations: 91.36 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.0184, allocations: 0 / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000312/0.01872, allocations: 149.4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01874, allocations: 8 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01875, allocations: 3.938 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.01876, allocations: 0 / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.01901, allocations: 51.91 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.01902, allocations: 4 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01914, allocations: 19.97 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.01916, allocations: 8 kB / 386.6 MB, free: 10.07 MB / 362.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.0001494/0.0193, allocations: 160.6 kB / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.01942, allocations: 47.72 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.01989, allocations: 200.8 kB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.0199, allocations: 4 kB / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.01991, allocations: 0 / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.01991, allocations: 3.984 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.02086, allocations: 0.6958 MB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02086, allocations: 0 / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.02106, allocations: 48.66 kB / 387.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.02106, allocations: 0 / 387.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.02108, allocations: 8 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.02109, allocations: 0 / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02109, allocations: 0 / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.02152, allocations: 440.9 kB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.02159, allocations: 47.7 kB / 388.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.02163, allocations: 4 kB / 388.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.02181, allocations: 19.98 kB / 388.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.02191, allocations: 23.95 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.02192, allocations: 4 kB / 388.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003439/0.02227, allocations: 331 kB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02227, allocations: 0 / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.02253, allocations: 51.94 kB / 388.7 MB, free: 7.934 MB / 362.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.001077/0.02361, allocations: 387.2 kB / 389.1 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.02383, allocations: 95.52 kB / 389.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02383, allocations: 0 / 389.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.02391, allocations: 59.59 kB / 389.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.02429, allocations: 71.59 kB / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.02508, allocations: 0.5846 MB / 389.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.917e-05/0.02517, allocations: 120.2 kB / 390 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02529, allocations: 54.55 kB / 390 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.02536, allocations: 36.48 kB / 390.1 MB, free: 6.625 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/0.02536, allocations: 0 / 390.1 MB, free: 6.625 MB / 362.7 MB Notification: Performance of Templates: time 0.007531/0.03289, allocations: 3.824 MB / 393.9 MB, free: 2.836 MB / 362.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.3340868710074574]