Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00195/0.00195, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002345/0.002345, allocations: 165.7 kB / 24.26 MB, free: 176 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 1.584/1.584, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 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.4693/0.4693, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.782e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.0041/0.004138, allocations: 2.035 MB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.007186, allocations: 1.355 MB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.007422, allocations: 11.94 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.007764, allocations: 63.39 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008059/0.00857, allocations: 215 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.01026, allocations: 0.6042 MB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007285/0.01099, allocations: 374.7 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.01121, allocations: 44.91 kB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.01164, allocations: 187.4 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.01197, allocations: 191.5 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.01201, allocations: 12 kB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.01223, allocations: 71.91 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.01245, allocations: 159.4 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.01259, allocations: 91.58 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.01325, allocations: 402.5 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.01326, allocations: 0 / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01326, allocations: 0 / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.01327, allocations: 0 / 383.1 MB, free: 13.13 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.001303/0.01457, allocations: 0.7445 MB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.01462, allocations: 12.03 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005171/0.01514, allocations: 108.5 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.01587, allocations: 434.4 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.01589, allocations: 8.375 kB / 384.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.01593, allocations: 12.38 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.01633, allocations: 159.7 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01635, allocations: 3.938 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.01636, allocations: 8 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01637, allocations: 0 / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.01672, allocations: 123.8 kB / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01793, allocations: 0.6289 MB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.01828, allocations: 125.2 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.01847, allocations: 69.73 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.0185, allocations: 4 kB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.01854, allocations: 30.56 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.01854, allocations: 0 / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002478/0.02102, allocations: 0.7766 MB / 386.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.0211, allocations: 85.09 kB / 386.4 MB, free: 9.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.02268, allocations: 0.9025 MB / 387.3 MB, free: 8.746 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.02272, allocations: 29.7 kB / 387.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.02301, allocations: 268.5 kB / 387.6 MB, free: 8.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.02311, allocations: 67.39 kB / 387.6 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.967e-05/0.0232, allocations: 41.69 kB / 387.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/0.02346, allocations: 370.8 kB / 388 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.02382, allocations: 107.9 kB / 388.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.02418, allocations: 137.6 kB / 388.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.02486, allocations: 249.7 kB / 388.5 MB, free: 7.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02486, allocations: 3.938 kB / 388.5 MB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009155/0.02577, allocations: 353 kB / 388.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.0258, allocations: 4 kB / 388.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.02581, allocations: 3.984 kB / 388.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.02584, allocations: 4 kB / 388.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.02616, allocations: 51.89 kB / 388.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.02618, allocations: 8 kB / 388.9 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.0264, allocations: 20.2 kB / 389 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.02644, allocations: 7.984 kB / 389 MB, free: 7.008 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 0.000359/0.0268, allocations: 217.7 kB / 389.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.02696, allocations: 79.5 kB / 389.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.02809, allocations: 394.3 kB / 389.7 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.02809, allocations: 4 kB / 389.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.0281, allocations: 0 / 389.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.0281, allocations: 0 / 389.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.02984, allocations: 0.8523 MB / 390.5 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.02985, allocations: 384 / 390.5 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.03013, allocations: 55.89 kB / 390.6 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.03014, allocations: 0 / 390.6 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.03017, allocations: 15.98 kB / 390.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.03017, allocations: 0 / 390.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03017, allocations: 0 / 390.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.03118, allocations: 0.5202 MB / 391.1 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.03133, allocations: 71.61 kB / 391.2 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.03139, allocations: 4 kB / 391.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.03165, allocations: 23.97 kB / 391.2 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.03176, allocations: 15.97 kB / 391.2 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.03179, allocations: 15.98 kB / 391.2 MB, free: 4.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009443/0.03273, allocations: 0.6591 MB / 391.9 MB, free: 4.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03273, allocations: 0 / 391.9 MB, free: 4.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004508/0.03318, allocations: 64 kB / 391.9 MB, free: 3.965 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.002137/0.03532, allocations: 449.1 kB / 392.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.03618, allocations: 259.6 kB / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.03619, allocations: 0 / 392.6 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.03655, allocations: 131.8 kB / 392.8 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.03731, allocations: 94.97 kB / 392.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.03933, allocations: 1.026 MB / 393.9 MB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.03974, allocations: 287.2 kB / 394.2 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.04004, allocations: 99.19 kB / 394.3 MB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.0402, allocations: 44.48 kB / 394.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0402, allocations: 0 / 394.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01232/0.05252, allocations: 4.662 MB / 399 MB, free: 13.12 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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: 5.096557267010212]