Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001936/0.001936, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002412/0.002412, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.592/1.592, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.2441/0.2441, allocations: 44.93 MB / 358.8 MB, free: 6.039 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [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.003779/0.003779, allocations: 67.91 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3851, allocations: 65.48 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003449/0.3885, allocations: 1.652 MB / 0.5591 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3898, allocations: 0.5622 MB / 0.5596 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3899, allocations: 8 kB / 0.5597 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.3901, allocations: 51.73 kB / 0.5597 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.3905, allocations: 95.59 kB / 0.5598 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.3909, allocations: 175.1 kB / 0.56 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3911, allocations: 83.81 kB / 0.56 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3912, allocations: 24.2 kB / 0.5601 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.3913, allocations: 39.8 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.3914, allocations: 51.69 kB / 0.5602 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3914, allocations: 4 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3915, allocations: 43.98 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.3916, allocations: 23.92 kB / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.3916, allocations: 27.8 kB / 0.5602 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3918, allocations: 117.9 kB / 0.5604 GB, free: 4.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3918, allocations: 4 kB / 0.5604 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3918, allocations: 0 / 0.5604 GB, free: 4.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3919, allocations: 0 / 0.5604 GB, free: 4.508 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.0005399/0.3924, allocations: 343.7 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3924, allocations: 12.03 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.3925, allocations: 8.891 kB / 0.5607 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3927, allocations: 138.4 kB / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3927, allocations: 384 / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3927, allocations: 8.375 kB / 0.5609 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3929, allocations: 73.72 kB / 0.5609 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3929, allocations: 4 kB / 0.5609 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3929, allocations: 0 / 0.5609 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.393, allocations: 4 kB / 0.5609 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3931, allocations: 47.91 kB / 0.561 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3936, allocations: 264.3 kB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.3939, allocations: 54.55 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.394, allocations: 32.95 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.394, allocations: 0 / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.394, allocations: 34.56 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.394, allocations: 0 / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00154/0.3956, allocations: 421 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3956, allocations: 55.39 kB / 0.5618 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3958, allocations: 185.6 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3958, allocations: 29.7 kB / 0.562 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.3959, allocations: 108 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.396, allocations: 35.69 kB / 0.5621 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.396, allocations: 21.72 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3962, allocations: 322.8 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3963, allocations: 55.95 kB / 0.5625 GB, free: 2.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3965, allocations: 63.94 kB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.3968, allocations: 132.7 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3968, allocations: 0 / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003538/0.3971, allocations: 157.5 kB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3971, allocations: 8 kB / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3971, allocations: 0 / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3971, allocations: 4 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3973, allocations: 27.97 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3973, allocations: 3.938 kB / 0.5629 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.3973, allocations: 16.48 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3973, allocations: 0 / 0.5629 GB, free: 1.719 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001333/0.3975, allocations: 133.8 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3975, allocations: 11.91 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.398, allocations: 190.3 kB / 0.5632 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.398, allocations: 4 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.398, allocations: 3.938 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.398, allocations: 0 / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.3988, allocations: 435.7 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3988, allocations: 0 / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.3989, allocations: 32.05 kB / 0.5637 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3989, allocations: 3.938 kB / 0.5637 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3989, allocations: 4 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3989, allocations: 4 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3989, allocations: 3.938 kB / 0.5637 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.3993, allocations: 265.1 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.3993, allocations: 19.83 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3993, allocations: 8 kB / 0.564 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/0.3994, allocations: 8 kB / 0.564 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3995, allocations: 11.97 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3995, allocations: 7.984 kB / 0.564 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.3996, allocations: 135.2 kB / 0.5641 GB, free: 388 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3996, allocations: 3.938 kB / 0.5641 GB, free: 384 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3999, allocations: 27.94 kB / 0.5642 GB, free: 356 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001926/0.4018, allocations: 492.8 kB / 0.5646 GB, free: 76 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.4022, allocations: 123.8 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4022, allocations: 4 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4024, allocations: 67.89 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4028, allocations: 28.08 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.4035, allocations: 300 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.4036, allocations: 104.8 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.862e-05/0.4037, allocations: 36.31 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.4038, allocations: 23.38 kB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4038, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Templates: time 0.005339/0.4091, allocations: 1.68 MB / 0.5669 GB, free: 13.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.307713583111763]