Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.000987/0.000987, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.000887/0.000887, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9801/0.9801, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3049/0.3049, allocations: 32.81 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.027e-05, allocations: 6.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002391/0.002411, allocations: 2.111 MB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.004033, allocations: 1.367 MB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.004132, allocations: 4 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.004341, allocations: 67.31 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.004705, allocations: 230.9 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.005436, allocations: 0.5963 MB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.005772, allocations: 370.8 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.005926, allocations: 48.91 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.006168, allocations: 191.4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.006356, allocations: 187.6 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.006385, allocations: 16 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.006491, allocations: 63.92 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.006611, allocations: 155.4 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.006694, allocations: 95.58 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.007007, allocations: 334.6 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.007009, allocations: 0 / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.00701, allocations: 7.938 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007015, allocations: 0 / 381.8 MB, free: 14.83 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009439/0.007959, allocations: 0.8483 MB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.007997, allocations: 8.031 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.008239, allocations: 104.5 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.008586, allocations: 377.3 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.0086, allocations: 8.375 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.008632, allocations: 8.375 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.008831, allocations: 141.1 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.008846, allocations: 7.938 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.00886, allocations: 4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.008869, allocations: 0 / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.008951, allocations: 43.89 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.009582, allocations: 0.6935 MB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.009736, allocations: 98.16 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.009782, allocations: 35.48 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.009807, allocations: 4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.009828, allocations: 37.39 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.009829, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008185/0.01065, allocations: 0.4998 MB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.01068, allocations: 81.05 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.01119, allocations: 0.691 MB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.0112, allocations: 29.7 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.01137, allocations: 335.1 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.01142, allocations: 71.42 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.01148, allocations: 39.36 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01164, allocations: 0.5665 MB / 386.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.01171, allocations: 27.97 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.01179, allocations: 47.36 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.01193, allocations: 103.6 kB / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01193, allocations: 4.219 kB / 386.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002389/0.01217, allocations: 197 kB / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.01218, allocations: 11.94 kB / 386.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01219, allocations: 4 kB / 386.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.0122, allocations: 0 / 386.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.01234, allocations: 47.95 kB / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-06/0.01235, allocations: 4 kB / 387 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.01242, allocations: 11.98 kB / 387 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01243, allocations: 8 kB / 387 MB, free: 9.406 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 (20): * Single equations (assignments): 20 * 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.358e-05/0.01253, allocations: 164.5 kB / 387.2 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.0126, allocations: 79.5 kB / 387.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.0129, allocations: 222.4 kB / 387.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01291, allocations: 4 kB / 387.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01291, allocations: 0 / 387.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01292, allocations: 3.984 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.0136, allocations: 0.7931 MB / 388.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.0136, allocations: 3.984 kB / 388.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01371, allocations: 39.97 kB / 388.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01372, allocations: 7.938 kB / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01373, allocations: 7.984 kB / 388.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01373, allocations: 8 kB / 388.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01373, allocations: 0 / 388.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.01403, allocations: 465.2 kB / 388.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.01409, allocations: 63.61 kB / 388.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.01412, allocations: 8 kB / 388.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.01421, allocations: 8 kB / 388.9 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.01427, allocations: 23.95 kB / 388.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.01428, allocations: 8 kB / 388.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004843/0.01476, allocations: 466.9 kB / 389.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.01477, allocations: 0 / 389.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.015, allocations: 67.95 kB / 389.4 MB, free: 6.922 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 (20): * Single equations (assignments): 20 * 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.000808/0.01581, allocations: 383.2 kB / 389.8 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.01602, allocations: 119.4 kB / 389.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01602, allocations: 0 / 389.9 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.0161, allocations: 59.59 kB / 390 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.01647, allocations: 92.41 kB / 390 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.0175, allocations: 0.8318 MB / 390.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.0176, allocations: 144.5 kB / 391 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.01773, allocations: 79.19 kB / 391.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.01781, allocations: 40.48 kB / 391.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01781, allocations: 4 kB / 391.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of Templates: time 0.006873/0.02469, allocations: 4.668 MB / 395.8 MB, free: 0.6289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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.2615345837548375]