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.001004/0.001004, allocations: 83.59 kB / 21.18 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.001846/0.001846, allocations: 165 kB / 24.56 MB, free: 12 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.9877/0.9877, allocations: 177.1 MB / 205 MB, free: 5.625 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.2613/0.2613, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.477e-05, allocations: 5.547 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002577/0.002602, allocations: 2.109 MB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004282, allocations: 1.367 MB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.00443, allocations: 7.938 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.004713, allocations: 67.36 kB / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.005202, allocations: 227 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.006188, allocations: 0.6002 MB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.006618, allocations: 362.8 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.006771, allocations: 52.89 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.007074, allocations: 191.4 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.0073, allocations: 183.5 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.007334, allocations: 16 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.007466, allocations: 71.89 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.007594, allocations: 155.5 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.461e-05/0.007669, allocations: 87.58 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.008026, allocations: 338.5 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.008029, allocations: 8 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00803, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.008037, 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.0007918/0.008829, allocations: 0.8483 MB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.008863, allocations: 8.031 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.009112, allocations: 100.5 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.00946, allocations: 377.3 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.009472, allocations: 8.375 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.009498, allocations: 12.38 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.009696, allocations: 141.1 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.009712, allocations: 7.938 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.009724, allocations: 4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.009732, allocations: 0 / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.846e-05/0.009811, allocations: 43.89 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.01043, allocations: 0.6934 MB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.01056, allocations: 102.2 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.01061, allocations: 35.48 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.01063, allocations: 4 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.01065, allocations: 41.33 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.01065, allocations: 0 / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008504/0.0115, allocations: 0.4998 MB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.01153, allocations: 77.11 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.01203, allocations: 0.691 MB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.01205, allocations: 25.7 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01221, allocations: 335.2 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.01225, allocations: 67.44 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.01231, allocations: 43.34 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.01246, allocations: 0.5665 MB / 386.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.01252, allocations: 23.98 kB / 386.6 MB, free: 9.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.01259, allocations: 55.34 kB / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01273, allocations: 95.42 kB / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01274, allocations: 192 / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002446/0.01298, allocations: 205.2 kB / 386.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01299, allocations: 4 kB / 386.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.013, allocations: 7.938 kB / 386.9 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01301, allocations: 4 kB / 386.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.01315, allocations: 47.97 kB / 387 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01316, allocations: 7.922 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.01323, allocations: 8 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.01324, allocations: 11.98 kB / 387 MB, free: 9.398 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.095e-05/0.01333, allocations: 160.6 kB / 387.2 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.01341, allocations: 75.52 kB / 387.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.01371, allocations: 218.4 kB / 387.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01372, allocations: 8 kB / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01372, allocations: 0 / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01372, allocations: 0 / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.01438, allocations: 0.797 MB / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01438, allocations: 0 / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.01449, allocations: 47.89 kB / 388.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01449, allocations: 4 kB / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.0145, allocations: 4 kB / 388.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01451, allocations: 4 kB / 388.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01451, allocations: 3.984 kB / 388.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.01482, allocations: 469.5 kB / 388.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.01488, allocations: 63.61 kB / 388.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.01491, allocations: 11.94 kB / 388.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.015, allocations: 11.98 kB / 388.9 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.01506, allocations: 19.97 kB / 388.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01507, allocations: 7.984 kB / 388.9 MB, free: 7.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003017/0.01537, allocations: 463 kB / 389.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01537, allocations: 0 / 389.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000251/0.01562, allocations: 63.95 kB / 389.4 MB, free: 6.926 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.0008187/0.01644, allocations: 392.6 kB / 389.8 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01667, allocations: 115.4 kB / 389.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01667, allocations: 0 / 389.9 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.01676, allocations: 71.58 kB / 390 MB, free: 6.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.01713, allocations: 87.86 kB / 390 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.01816, allocations: 0.8279 MB / 390.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.731e-05/0.01825, allocations: 148.5 kB / 391 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.01838, allocations: 79.19 kB / 391.1 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.01847, allocations: 44.48 kB / 391.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01847, allocations: 0 / 391.1 MB, free: 5.25 MB / 362.7 MB Notification: Performance of Templates: time 0.007463/0.02593, allocations: 4.95 MB / 396.1 MB, free: 352 kB / 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.1591210630722344]