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.001899/0.001899, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002548/0.002548, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.218/0.218, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.002179/0.002179, allocations: 67.91 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.371, allocations: 65.47 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003663/0.3747, allocations: 2.026 MB / 0.5602 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.377, allocations: 1.232 MB / 0.5614 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.3771, allocations: 11.94 kB / 0.5614 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.3774, allocations: 51.56 kB / 0.5614 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005417/0.3779, allocations: 223 kB / 0.5617 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3789, allocations: 454.3 kB / 0.5621 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.3793, allocations: 330.9 kB / 0.5624 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3795, allocations: 52.67 kB / 0.5625 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3798, allocations: 147.4 kB / 0.5626 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3801, allocations: 211.2 kB / 0.5628 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.3801, allocations: 12 kB / 0.5628 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.3803, allocations: 75.95 kB / 0.5629 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.3804, allocations: 135.5 kB / 0.563 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3805, allocations: 134.9 kB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.381, allocations: 416.5 kB / 0.5635 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.381, allocations: 0 / 0.5635 GB, free: 1.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.381, allocations: 0 / 0.5635 GB, free: 1.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3811, allocations: 0 / 0.5635 GB, free: 1.992 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.001148/0.3822, allocations: 0.7523 MB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3822, allocations: 11.98 kB / 0.5643 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/0.3827, allocations: 92.52 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3834, allocations: 415.2 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3834, allocations: 16.25 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.3834, allocations: 12.12 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.3838, allocations: 152.9 kB / 0.5649 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3838, allocations: 3.953 kB / 0.5649 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3838, allocations: 4 kB / 0.5649 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3838, allocations: 4 kB / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3841, allocations: 95.92 kB / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009691/0.3851, allocations: 0.5861 MB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.3853, allocations: 121.2 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3855, allocations: 57.81 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.3855, allocations: 7.984 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3856, allocations: 34.5 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3856, allocations: 4 kB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001967/0.3875, allocations: 0.6867 MB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3876, allocations: 89.31 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.3886, allocations: 0.8946 MB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3886, allocations: 33.64 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.3889, allocations: 260.4 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.3889, allocations: 71.42 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.389, allocations: 37.7 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3892, allocations: 374.7 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.3895, allocations: 87.94 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.3897, allocations: 113.6 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.3903, allocations: 209.7 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.3903, allocations: 7.938 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00069/0.391, allocations: 301.1 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.391, allocations: 8 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.391, allocations: 0 / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.391, allocations: 0 / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.3913, allocations: 59.89 kB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3913, allocations: 3.984 kB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.3915, allocations: 19.98 kB / 0.569 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3915, allocations: 7.984 kB / 0.569 GB, free: 12.19 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.0002324/0.3917, allocations: 217.7 kB / 0.5692 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3918, allocations: 63.56 kB / 0.5692 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.3927, allocations: 347.4 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.3927, allocations: 4 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3927, allocations: 4.094 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3927, allocations: 3.938 kB / 0.5696 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3941, allocations: 0.7938 MB / 0.5704 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3941, allocations: 3.984 kB / 0.5704 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.3943, allocations: 47.95 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3943, allocations: 4 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.3944, allocations: 3.984 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3944, allocations: 4 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3944, allocations: 4 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007641/0.3951, allocations: 488.5 kB / 0.5709 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3953, allocations: 67.61 kB / 0.571 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.3953, allocations: 7.938 kB / 0.571 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.3956, allocations: 19.98 kB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.3956, allocations: 27.89 kB / 0.571 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.3957, allocations: 8 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007675/0.3964, allocations: 0.6552 MB / 0.5717 GB, free: 9.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3964, allocations: 0 / 0.5717 GB, free: 9.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.3968, allocations: 60 kB / 0.5717 GB, free: 9.316 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.001671/0.3985, allocations: 432.4 kB / 0.5721 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006529/0.3991, allocations: 215.8 kB / 0.5723 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3992, allocations: 0 / 0.5723 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.3994, allocations: 115.8 kB / 0.5724 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.4, allocations: 81.97 kB / 0.5725 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.4016, allocations: 0.9802 MB / 0.5735 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.4019, allocations: 263 kB / 0.5737 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.402, allocations: 47.41 kB / 0.5738 GB, free: 7.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.402, allocations: 0 / 0.5738 GB, free: 7.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01017/0.4122, allocations: 6.253 MB / 0.5799 GB, free: 1.078 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.22044922132045]