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.001597/0.001597, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.00176/0.00176, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.2566/0.2566, allocations: 46.95 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002193/0.002193, allocations: 71.89 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3752, allocations: 66.03 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003789/0.379, allocations: 2.037 MB / 0.5639 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3805, allocations: 0.8232 MB / 0.5647 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.3806, allocations: 0 / 0.5647 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.3811, allocations: 179.4 kB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.3816, allocations: 211.2 kB / 0.5651 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.3825, allocations: 421.9 kB / 0.5655 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.3828, allocations: 299.1 kB / 0.5657 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.383, allocations: 55.58 kB / 0.5658 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3832, allocations: 131.4 kB / 0.5659 GB, free: 304 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.3834, allocations: 183.3 kB / 0.5661 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.3835, allocations: 16 kB / 0.5661 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.3836, allocations: 32 kB / 0.5661 GB, free: 72 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.3838, allocations: 171.5 kB / 0.5663 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.3839, allocations: 186.5 kB / 0.5665 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.3844, allocations: 421.6 kB / 0.5669 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3844, allocations: 8 kB / 0.5669 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3844, allocations: 0 / 0.5669 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3845, allocations: 0 / 0.5669 GB, free: 15.3 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.00126/0.3857, allocations: 0.7874 MB / 0.5677 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3858, allocations: 8.031 kB / 0.5677 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.3859, allocations: 64.52 kB / 0.5677 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.3865, allocations: 455.1 kB / 0.5682 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3866, allocations: 12.38 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.3866, allocations: 8.375 kB / 0.5682 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.387, allocations: 157 kB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.387, allocations: 0 / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.387, allocations: 7.938 kB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.387, allocations: 4 kB / 0.5683 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.3875, allocations: 139.8 kB / 0.5685 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3886, allocations: 0.6948 MB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.389, allocations: 133.1 kB / 0.5693 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3892, allocations: 81.77 kB / 0.5694 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3892, allocations: 0 / 0.5694 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3893, allocations: 38.72 kB / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.3893, allocations: 0 / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002545/0.3918, allocations: 0.8229 MB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3919, allocations: 81.11 kB / 0.5703 GB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3931, allocations: 1.055 MB / 0.5713 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3931, allocations: 29.7 kB / 0.5713 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3933, allocations: 280.4 kB / 0.5716 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.558e-05/0.3934, allocations: 67.42 kB / 0.5717 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.3935, allocations: 29.7 kB / 0.5717 GB, free: 10.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3936, allocations: 314 kB / 0.572 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.394, allocations: 119.9 kB / 0.5721 GB, free: 9.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.3945, allocations: 139.9 kB / 0.5722 GB, free: 9.598 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.3953, allocations: 261.4 kB / 0.5725 GB, free: 9.336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3953, allocations: 0.75 kB / 0.5725 GB, free: 9.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009789/0.3963, allocations: 352.9 kB / 0.5728 GB, free: 8.984 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3963, allocations: 4 kB / 0.5728 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3963, allocations: 3.984 kB / 0.5728 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3963, allocations: 4 kB / 0.5728 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3966, allocations: 63.88 kB / 0.5729 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3966, allocations: 0 / 0.5729 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3969, allocations: 43.95 kB / 0.5729 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.3969, allocations: 7.984 kB / 0.5729 GB, free: 8.859 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.0002511/0.3971, allocations: 229.8 kB / 0.5732 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3973, allocations: 63.58 kB / 0.5732 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.3983, allocations: 406.5 kB / 0.5736 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3983, allocations: 7.984 kB / 0.5736 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3983, allocations: 4 kB / 0.5736 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3983, allocations: 0 / 0.5736 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4001, allocations: 0.9025 MB / 0.5745 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4001, allocations: 3.984 kB / 0.5745 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.4004, allocations: 63.88 kB / 0.5746 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4004, allocations: 3.938 kB / 0.5746 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.4004, allocations: 8 kB / 0.5746 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4004, allocations: 4 kB / 0.5746 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4004, allocations: 0 / 0.5746 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4014, allocations: 0.5214 MB / 0.5751 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.4016, allocations: 79.59 kB / 0.5752 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.4016, allocations: 4 kB / 0.5752 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.4019, allocations: 39.95 kB / 0.5752 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/0.402, allocations: 23.91 kB / 0.5752 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.402, allocations: 4 kB / 0.5752 GB, free: 6.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009008/0.4029, allocations: 0.7762 MB / 0.576 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4029, allocations: 0 / 0.576 GB, free: 5.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003579/0.4033, allocations: 56 kB / 0.5761 GB, free: 5.598 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.001571/0.4048, allocations: 422.5 kB / 0.5765 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.4058, allocations: 271.6 kB / 0.5767 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4058, allocations: 4 kB / 0.5767 GB, free: 5.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.4063, allocations: 143.8 kB / 0.5769 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.4069, allocations: 83.11 kB / 0.5769 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.4085, allocations: 1.04 MB / 0.578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.4091, allocations: 0.878 MB / 0.5788 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4092, allocations: 43.44 kB / 0.5789 GB, free: 2.824 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4092, allocations: 0 / 0.5789 GB, free: 2.824 MB / 414.1 MB Notification: Performance of Templates: time 0.01164/0.4209, allocations: 6.541 MB / 0.5852 GB, free: 12.3 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 8.57782468595542]