Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001535/0.001535, allocations: 112.5 kB / 21.19 MB, free: 0.7461 MB / 14.72 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.001848/0.001848, allocations: 213.7 kB / 24.5 MB, free: 3.98 MB / 14.72 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.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.2326/0.2326, allocations: 44.91 MB / 359.6 MB, free: 6.273 MB / 286.1 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 71.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003913/0.3906, allocations: 2.123 MB / 0.5603 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.3931, allocations: 1.322 MB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.3932, allocations: 4 kB / 0.5616 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.3935, allocations: 47.52 kB / 0.5617 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.3941, allocations: 223 kB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3951, allocations: 454 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.3956, allocations: 335 kB / 0.5626 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.3958, allocations: 56.64 kB / 0.5627 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.3961, allocations: 155.3 kB / 0.5628 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.3964, allocations: 207.3 kB / 0.563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.3965, allocations: 12 kB / 0.5631 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3966, allocations: 71.92 kB / 0.5631 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.3968, allocations: 147.5 kB / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.397, allocations: 174.6 kB / 0.5634 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.3975, allocations: 412.5 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3975, allocations: 0 / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3975, allocations: 0 / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3975, allocations: 0 / 0.5638 GB, free: 2.016 MB / 398.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.001188/0.3987, allocations: 0.7484 MB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3988, allocations: 11.98 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004278/0.3992, allocations: 96.52 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.4, allocations: 419.2 kB / 0.5651 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4, allocations: 8.375 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.4, allocations: 16.12 kB / 0.5651 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.4004, allocations: 139.3 kB / 0.5652 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.4004, allocations: 7.938 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4004, allocations: 4 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4004, allocations: 0 / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.4007, allocations: 99.86 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.4018, allocations: 0.6518 MB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.4021, allocations: 117.2 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.4022, allocations: 53.81 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4023, allocations: 8 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4023, allocations: 38.55 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4023, allocations: 224 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002023/0.4043, allocations: 0.6943 MB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.4044, allocations: 81.11 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.4055, allocations: 0.9063 MB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.4056, allocations: 29.7 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.4058, allocations: 260.4 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.4059, allocations: 67.42 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.4059, allocations: 37.7 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.4062, allocations: 378.7 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.4064, allocations: 87.94 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.4067, allocations: 113.6 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.4072, allocations: 210.3 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4072, allocations: 0 / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006769/0.4079, allocations: 309.2 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4079, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4079, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4079, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.4082, allocations: 47.95 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4082, allocations: 4 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.4084, allocations: 23.97 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4084, allocations: 8 kB / 0.5693 GB, free: 12.14 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 (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.0002404/0.4087, allocations: 217.7 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.4088, allocations: 63.58 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008245/0.4096, allocations: 346.3 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.4096, allocations: 4 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4096, allocations: 0 / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4096, allocations: 4 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.411, allocations: 0.8522 MB / 0.5708 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.411, allocations: 7.984 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.4113, allocations: 59.89 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4113, allocations: 0 / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.4113, allocations: 4.094 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.4113, allocations: 11.81 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4113, allocations: 4 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.412, allocations: 480.8 kB / 0.5713 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.4122, allocations: 71.61 kB / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.4122, allocations: 0 / 0.5714 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.4125, allocations: 27.91 kB / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.4126, allocations: 27.91 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.4126, allocations: 7.984 kB / 0.5714 GB, free: 9.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.4133, allocations: 0.6552 MB / 0.5721 GB, free: 9.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4133, allocations: 0 / 0.5721 GB, free: 9.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.4137, allocations: 60 kB / 0.5721 GB, free: 9.191 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 (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.00153/0.4152, allocations: 398.7 kB / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006345/0.4159, allocations: 215.7 kB / 0.5727 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4159, allocations: 0 / 0.5727 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.4161, allocations: 111.9 kB / 0.5728 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.4168, allocations: 96.33 kB / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.4183, allocations: 0.9871 MB / 0.5739 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.4188, allocations: 0.8616 MB / 0.5747 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.4189, allocations: 51.34 kB / 0.5748 GB, free: 6.578 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4189, allocations: 0 / 0.5748 GB, free: 6.578 MB / 414.1 MB Notification: Performance of Templates: time 0.009617/0.4285, allocations: 6.075 MB / 0.5807 GB, free: 0.5156 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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: 8.23342678998597]