Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001856/0.001856, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002196/0.002196, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 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.2237/0.2237, allocations: 46.97 MB / 361.6 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 180] 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.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.91 kB / 0.4973 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 66.03 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01376/0.3724, allocations: 9.935 MB / 0.5715 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.3787, allocations: 2.722 MB / 0.5742 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.3798, allocations: 63.81 kB / 0.5742 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.3824, allocations: 1.312 MB / 0.5755 GB, free: 6.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.3851, allocations: 1.28 MB / 0.5768 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3853, allocations: 83.83 kB / 0.5768 GB, free: 4.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003182/0.3885, allocations: 2.76 MB / 0.5795 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.3905, allocations: 1.615 MB / 0.5811 GB, free: 260 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.3921, allocations: 1.086 MB / 0.5822 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.3945, allocations: 1.635 MB / 0.5838 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004578/0.3949, allocations: 211.9 kB / 0.584 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009522/0.3959, allocations: 411.3 kB / 0.5844 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.3973, allocations: 1.472 MB / 0.5858 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.3987, allocations: 1.206 MB / 0.587 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.4047, allocations: 5.537 MB / 0.5924 GB, free: 4.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4047, allocations: 0 / 0.5924 GB, free: 4.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4047, allocations: 0 / 0.5924 GB, free: 4.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001271/0.4048, allocations: 0 / 0.5924 GB, free: 4.664 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.005713/0.4105, allocations: 3.663 MB / 0.596 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4106, allocations: 8.031 kB / 0.596 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.4206, allocations: 2.997 MB / 0.5989 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/0.425, allocations: 1.519 MB / 0.6004 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.4252, allocations: 180.6 kB / 0.6006 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/0.4259, allocations: 224 kB / 0.6008 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.443, allocations: 9.702 MB / 0.6102 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.164e-05/0.4431, allocations: 23.81 kB / 0.6103 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003433/0.4434, allocations: 103.8 kB / 0.6104 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/0.4474, allocations: 2.443 MB / 0.6127 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.4645, allocations: 8.796 MB / 0.6213 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0413/0.5058, allocations: 27.78 MB / 0.6485 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005038/0.5109, allocations: 2.268 MB / 0.6507 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.5121, allocations: 0.8515 MB / 0.6515 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/0.5121, allocations: 13 kB / 0.6515 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.5122, allocations: 43.56 kB / 0.6516 GB, free: 6.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.436e-06/0.5122, allocations: 0 / 0.6516 GB, free: 6.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007502/0.5197, allocations: 3.352 MB / 0.6548 GB, free: 3.309 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.5198, allocations: 60.5 kB / 0.6549 GB, free: 3.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/0.5238, allocations: 2.753 MB / 0.6576 GB, free: 464 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.5239, allocations: 45.69 kB / 0.6576 GB, free: 412 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002186/0.5261, allocations: 2.829 MB / 0.6604 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006733/0.5268, allocations: 0.5931 MB / 0.661 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.528, allocations: 0.9767 MB / 0.6619 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5282, allocations: 345.9 kB / 0.6623 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.5304, allocations: 1.528 MB / 0.6638 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004616/0.535, allocations: 4.451 MB / 0.6681 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/0.5427, allocations: 6.543 MB / 0.6745 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.618e-05/0.5427, allocations: 28 kB / 0.6745 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01065/0.5534, allocations: 5.799 MB / 0.6802 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.335e-05/0.5535, allocations: 51.94 kB / 0.6802 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/0.5536, allocations: 104 kB / 0.6803 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.5538, allocations: 140.7 kB / 0.6805 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/0.5572, allocations: 1.057 MB / 0.6815 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001711/0.5573, allocations: 207.2 kB / 0.6817 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.5605, allocations: 0.6395 MB / 0.6823 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/0.561, allocations: 300 kB / 0.6826 GB, free: 3.855 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.003035/0.564, allocations: 1.95 MB / 0.6845 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/0.5644, allocations: 226.5 kB / 0.6847 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.5649, allocations: 287.6 kB / 0.685 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.128e-05/0.5649, allocations: 20 kB / 0.685 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.565, allocations: 7.922 kB / 0.685 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.565, allocations: 3.984 kB / 0.685 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009895/0.5749, allocations: 5.592 MB / 0.6905 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.5749, allocations: 8 kB / 0.6905 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/0.5757, allocations: 179.7 kB / 0.6907 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.845e-05/0.5757, allocations: 8.062 kB / 0.6907 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/0.5758, allocations: 32.66 kB / 0.6907 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/0.5758, allocations: 19.92 kB / 0.6907 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.536e-05/0.5758, allocations: 15.94 kB / 0.6907 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.5789, allocations: 2.21 MB / 0.6929 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/0.5795, allocations: 238.1 kB / 0.6931 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.5797, allocations: 27.98 kB / 0.6932 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006235/0.5803, allocations: 43.95 kB / 0.6932 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.5805, allocations: 88.28 kB / 0.6933 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.5806, allocations: 52 kB / 0.6933 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002356/0.583, allocations: 1.543 MB / 0.6948 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.583, allocations: 0 / 0.6948 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004009/0.587, allocations: 1.055 MB / 0.6959 GB, free: 5.992 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.0003863/0.5874, allocations: 154.8 kB / 0.696 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005507/0.5929, allocations: 3.432 MB / 0.6994 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.5929, allocations: 2 kB / 0.6994 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5941, allocations: 0.86 MB / 0.7002 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5954, allocations: 214.1 kB / 0.7004 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.6086, allocations: 7.693 MB / 0.7079 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003482/0.6121, allocations: 2.461 MB / 0.7103 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003692/0.6158, allocations: 1.664 MB / 0.712 GB, free: 5.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/0.6162, allocations: 163.4 kB / 0.7121 GB, free: 5.207 MB / 0.545 GB Notification: Performance of SimCode: time 1.492e-06/0.6162, allocations: 0 / 0.7121 GB, free: 5.207 MB / 0.545 GB Notification: Performance of Templates: time 0.04381/0.66, allocations: 19.4 MB / 0.7311 GB, free: 2.051 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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: 6.36791082599666]