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.001395/0.001395, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.09 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 79.38 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1139, allocations: 62.44 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01142/0.1254, allocations: 11.38 MB / 492.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.1311, allocations: 2.854 MB / 494.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.1325, allocations: 55.88 kB / 495 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.1352, allocations: 1.323 MB / 496.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.1379, allocations: 1.229 MB / 497.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.1384, allocations: 75.84 kB / 497.6 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1416, allocations: 2.764 MB / 0.4886 GB, free: 1.535 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.144, allocations: 1.773 MB / 0.4904 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.1457, allocations: 1.062 MB / 0.4914 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.1484, allocations: 1.479 MB / 0.4929 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009427/0.1494, allocations: 204 kB / 0.493 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.151, allocations: 499.3 kB / 0.4935 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.1522, allocations: 1.422 MB / 0.4949 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.1538, allocations: 1.707 MB / 0.4966 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004523/0.1583, allocations: 5.209 MB / 0.5017 GB, free: 4.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1584, allocations: 0 / 0.5017 GB, free: 4.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1584, allocations: 0 / 0.5017 GB, free: 4.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001121/0.1585, allocations: 0 / 0.5017 GB, free: 4.117 MB / 382.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.004895/0.1634, allocations: 3.64 MB / 0.5052 GB, free: 420 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1634, allocations: 8.031 kB / 0.5052 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2329/0.3964, allocations: 2.975 MB / 0.5081 GB, free: 39.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004156/0.4006, allocations: 1.548 MB / 0.5096 GB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.4009, allocations: 177 kB / 0.5098 GB, free: 39.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.4019, allocations: 218.9 kB / 0.51 GB, free: 39.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01913/0.4211, allocations: 9.704 MB / 0.5195 GB, free: 35.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.856e-05/0.4212, allocations: 22.31 kB / 0.5195 GB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003926/0.4216, allocations: 113.6 kB / 0.5196 GB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003964/0.4255, allocations: 2.44 MB / 0.522 GB, free: 34.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.4412, allocations: 8.813 MB / 0.5306 GB, free: 27.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.4778, allocations: 30.66 MB / 0.5606 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005305/0.4832, allocations: 3.275 MB / 0.5638 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.4846, allocations: 0.9257 MB / 0.5647 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.4847, allocations: 12.98 kB / 0.5647 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.4847, allocations: 48.11 kB / 0.5647 GB, free: 7.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 3.917e-06/0.4847, allocations: 0 / 0.5647 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.007473/0.4922, allocations: 3.37 MB / 0.568 GB, free: 4.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.4923, allocations: 68.41 kB / 0.5681 GB, free: 4.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.497, allocations: 3.111 MB / 0.5711 GB, free: 1.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.4972, allocations: 45.27 kB / 0.5712 GB, free: 1.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002066/0.4993, allocations: 2.673 MB / 0.5738 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/0.4999, allocations: 0.567 MB / 0.5743 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.5012, allocations: 0.9681 MB / 0.5753 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5013, allocations: 305.1 kB / 0.5756 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.5035, allocations: 1.537 MB / 0.5771 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.5078, allocations: 4.451 MB / 0.5814 GB, free: 5.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/0.515, allocations: 6.534 MB / 0.5878 GB, free: 13.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.259e-05/0.5151, allocations: 32 kB / 0.5878 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009515/0.5246, allocations: 5.832 MB / 0.5935 GB, free: 7.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/0.5248, allocations: 48 kB / 0.5936 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/0.5249, allocations: 106.4 kB / 0.5937 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.525, allocations: 136 kB / 0.5938 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/0.528, allocations: 1.064 MB / 0.5948 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001592/0.5282, allocations: 203.2 kB / 0.595 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.5312, allocations: 0.6723 MB / 0.5957 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/0.5317, allocations: 296.2 kB / 0.596 GB, free: 4.734 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003005/0.5347, allocations: 1.95 MB / 0.5979 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000464/0.5352, allocations: 256.6 kB / 0.5981 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.5358, allocations: 331.8 kB / 0.5984 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.5358, allocations: 16 kB / 0.5984 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.5358, allocations: 0 / 0.5984 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5358, allocations: 11.97 kB / 0.5985 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009962/0.5458, allocations: 6.884 MB / 0.6052 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.5459, allocations: 8.062 kB / 0.6052 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.5466, allocations: 179.7 kB / 0.6054 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/0.5466, allocations: 8 kB / 0.6054 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-05/0.5467, allocations: 28 kB / 0.6054 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.5467, allocations: 19.92 kB / 0.6054 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.5467, allocations: 11.94 kB / 0.6054 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.5493, allocations: 2.247 MB / 0.6076 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006149/0.55, allocations: 361.2 kB / 0.608 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.5502, allocations: 31.98 kB / 0.608 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.5509, allocations: 43.95 kB / 0.608 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5511, allocations: 80.39 kB / 0.6081 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.5512, allocations: 51.98 kB / 0.6082 GB, free: 7.934 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002702/0.5539, allocations: 1.975 MB / 0.6101 GB, free: 5.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5539, allocations: 0 / 0.6101 GB, free: 5.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003656/0.5576, allocations: 0.9907 MB / 0.6111 GB, free: 4.965 MB / 446.1 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 (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.0003494/0.5579, allocations: 149.6 kB / 0.6112 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006924/0.5649, allocations: 4.657 MB / 0.6157 GB, free: 200 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.5649, allocations: 4 kB / 0.6158 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.5661, allocations: 0.9185 MB / 0.6167 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.5677, allocations: 322.7 kB / 0.617 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.5809, allocations: 8.146 MB / 0.6249 GB, free: 6.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/0.5842, allocations: 3.016 MB / 0.6279 GB, free: 3.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008065/0.585, allocations: 223.4 kB / 0.6281 GB, free: 3.43 MB / 462.1 MB Notification: Performance of SimCode: time 1.613e-06/0.585, allocations: 0 / 0.6281 GB, free: 3.43 MB / 462.1 MB Notification: Performance of Templates: time 0.06814/0.6532, allocations: 46.02 MB / 0.673 GB, free: 5.52 MB / 0.4981 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