Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001328/0.001328, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001455/0.001455, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.505/1.505, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2204/0.2204, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [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.002331/0.002331, allocations: 77.92 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3787, allocations: 65.47 MB / 0.5582 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003571/0.3822, allocations: 1.663 MB / 0.5598 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3834, allocations: 0.5271 MB / 0.5604 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.3834, allocations: 0 / 0.5604 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.3841, allocations: 467.1 kB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.3846, allocations: 291.3 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.385, allocations: 131 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3853, allocations: 171.6 kB / 0.5614 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3854, allocations: 19.98 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3856, allocations: 119.6 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.3859, allocations: 243.5 kB / 0.5617 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.3859, allocations: 4 kB / 0.5617 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.386, allocations: 51.98 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3861, allocations: 79.69 kB / 0.5619 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.3862, allocations: 79.17 kB / 0.5619 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.3866, allocations: 288.9 kB / 0.5622 GB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3866, allocations: 0 / 0.5622 GB, free: 3.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3866, allocations: 3.938 kB / 0.5622 GB, free: 3.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3866, allocations: 0 / 0.5622 GB, free: 3.242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008433/0.3875, allocations: 0.5854 MB / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3875, allocations: 8.031 kB / 0.5628 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.3876, allocations: 44.66 kB / 0.5628 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.3879, allocations: 242.7 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3879, allocations: 8.375 kB / 0.5631 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3879, allocations: 8.297 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3881, allocations: 61.81 kB / 0.5631 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3881, allocations: 0 / 0.5631 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3881, allocations: 0 / 0.5631 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3881, allocations: 4 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.3882, allocations: 31.97 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.3887, allocations: 336.3 kB / 0.5635 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3889, allocations: 38.56 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.3889, allocations: 16.94 kB / 0.5636 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3889, allocations: 4.094 kB / 0.5636 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.389, allocations: 38.5 kB / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.389, allocations: 0 / 0.5636 GB, free: 1.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001027/0.39, allocations: 308.8 kB / 0.5639 GB, free: 1.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3901, allocations: 55.41 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009696/0.391, allocations: 0.8613 MB / 0.5648 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.391, allocations: 33.7 kB / 0.5648 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.3912, allocations: 220 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.3913, allocations: 27.78 kB / 0.5651 GB, free: 188 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.3913, allocations: 21.72 kB / 0.5651 GB, free: 160 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3915, allocations: 358.8 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.3916, allocations: 27.98 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.3917, allocations: 23.98 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3919, allocations: 60.83 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3919, allocations: 7.938 kB / 0.5655 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002422/0.3921, allocations: 133.4 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3921, allocations: 4 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3921, allocations: 0 / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3921, allocations: 4 kB / 0.5657 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3922, allocations: 15.98 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3923, allocations: 7.875 kB / 0.5657 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.3923, allocations: 4 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3923, allocations: 8 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0002293/0.3925, allocations: 217.7 kB / 0.5659 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.3926, allocations: 47.67 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.393, allocations: 169.6 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.393, allocations: 4 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.393, allocations: 3.938 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.393, allocations: 0 / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.3937, allocations: 446.9 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3937, allocations: 0 / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.3938, allocations: 19.98 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.3938, allocations: 3.938 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3938, allocations: 4 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3938, allocations: 11.92 kB / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3938, allocations: 0 / 0.5666 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.3941, allocations: 236.1 kB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.3942, allocations: 35.67 kB / 0.5668 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3942, allocations: 7.938 kB / 0.5669 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.3943, allocations: 8 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3944, allocations: 3.984 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3944, allocations: 4 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007052/0.3951, allocations: 0.6472 MB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3951, allocations: 0 / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3953, allocations: 31.98 kB / 0.5675 GB, free: 13.54 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 (8): * Single equations (assignments): 8 * 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.001893/0.3972, allocations: 497.9 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.3975, allocations: 55.97 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3975, allocations: 0 / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.3977, allocations: 51.84 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.3981, allocations: 29.33 kB / 0.5681 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3994, allocations: 0.856 MB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3997, allocations: 220.1 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.3997, allocations: 15.44 kB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3997, allocations: 0 / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of Templates: time 0.008438/0.4082, allocations: 4.097 MB / 0.5732 GB, free: 7.883 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.042805823963135]