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.001298/0.001298, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001502, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 75.88 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4455, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01156/0.4571, allocations: 11.39 MB / 0.5421 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006483/0.4637, allocations: 2.831 MB / 0.5449 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.4655, allocations: 58.88 kB / 0.5449 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.4687, allocations: 1.334 MB / 0.5462 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.4725, allocations: 1.225 MB / 0.5474 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.4729, allocations: 78 kB / 0.5475 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004135/0.4771, allocations: 2.763 MB / 0.5502 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.4797, allocations: 1.768 MB / 0.5519 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.4816, allocations: 1.066 MB / 0.553 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.4835, allocations: 1.479 MB / 0.5544 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000447/0.484, allocations: 204 kB / 0.5546 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.4852, allocations: 495.4 kB / 0.5551 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.4864, allocations: 1.422 MB / 0.5565 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.488, allocations: 1.723 MB / 0.5581 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006145/0.4941, allocations: 5.508 MB / 0.5635 GB, free: 288 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4941, allocations: 0 / 0.5635 GB, free: 288 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4942, allocations: 0 / 0.5635 GB, free: 288 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.4943, allocations: 0 / 0.5635 GB, free: 288 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.006491/0.5008, allocations: 3.742 MB / 0.5672 GB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5009, allocations: 12.03 kB / 0.5672 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009944/0.5108, allocations: 3.001 MB / 0.5701 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.5143, allocations: 1.553 MB / 0.5716 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.5145, allocations: 180.6 kB / 0.5718 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.515, allocations: 231.9 kB / 0.572 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.5296, allocations: 9.694 MB / 0.5815 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.946e-05/0.5297, allocations: 19.81 kB / 0.5815 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003432/0.53, allocations: 115.8 kB / 0.5816 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003726/0.5338, allocations: 2.432 MB / 0.584 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.5501, allocations: 8.814 MB / 0.5926 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/0.5887, allocations: 30.61 MB / 0.6225 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.5935, allocations: 3.273 MB / 0.6257 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.5947, allocations: 0.9258 MB / 0.6266 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.5948, allocations: 20.92 kB / 0.6266 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.5949, allocations: 43.56 kB / 0.6267 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.066e-06/0.5949, allocations: 3.938 kB / 0.6267 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007549/0.6025, allocations: 3.379 MB / 0.63 GB, free: 10.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.6026, allocations: 68.34 kB / 0.63 GB, free: 10.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004331/0.6069, allocations: 3.116 MB / 0.6331 GB, free: 7.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.012e-05/0.607, allocations: 49.62 kB / 0.6331 GB, free: 7.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.6087, allocations: 2.79 MB / 0.6358 GB, free: 4.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.6092, allocations: 0.5892 MB / 0.6364 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/0.6103, allocations: 0.9806 MB / 0.6374 GB, free: 2.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.6104, allocations: 305.1 kB / 0.6377 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.6125, allocations: 1.524 MB / 0.6392 GB, free: 1.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/0.6167, allocations: 4.459 MB / 0.6435 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007118/0.6238, allocations: 6.535 MB / 0.6499 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.522e-05/0.6239, allocations: 28 kB / 0.6499 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008986/0.6329, allocations: 5.842 MB / 0.6556 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.633, allocations: 52 kB / 0.6557 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-05/0.6331, allocations: 100 kB / 0.6558 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.6332, allocations: 136 kB / 0.6559 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.6362, allocations: 1.064 MB / 0.6569 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001691/0.6364, allocations: 203.2 kB / 0.6571 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.6395, allocations: 0.6939 MB / 0.6578 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.6399, allocations: 303.2 kB / 0.6581 GB, free: 10.77 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.002897/0.6428, allocations: 1.946 MB / 0.66 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.6432, allocations: 270.1 kB / 0.6603 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.6438, allocations: 327.8 kB / 0.6606 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.6438, allocations: 16 kB / 0.6606 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.6438, allocations: 7.938 kB / 0.6606 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6439, allocations: 3.984 kB / 0.6606 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009377/0.6532, allocations: 6.87 MB / 0.6673 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.6533, allocations: 4 kB / 0.6673 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/0.654, allocations: 179.7 kB / 0.6675 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.654, allocations: 8.781 kB / 0.6675 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.6541, allocations: 39.91 kB / 0.6675 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.6541, allocations: 19.94 kB / 0.6675 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.6541, allocations: 11.98 kB / 0.6676 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/0.6567, allocations: 2.261 MB / 0.6698 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.6572, allocations: 366.8 kB / 0.6701 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.6575, allocations: 35.92 kB / 0.6702 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.6581, allocations: 43.95 kB / 0.6702 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.6583, allocations: 88.38 kB / 0.6703 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/0.6584, allocations: 48 kB / 0.6703 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002655/0.6611, allocations: 1.983 MB / 0.6723 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6611, allocations: 0 / 0.6723 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004058/0.6651, allocations: 1.001 MB / 0.6732 GB, free: 10.96 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.000356/0.6655, allocations: 162.8 kB / 0.6734 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005443/0.671, allocations: 3.577 MB / 0.6769 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.671, allocations: 0 / 0.6769 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.6722, allocations: 0.9197 MB / 0.6778 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.6745, allocations: 336.4 kB / 0.6781 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.6877, allocations: 7.735 MB / 0.6857 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/0.6907, allocations: 3.012 MB / 0.6886 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003365/0.694, allocations: 1.715 MB / 0.6903 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/0.6945, allocations: 183.4 kB / 0.6905 GB, free: 9.184 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.6945, allocations: 4 kB / 0.6905 GB, free: 9.18 MB / 0.545 GB Notification: Performance of Templates: time 0.04983/0.7444, allocations: 20.22 MB / 0.7102 GB, free: 5.027 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches