Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001108, allocations: 201.4 kB / 15.8 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.6 MB / 243.1 MB, free: 12.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007484/0.0007485, allocations: 101.6 kB / 295.1 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 44.84 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 4 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09797, allocations: 62.95 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02005/0.1181, allocations: 26.02 MB / 0.5407 GB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009926/0.1281, allocations: 5.407 MB / 0.546 GB, free: 5.578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.1305, allocations: 115.8 kB / 0.5461 GB, free: 5.465 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.1324, allocations: 1.264 MB / 0.5474 GB, free: 4.191 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.138, allocations: 3.553 MB / 0.5508 GB, free: 0.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1383, allocations: 87.91 kB / 0.5509 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1996/0.3379, allocations: 3.116 MB / 0.554 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.341, allocations: 1.969 MB / 0.5559 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3426, allocations: 0.927 MB / 0.5568 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.3446, allocations: 1.455 MB / 0.5582 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003698/0.345, allocations: 121.1 kB / 0.5583 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.3461, allocations: 383.1 kB / 0.5587 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001651/0.3478, allocations: 1.325 MB / 0.56 GB, free: 10.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009422/0.3487, allocations: 0.7006 MB / 0.5607 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.3543, allocations: 4.209 MB / 0.5648 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3543, allocations: 1.281 kB / 0.5648 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3543, allocations: 0 / 0.5648 GB, free: 10.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001008/0.3544, allocations: 0 / 0.5648 GB, free: 10.64 MB / 378.7 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.004611/0.359, allocations: 3.034 MB / 0.5677 GB, free: 9.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3591, allocations: 9.969 kB / 0.5677 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008988/0.3681, allocations: 3.068 MB / 0.5707 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.3709, allocations: 1.534 MB / 0.5722 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.371, allocations: 175.3 kB / 0.5724 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.3715, allocations: 222 kB / 0.5726 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01259/0.3841, allocations: 9.683 MB / 0.5821 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.3842, allocations: 20.81 kB / 0.5821 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/0.3845, allocations: 112.7 kB / 0.5822 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/0.388, allocations: 2.44 MB / 0.5846 GB, free: 4.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.4005, allocations: 8.77 MB / 0.5932 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03688/0.4374, allocations: 30.69 MB / 0.6231 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/0.4421, allocations: 3.268 MB / 0.6263 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4432, allocations: 0.9158 MB / 0.6272 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.4433, allocations: 15.81 kB / 0.6272 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4433, allocations: 43.56 kB / 0.6273 GB, free: 11.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 4.469e-06/0.4434, allocations: 0 / 0.6273 GB, free: 11.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.006549/0.4499, allocations: 3.367 MB / 0.6306 GB, free: 7.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.45, allocations: 64.34 kB / 0.6306 GB, free: 7.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003871/0.4538, allocations: 3.105 MB / 0.6336 GB, free: 4.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.4539, allocations: 41.7 kB / 0.6337 GB, free: 4.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.4555, allocations: 2.678 MB / 0.6363 GB, free: 2.062 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/0.456, allocations: 0.5638 MB / 0.6369 GB, free: 1.504 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.4562, allocations: 92.86 kB / 0.6369 GB, free: 1.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002832/0.4565, allocations: 0.5125 MB / 0.6374 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.4584, allocations: 1.512 MB / 0.6389 GB, free: 15.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/0.4621, allocations: 4.43 MB / 0.6432 GB, free: 9.496 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.4651, allocations: 2.61 MB / 0.6458 GB, free: 6.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-05/0.4651, allocations: 28 kB / 0.6458 GB, free: 6.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007562/0.4727, allocations: 5.79 MB / 0.6515 GB, free: 1.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.4728, allocations: 52 kB / 0.6515 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.119e-05/0.4729, allocations: 100 kB / 0.6516 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.473, allocations: 152 kB / 0.6518 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.476, allocations: 1.06 MB / 0.6528 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000154/0.4761, allocations: 203.2 kB / 0.653 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.4796, allocations: 0.6814 MB / 0.6537 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/0.4801, allocations: 293.4 kB / 0.6539 GB, free: 14.54 MB / 458.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003666/0.4837, allocations: 1.949 MB / 0.6558 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/0.4842, allocations: 256.5 kB / 0.6561 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.4847, allocations: 331.8 kB / 0.6564 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.4848, allocations: 19.92 kB / 0.6564 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4848, allocations: 4 kB / 0.6564 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4848, allocations: 7.984 kB / 0.6564 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009703/0.4945, allocations: 6.878 MB / 0.6631 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4945, allocations: 8 kB / 0.6632 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.4952, allocations: 179.7 kB / 0.6633 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.4952, allocations: 12 kB / 0.6633 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.81e-05/0.4953, allocations: 28 kB / 0.6634 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.4953, allocations: 15.94 kB / 0.6634 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.4954, allocations: 7.984 kB / 0.6634 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.4978, allocations: 2.242 MB / 0.6656 GB, free: 2.355 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.4984, allocations: 365.2 kB / 0.6659 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.4987, allocations: 24 kB / 0.666 GB, free: 1.953 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.4993, allocations: 46.14 kB / 0.666 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.4995, allocations: 84.44 kB / 0.6661 GB, free: 1.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.4996, allocations: 51.94 kB / 0.6661 GB, free: 1.777 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002528/0.5021, allocations: 1.96 MB / 0.668 GB, free: 15.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.5021, allocations: 0 / 0.668 GB, free: 15.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003201/0.5053, allocations: 1.02 MB / 0.669 GB, free: 14.8 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003127/0.5056, allocations: 153 kB / 0.6692 GB, free: 14.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004731/0.5104, allocations: 3.53 MB / 0.6726 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5104, allocations: 0 / 0.6726 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5115, allocations: 0.9175 MB / 0.6735 GB, free: 10.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.5129, allocations: 315.3 kB / 0.6738 GB, free: 9.918 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.526, allocations: 9.611 MB / 0.6832 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/0.529, allocations: 3.015 MB / 0.6862 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/0.5298, allocations: 231.4 kB / 0.6864 GB, free: 12.92 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5298, allocations: 3.938 kB / 0.6864 GB, free: 12.92 MB / 490.7 MB Notification: Performance of Templates: time 0.06858/0.5983, allocations: 45.6 MB / 0.7309 GB, free: 15.42 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches