Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 166.8 kB / 16.72 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007506/0.0007506, allocations: 86.36 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3195/0.3195, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 12 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.2011/0.3078, allocations: 26.32 MB / 0.505 GB, free: 31.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3188, allocations: 5.383 MB / 0.5103 GB, free: 28.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004317/0.3231, allocations: 116.9 kB / 0.5104 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.326, allocations: 1.276 MB / 0.5116 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008172/0.3342, allocations: 3.58 MB / 0.5151 GB, free: 26.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.3352, allocations: 74.17 kB / 0.5152 GB, free: 26.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.3384, allocations: 3.289 MB / 0.5184 GB, free: 24.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.3407, allocations: 2.099 MB / 0.5205 GB, free: 24.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3419, allocations: 0.9446 MB / 0.5214 GB, free: 23.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.3433, allocations: 1.473 MB / 0.5228 GB, free: 23.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003017/0.3436, allocations: 124.6 kB / 0.5229 GB, free: 23.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.3444, allocations: 414.7 kB / 0.5233 GB, free: 23.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008415/0.3453, allocations: 1.354 MB / 0.5247 GB, free: 22.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.3463, allocations: 1.615 MB / 0.5262 GB, free: 21.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.3497, allocations: 4.283 MB / 0.5304 GB, free: 20.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3497, allocations: 3.578 kB / 0.5304 GB, free: 20.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3497, allocations: 0 / 0.5304 GB, free: 20.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001331/0.3498, allocations: 0 / 0.5304 GB, free: 20.73 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.003885/0.3537, allocations: 3.05 MB / 0.5334 GB, free: 18.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3538, allocations: 9.438 kB / 0.5334 GB, free: 18.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008905/0.3627, allocations: 3.068 MB / 0.5364 GB, free: 18.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.3653, allocations: 1.566 MB / 0.5379 GB, free: 17.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.474e-05/0.3654, allocations: 181.6 kB / 0.5381 GB, free: 17.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004376/0.3659, allocations: 228.6 kB / 0.5383 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.3788, allocations: 9.906 MB / 0.548 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/0.3789, allocations: 28 kB / 0.548 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.3792, allocations: 123.4 kB / 0.5482 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003643/0.3829, allocations: 2.53 MB / 0.5506 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.3963, allocations: 8.86 MB / 0.5593 GB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04013/0.4364, allocations: 31.52 MB / 0.5901 GB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005058/0.4415, allocations: 3.284 MB / 0.5933 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.4428, allocations: 0.9272 MB / 0.5942 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.4428, allocations: 12.98 kB / 0.5942 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.4429, allocations: 43.56 kB / 0.5942 GB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 3.908e-06/0.4429, allocations: 0 / 0.5942 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.006804/0.4497, allocations: 3.385 MB / 0.5975 GB, free: 11.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4498, allocations: 86.11 kB / 0.5976 GB, free: 11.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/0.4541, allocations: 3.165 MB / 0.6007 GB, free: 8.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.4542, allocations: 41.7 kB / 0.6007 GB, free: 7.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.4561, allocations: 2.743 MB / 0.6034 GB, free: 5.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006134/0.4567, allocations: 0.5746 MB / 0.604 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.4569, allocations: 95.98 kB / 0.6041 GB, free: 4.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.4572, allocations: 0.5129 MB / 0.6046 GB, free: 4.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.4594, allocations: 1.524 MB / 0.6061 GB, free: 2.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/0.4633, allocations: 4.508 MB / 0.6105 GB, free: 12.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/0.4702, allocations: 6.619 MB / 0.6169 GB, free: 4.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.168e-05/0.4703, allocations: 32 kB / 0.617 GB, free: 4.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.009072/0.4794, allocations: 5.87 MB / 0.6227 GB, free: 14.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.4795, allocations: 52 kB / 0.6227 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.4796, allocations: 104.5 kB / 0.6228 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.4797, allocations: 140.8 kB / 0.623 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.4827, allocations: 1.076 MB / 0.624 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000146/0.4829, allocations: 211.2 kB / 0.6242 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/0.4857, allocations: 0.6994 MB / 0.6249 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/0.4861, allocations: 304 kB / 0.6252 GB, free: 11.89 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (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 (599): * Single equations (assignments): 593 * 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.002919/0.489, allocations: 1.977 MB / 0.6271 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/0.4894, allocations: 260.5 kB / 0.6274 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/0.49, allocations: 340.3 kB / 0.6277 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.322e-05/0.49, allocations: 16 kB / 0.6277 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.49, allocations: 0 / 0.6277 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.4901, allocations: 11.91 kB / 0.6277 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009957/0.5, allocations: 7.102 MB / 0.6347 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5001, allocations: 11.94 kB / 0.6347 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.5008, allocations: 184.5 kB / 0.6349 GB, free: 1.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.5008, allocations: 12 kB / 0.6349 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.5009, allocations: 35.92 kB / 0.6349 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.5009, allocations: 19.94 kB / 0.6349 GB, free: 1.742 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.5009, allocations: 11.94 kB / 0.6349 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.5035, allocations: 2.271 MB / 0.6371 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/0.5041, allocations: 373.2 kB / 0.6375 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.5044, allocations: 31.92 kB / 0.6375 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.505, allocations: 47.95 kB / 0.6376 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.5052, allocations: 80.44 kB / 0.6377 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/0.5053, allocations: 55.91 kB / 0.6377 GB, free: 14.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002825/0.5081, allocations: 1.996 MB / 0.6397 GB, free: 12.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5081, allocations: 0 / 0.6397 GB, free: 12.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003401/0.5115, allocations: 1.035 MB / 0.6407 GB, free: 11.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * 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.0003145/0.5119, allocations: 162.9 kB / 0.6408 GB, free: 11.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004861/0.5167, allocations: 3.563 MB / 0.6443 GB, free: 8.004 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5168, allocations: 4.75 kB / 0.6443 GB, free: 8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5178, allocations: 0.9254 MB / 0.6452 GB, free: 7.078 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/0.5216, allocations: 307.6 kB / 0.6455 GB, free: 6.785 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.5356, allocations: 9.851 MB / 0.6551 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/0.5391, allocations: 3.081 MB / 0.6581 GB, free: 9.703 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.5398, allocations: 227.4 kB / 0.6584 GB, free: 9.48 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5398, allocations: 3.938 kB / 0.6584 GB, free: 9.477 MB / 490.7 MB Notification: Performance of Templates: time 0.2412/0.781, allocations: 46.23 MB / 0.7035 GB, free: 144.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches