Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001473/0.001473, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001718, allocations: 220.5 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2229/0.2229, allocations: 46.93 MB / 362 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 83.86 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3287, allocations: 66.07 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.00355/0.3322, allocations: 2.037 MB / 0.5643 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3345, allocations: 1.275 MB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3346, allocations: 4 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.3349, allocations: 51.56 kB / 0.5656 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.3354, allocations: 211.1 kB / 0.5658 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.3363, allocations: 436.9 kB / 0.5662 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004174/0.3368, allocations: 303.1 kB / 0.5665 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.3369, allocations: 52.61 kB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.3372, allocations: 135.5 kB / 0.5667 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.3374, allocations: 207.2 kB / 0.5669 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.3375, allocations: 12 kB / 0.5669 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3376, allocations: 63.98 kB / 0.567 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3378, allocations: 143.5 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3379, allocations: 170.6 kB / 0.5673 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.3384, allocations: 384.8 kB / 0.5676 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.3384, allocations: 3.984 kB / 0.5676 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3384, allocations: 0 / 0.5676 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3384, allocations: 0 / 0.5676 GB, free: 14.8 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001038/0.3394, allocations: 0.7135 MB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3395, allocations: 8.031 kB / 0.5684 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.3397, allocations: 72.55 kB / 0.5684 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.3404, allocations: 402.5 kB / 0.5688 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3404, allocations: 8.375 kB / 0.5688 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3404, allocations: 16.25 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3407, allocations: 135.5 kB / 0.569 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3407, allocations: 0 / 0.569 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3407, allocations: 4 kB / 0.569 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3408, allocations: 4 kB / 0.569 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.341, allocations: 79.92 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000987/0.342, allocations: 0.6322 MB / 0.5697 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3422, allocations: 105.2 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.3423, allocations: 41.77 kB / 0.5698 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.3423, allocations: 11.98 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3423, allocations: 38.55 kB / 0.5698 GB, free: 12.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.3423, allocations: 0 / 0.5698 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001393/0.3437, allocations: 0.5312 MB / 0.5704 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.3438, allocations: 81.11 kB / 0.5704 GB, free: 11.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3448, allocations: 0.8945 MB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3448, allocations: 25.7 kB / 0.5713 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.3451, allocations: 256.5 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.3451, allocations: 55.58 kB / 0.5716 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.3452, allocations: 37.64 kB / 0.5717 GB, free: 10.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3454, allocations: 366.8 kB / 0.572 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3455, allocations: 59.95 kB / 0.5721 GB, free: 10.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3457, allocations: 73.62 kB / 0.5722 GB, free: 9.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.346, allocations: 133.6 kB / 0.5723 GB, free: 9.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.346, allocations: 4 kB / 0.5723 GB, free: 9.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004826/0.3465, allocations: 233.1 kB / 0.5725 GB, free: 9.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3465, allocations: 4 kB / 0.5725 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3465, allocations: 4 kB / 0.5725 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3465, allocations: 0 / 0.5725 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3468, allocations: 35.97 kB / 0.5725 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3468, allocations: 0 / 0.5725 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.3469, allocations: 15.98 kB / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3469, allocations: 8 kB / 0.5726 GB, free: 9.523 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 (16): * Single equations (assignments): 16 * 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.0002311/0.3471, allocations: 213.7 kB / 0.5728 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3472, allocations: 59.58 kB / 0.5728 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.3478, allocations: 266.6 kB / 0.5731 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3478, allocations: 7.984 kB / 0.5731 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3478, allocations: 0 / 0.5731 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3478, allocations: 0 / 0.5731 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3491, allocations: 0.7386 MB / 0.5738 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3491, allocations: 4 kB / 0.5738 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3492, allocations: 35.97 kB / 0.5739 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3492, allocations: 0 / 0.5739 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3493, allocations: 12.12 kB / 0.5739 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.3493, allocations: 4 kB / 0.5739 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3493, allocations: 0 / 0.5739 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.3498, allocations: 404.9 kB / 0.5743 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3499, allocations: 63.59 kB / 0.5743 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.35, allocations: 8 kB / 0.5743 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3502, allocations: 7.984 kB / 0.5743 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3502, allocations: 27.84 kB / 0.5744 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3502, allocations: 4 kB / 0.5744 GB, free: 7.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007669/0.351, allocations: 0.6552 MB / 0.575 GB, free: 6.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.351, allocations: 4 kB / 0.575 GB, free: 6.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003485/0.3514, allocations: 55.95 kB / 0.5751 GB, free: 6.895 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 (16): * Single equations (assignments): 16 * 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.001507/0.3529, allocations: 398.3 kB / 0.5754 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.3533, allocations: 135.9 kB / 0.5756 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3533, allocations: 8 kB / 0.5756 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.3535, allocations: 80.34 kB / 0.5757 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.3541, allocations: 86.86 kB / 0.5757 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3555, allocations: 0.907 MB / 0.5766 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.356, allocations: 0.8692 MB / 0.5775 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.3562, allocations: 70.92 kB / 0.5775 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.3563, allocations: 39.42 kB / 0.5776 GB, free: 4.391 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3563, allocations: 0 / 0.5776 GB, free: 4.391 MB / 414.1 MB Notification: Performance of Templates: time 0.009867/0.3662, allocations: 4.131 MB / 0.5816 GB, free: 284 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test22.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: 4.9883194549474865]