Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001232, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1909/0.1909, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 72.17 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2788, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01167/0.2905, allocations: 11.39 MB / 0.5428 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006508/0.297, allocations: 2.827 MB / 0.5455 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.2992, allocations: 62.88 kB / 0.5456 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002898/0.3021, allocations: 1.334 MB / 0.5469 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003556/0.3057, allocations: 1.226 MB / 0.5481 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.3062, allocations: 78.06 kB / 0.5482 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.3097, allocations: 2.772 MB / 0.5509 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.312, allocations: 1.772 MB / 0.5526 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.3138, allocations: 1.055 MB / 0.5536 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.316, allocations: 1.479 MB / 0.5551 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006623/0.3167, allocations: 208 kB / 0.5553 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.318, allocations: 491.4 kB / 0.5557 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.3195, allocations: 1.426 MB / 0.5571 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.3215, allocations: 1.719 MB / 0.5588 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005887/0.3274, allocations: 5.493 MB / 0.5642 GB, free: 340 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3275, allocations: 0 / 0.5642 GB, free: 340 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3275, allocations: 0 / 0.5642 GB, free: 340 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001664/0.3277, allocations: 0 / 0.5642 GB, free: 340 kB / 414.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.006009/0.3337, allocations: 3.637 MB / 0.5677 GB, free: 12.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3337, allocations: 12.03 kB / 0.5677 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009179/0.3429, allocations: 2.971 MB / 0.5706 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/0.3468, allocations: 1.561 MB / 0.5722 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.347, allocations: 172.7 kB / 0.5723 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008034/0.3478, allocations: 231.9 kB / 0.5726 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.3623, allocations: 9.71 MB / 0.582 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.3624, allocations: 19.81 kB / 0.5821 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.3627, allocations: 107.8 kB / 0.5822 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00338/0.3661, allocations: 2.436 MB / 0.5845 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.3811, allocations: 8.808 MB / 0.5931 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.4185, allocations: 30.52 MB / 0.6229 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004811/0.4234, allocations: 3.289 MB / 0.6261 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4245, allocations: 0.9141 MB / 0.627 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.4246, allocations: 12.98 kB / 0.6271 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4247, allocations: 47.5 kB / 0.6271 GB, free: 14.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.206e-06/0.4247, allocations: 7.938 kB / 0.6271 GB, free: 14.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.006797/0.4315, allocations: 3.366 MB / 0.6304 GB, free: 10.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4315, allocations: 64.34 kB / 0.6305 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.4355, allocations: 3.111 MB / 0.6335 GB, free: 7.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.4356, allocations: 41.7 kB / 0.6335 GB, free: 7.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.4373, allocations: 2.688 MB / 0.6362 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005602/0.4378, allocations: 0.5592 MB / 0.6367 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.4389, allocations: 0.9758 MB / 0.6377 GB, free: 3.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.439, allocations: 301.1 kB / 0.6379 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.441, allocations: 1.528 MB / 0.6394 GB, free: 1.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.4445, allocations: 4.455 MB / 0.6438 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.4511, allocations: 6.543 MB / 0.6502 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-05/0.4512, allocations: 28 kB / 0.6502 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.00934/0.4605, allocations: 5.824 MB / 0.6559 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.4606, allocations: 52.03 kB / 0.6559 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.4608, allocations: 104 kB / 0.656 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.4609, allocations: 136 kB / 0.6562 GB, free: 13.45 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.4639, allocations: 1.06 MB / 0.6572 GB, free: 12.39 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000152/0.4641, allocations: 207.2 kB / 0.6574 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.4674, allocations: 0.6878 MB / 0.6581 GB, free: 11.49 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005984/0.468, allocations: 288 kB / 0.6583 GB, free: 11.21 MB / 0.5138 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.002766/0.4708, allocations: 1.946 MB / 0.6602 GB, free: 9.246 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.4711, allocations: 256.6 kB / 0.6605 GB, free: 8.992 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.4717, allocations: 327.8 kB / 0.6608 GB, free: 8.668 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.299e-05/0.4717, allocations: 19.98 kB / 0.6608 GB, free: 8.648 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.4718, allocations: 7.875 kB / 0.6608 GB, free: 8.641 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4718, allocations: 7.969 kB / 0.6608 GB, free: 8.633 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.4826, allocations: 6.862 MB / 0.6675 GB, free: 1.613 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4827, allocations: 8 kB / 0.6675 GB, free: 1.605 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.4834, allocations: 179.7 kB / 0.6677 GB, free: 1.43 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.4834, allocations: 12 kB / 0.6677 GB, free: 1.418 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.4835, allocations: 31.94 kB / 0.6678 GB, free: 1.387 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.4835, allocations: 11.98 kB / 0.6678 GB, free: 1.375 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.4835, allocations: 12.47 kB / 0.6678 GB, free: 1.363 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.4862, allocations: 2.256 MB / 0.67 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/0.4871, allocations: 357.3 kB / 0.6703 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.4874, allocations: 27.94 kB / 0.6704 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/0.4882, allocations: 43.95 kB / 0.6704 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.4883, allocations: 80.44 kB / 0.6705 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.4884, allocations: 55.92 kB / 0.6705 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002922/0.4914, allocations: 1.979 MB / 0.6725 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4914, allocations: 0 / 0.6725 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003761/0.4952, allocations: 0.9881 MB / 0.6734 GB, free: 11.45 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.0004048/0.4956, allocations: 162.8 kB / 0.6736 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005071/0.5007, allocations: 3.574 MB / 0.6771 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.5007, allocations: 4 kB / 0.6771 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.5019, allocations: 0.9227 MB / 0.678 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.5035, allocations: 325.8 kB / 0.6783 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.5162, allocations: 8.041 MB / 0.6861 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/0.5197, allocations: 3.016 MB / 0.6891 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/0.5204, allocations: 227.4 kB / 0.6893 GB, free: 11.04 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.5204, allocations: 7.938 kB / 0.6893 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Templates: time 0.2666/0.787, allocations: 46.53 MB / 0.7347 GB, free: 152.9 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches