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.001075/0.001075, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001221/0.001221, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.9691/0.9691, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2463/0.2463, allocations: 34.25 MB / 296.1 MB, free: 0.6758 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 1.393e-06/1.393e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.017e-05, allocations: 4.062 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003326/0.003347, allocations: 1.936 MB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004567, allocations: 0.7046 MB / 327.9 MB, free: 4.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.004649, allocations: 4 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.005111, allocations: 179.3 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.005474, allocations: 179.2 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.006093, allocations: 319.2 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.006378, allocations: 235.8 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.006535, allocations: 50.41 kB / 328.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.006705, allocations: 119.8 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.006879, allocations: 131.7 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.006908, allocations: 16 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.006999, allocations: 47.84 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.007115, allocations: 107.7 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.007186, allocations: 63.7 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.007561, allocations: 235.1 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.007564, allocations: 11.94 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007565, allocations: 0 / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.007569, allocations: 0 / 329.6 MB, free: 3.324 MB / 298.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.0006509/0.00822, allocations: 0.5349 MB / 330.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.008254, allocations: 12.03 kB / 330.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.008314, allocations: 28.91 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.008609, allocations: 251.9 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.008625, allocations: 8.375 kB / 330.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.008656, allocations: 12.38 kB / 330.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.008879, allocations: 127.2 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.008891, allocations: 192 / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.008907, allocations: 12.12 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.008914, allocations: 3.984 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.00899, allocations: 27.92 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.009529, allocations: 374.9 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.009658, allocations: 77.45 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.009698, allocations: 25.66 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.009721, allocations: 11.94 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.009744, allocations: 34.69 kB / 331.1 MB, free: 1.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.009745, allocations: 4 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008651/0.01061, allocations: 257.1 kB / 331.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.01065, allocations: 89.03 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.01102, allocations: 397 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.01104, allocations: 29.7 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.01111, allocations: 141.4 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.01117, allocations: 67.42 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.01123, allocations: 37.69 kB / 332.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01135, allocations: 354.7 kB / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.0114, allocations: 15.98 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.01146, allocations: 37.69 kB / 332.5 MB, free: 224 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.01158, allocations: 68.42 kB / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01158, allocations: 0.75 kB / 332.6 MB, free: 148 kB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001822/0.01176, allocations: 109.6 kB / 332.7 MB, free: 32 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01178, allocations: 4 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.01178, allocations: 0 / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01179, allocations: 4 kB / 332.7 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.012, allocations: 51.95 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.01201, allocations: 7.938 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.01211, allocations: 23.92 kB / 332.8 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.01213, allocations: 4 kB / 332.8 MB, free: 15.94 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 9.638e-05/0.01222, allocations: 112.7 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.0123, allocations: 31.97 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.01257, allocations: 153.1 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01258, allocations: 4 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01258, allocations: 7.938 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01259, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.01317, allocations: 445.7 kB / 333.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01317, allocations: 4 kB / 333.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.01334, allocations: 39.97 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01335, allocations: 11.88 kB / 333.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01336, allocations: 7.938 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01336, allocations: 3.984 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01337, allocations: 4 kB / 333.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.0136, allocations: 286 kB / 333.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.01364, allocations: 35.75 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.01368, allocations: 3.938 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.01385, allocations: 23.97 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.01391, allocations: 19.97 kB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.01392, allocations: 4 kB / 334 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.01414, allocations: 191.5 kB / 334.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01414, allocations: 0 / 334.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.01447, allocations: 55.88 kB / 334.2 MB, free: 14.46 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.001482/0.01595, allocations: 0.5008 MB / 334.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01614, allocations: 68.75 kB / 334.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.01614, allocations: 4 kB / 334.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.01623, allocations: 48.78 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.01664, allocations: 57.12 kB / 334.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.01772, allocations: 0.5862 MB / 335.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01783, allocations: 121 kB / 335.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.01797, allocations: 42.56 kB / 335.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.01815, allocations: 91.36 kB / 335.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01815, allocations: 0 / 335.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of Templates: time 0.00773/0.02588, allocations: 3.881 MB / 339.6 MB, free: 9.332 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 -s gbode -gbm=radauIIA3 -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: 2.9243554808199406]