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.001525/0.001525, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001774/0.001774, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.584/1.584, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2435/0.2435, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.00235/0.00235, allocations: 67.91 kB / 0.4966 GB, free: 7.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3658, allocations: 66.01 MB / 0.5611 GB, free: 33.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.009732/0.3756, allocations: 9.941 MB / 0.5708 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.3818, allocations: 2.721 MB / 0.5734 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.3831, allocations: 62.69 kB / 0.5735 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.3857, allocations: 1.313 MB / 0.5748 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.3884, allocations: 1.28 MB / 0.576 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.3888, allocations: 80.41 kB / 0.5761 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003605/0.3924, allocations: 2.75 MB / 0.5788 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.3951, allocations: 1.619 MB / 0.5804 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.3977, allocations: 1.077 MB / 0.5814 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/0.4006, allocations: 1.582 MB / 0.583 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006225/0.4012, allocations: 206.4 kB / 0.5832 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.4025, allocations: 410.4 kB / 0.5835 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0018/0.4043, allocations: 1.474 MB / 0.585 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.4058, allocations: 1.2 MB / 0.5862 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007694/0.4135, allocations: 5.538 MB / 0.5916 GB, free: 17.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.4135, allocations: 4 kB / 0.5916 GB, free: 17.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4135, allocations: 1.406 kB / 0.5916 GB, free: 17.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002363/0.4138, allocations: 0 / 0.5916 GB, free: 17.79 MB / 446.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.008392/0.4222, allocations: 3.659 MB / 0.5951 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4222, allocations: 10.16 kB / 0.5951 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00999/0.4322, allocations: 3.001 MB / 0.5981 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004811/0.437, allocations: 1.523 MB / 0.5996 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.4372, allocations: 174.3 kB / 0.5997 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009699/0.4382, allocations: 221.3 kB / 0.5999 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.452, allocations: 9.7 MB / 0.6094 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/0.452, allocations: 23.8 kB / 0.6094 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003186/0.4523, allocations: 111.8 kB / 0.6095 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003134/0.4555, allocations: 2.443 MB / 0.6119 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.4739, allocations: 8.79 MB / 0.6205 GB, free: 9.062 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04981/0.5237, allocations: 27.8 MB / 0.6477 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005127/0.5288, allocations: 2.262 MB / 0.6499 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.5301, allocations: 0.8555 MB / 0.6507 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/0.5302, allocations: 17 kB / 0.6507 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.5302, allocations: 43.56 kB / 0.6508 GB, free: 9.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.487e-06/0.5302, allocations: 4 kB / 0.6508 GB, free: 9.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.00782/0.5381, allocations: 3.344 MB / 0.654 GB, free: 5.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.5381, allocations: 68.53 kB / 0.6541 GB, free: 5.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/0.5424, allocations: 2.753 MB / 0.6568 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.5425, allocations: 45.69 kB / 0.6568 GB, free: 2.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002191/0.5447, allocations: 2.817 MB / 0.6596 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007379/0.5455, allocations: 0.5894 MB / 0.6602 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.5469, allocations: 0.9806 MB / 0.6611 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5471, allocations: 341.9 kB / 0.6614 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.5494, allocations: 1.54 MB / 0.6629 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/0.5544, allocations: 4.451 MB / 0.6673 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008774/0.5632, allocations: 6.539 MB / 0.6737 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-05/0.5633, allocations: 28 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01053/0.5738, allocations: 5.803 MB / 0.6794 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.5739, allocations: 48 kB / 0.6794 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.574, allocations: 104 kB / 0.6795 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.5741, allocations: 139.9 kB / 0.6796 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/0.5774, allocations: 1.061 MB / 0.6807 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001915/0.5776, allocations: 203.2 kB / 0.6809 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/0.5812, allocations: 0.6357 MB / 0.6815 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004544/0.5817, allocations: 300.2 kB / 0.6818 GB, free: 6.453 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.003799/0.5855, allocations: 1.946 MB / 0.6837 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.5859, allocations: 226.5 kB / 0.6839 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.5865, allocations: 291.6 kB / 0.6842 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.5865, allocations: 16 kB / 0.6842 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.5865, allocations: 11.92 kB / 0.6842 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5865, allocations: 3.984 kB / 0.6842 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.5972, allocations: 5.604 MB / 0.6897 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.5972, allocations: 4 kB / 0.6897 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/0.598, allocations: 175.7 kB / 0.6899 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.598, allocations: 15.98 kB / 0.6899 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.598, allocations: 28 kB / 0.6899 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.029e-05/0.5981, allocations: 19.92 kB / 0.6899 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.5981, allocations: 11.88 kB / 0.6899 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.6011, allocations: 2.222 MB / 0.6921 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/0.6017, allocations: 230.1 kB / 0.6923 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.6019, allocations: 24 kB / 0.6923 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.6026, allocations: 47.95 kB / 0.6924 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.6028, allocations: 92.28 kB / 0.6925 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6029, allocations: 44 kB / 0.6925 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002466/0.6053, allocations: 1.547 MB / 0.694 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6053, allocations: 0 / 0.694 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004099/0.6094, allocations: 1.051 MB / 0.6951 GB, free: 8.586 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.0003917/0.6098, allocations: 154.9 kB / 0.6952 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005626/0.6154, allocations: 3.43 MB / 0.6985 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.6154, allocations: 4 kB / 0.6986 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6166, allocations: 0.8564 MB / 0.6994 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6179, allocations: 223 kB / 0.6996 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.6326, allocations: 7.692 MB / 0.7071 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/0.6364, allocations: 2.457 MB / 0.7095 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003867/0.6403, allocations: 1.668 MB / 0.7111 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.6408, allocations: 163.4 kB / 0.7113 GB, free: 7.801 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.6408, allocations: 0 / 0.7113 GB, free: 7.801 MB / 0.545 GB Notification: Performance of Templates: time 0.04147/0.6822, allocations: 17.2 MB / 0.7281 GB, free: 6.859 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/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.601989973336458]