Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 106.3 kB / 17.98 MB, free: 5.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 242.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2036/0.2036, allocations: 44.18 MB / 336.9 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 61.09 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02839/0.1405, allocations: 28.83 MB / 498.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.1538, allocations: 5.616 MB / 0.492 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.1585, allocations: 115.8 kB / 0.4921 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.1616, allocations: 1.242 MB / 0.4933 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.1652, allocations: 1.164 MB / 0.4945 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.1657, allocations: 67.92 kB / 0.4945 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.1698, allocations: 2.822 MB / 0.4973 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.1728, allocations: 1.862 MB / 0.4991 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.1747, allocations: 1.078 MB / 0.5002 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.1771, allocations: 1.635 MB / 0.5018 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006455/0.1778, allocations: 208 kB / 0.502 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.1791, allocations: 499.3 kB / 0.5024 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2139/0.393, allocations: 1.465 MB / 0.5039 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.3962, allocations: 1.754 MB / 0.5056 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008138/0.4044, allocations: 4.352 MB / 0.5098 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4044, allocations: 0.5625 kB / 0.5098 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4044, allocations: 1.625 kB / 0.5098 GB, free: 13.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002406/0.4047, allocations: 0.7188 kB / 0.5098 GB, free: 13.49 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.008513/0.4132, allocations: 3.665 MB / 0.5134 GB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4133, allocations: 9.656 kB / 0.5134 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009977/0.4233, allocations: 2.978 MB / 0.5163 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.4276, allocations: 1.555 MB / 0.5178 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.4279, allocations: 170.8 kB / 0.518 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.4292, allocations: 224.4 kB / 0.5182 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.4458, allocations: 9.704 MB / 0.5277 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/0.4459, allocations: 24.84 kB / 0.5277 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.4463, allocations: 112.2 kB / 0.5278 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003473/0.4498, allocations: 2.444 MB / 0.5302 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.465, allocations: 8.81 MB / 0.5388 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04849/0.5135, allocations: 30.67 MB / 0.5688 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/0.5193, allocations: 3.271 MB / 0.572 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.5208, allocations: 0.9251 MB / 0.5729 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.408e-05/0.5209, allocations: 12.52 kB / 0.5729 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5209, allocations: 47.56 kB / 0.5729 GB, free: 264 kB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.691e-06/0.5209, allocations: 0 / 0.5729 GB, free: 264 kB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.007913/0.5289, allocations: 3.376 MB / 0.5762 GB, free: 12.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.5289, allocations: 64.41 kB / 0.5763 GB, free: 12.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006349/0.5353, allocations: 3.127 MB / 0.5793 GB, free: 9.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.5356, allocations: 43.97 kB / 0.5794 GB, free: 9.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002322/0.5379, allocations: 2.674 MB / 0.582 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009339/0.5389, allocations: 0.5649 MB / 0.5825 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002208/0.5411, allocations: 0.9754 MB / 0.5835 GB, free: 5.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5412, allocations: 305.1 kB / 0.5838 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.5437, allocations: 1.532 MB / 0.5853 GB, free: 3.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004994/0.5487, allocations: 4.452 MB / 0.5896 GB, free: 13.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.5564, allocations: 6.536 MB / 0.596 GB, free: 6.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/0.5565, allocations: 32 kB / 0.596 GB, free: 6.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01094/0.5675, allocations: 5.824 MB / 0.6017 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.5676, allocations: 51.38 kB / 0.6018 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/0.5679, allocations: 104 kB / 0.6019 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.5681, allocations: 136.8 kB / 0.602 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.5715, allocations: 1.056 MB / 0.603 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001764/0.5717, allocations: 207.4 kB / 0.6032 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/0.5756, allocations: 0.6754 MB / 0.6039 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008473/0.5764, allocations: 295.9 kB / 0.6042 GB, free: 14.51 MB / 462.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.004308/0.5808, allocations: 1.945 MB / 0.6061 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.5814, allocations: 256.5 kB / 0.6063 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/0.5823, allocations: 335.8 kB / 0.6066 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/0.5824, allocations: 16 kB / 0.6067 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5824, allocations: 0 / 0.6067 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5824, allocations: 11.91 kB / 0.6067 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.5971, allocations: 6.885 MB / 0.6134 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.5972, allocations: 8 kB / 0.6134 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/0.598, allocations: 175.5 kB / 0.6136 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/0.598, allocations: 12 kB / 0.6136 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5981, allocations: 35.17 kB / 0.6136 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.5981, allocations: 11.94 kB / 0.6136 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.5981, allocations: 12.66 kB / 0.6136 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.6013, allocations: 2.256 MB / 0.6158 GB, free: 2.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/0.6022, allocations: 345.4 kB / 0.6162 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006682/0.6029, allocations: 28.88 kB / 0.6162 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.6041, allocations: 47.89 kB / 0.6162 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.6043, allocations: 89.09 kB / 0.6163 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.6044, allocations: 43.36 kB / 0.6164 GB, free: 1.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004214/0.6087, allocations: 1.983 MB / 0.6183 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6087, allocations: 0 / 0.6183 GB, free: 15.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005066/0.6138, allocations: 1.015 MB / 0.6193 GB, free: 14.93 MB / 478.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.0005412/0.6143, allocations: 160.4 kB / 0.6195 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007858/0.6222, allocations: 4.655 MB / 0.624 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.6222, allocations: 0 / 0.624 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.6235, allocations: 0.915 MB / 0.6249 GB, free: 9.273 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.626, allocations: 327.8 kB / 0.6252 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.6441, allocations: 9.972 MB / 0.6349 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006036/0.6502, allocations: 3.024 MB / 0.6379 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009482/0.6512, allocations: 235.3 kB / 0.6381 GB, free: 11.58 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6512, allocations: 0 / 0.6381 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Templates: time 0.07243/0.7236, allocations: 46.17 MB / 0.6832 GB, free: 13.55 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches