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.0008244/0.0008243, allocations: 95 kB / 17.35 MB, free: 6.367 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.000849/0.000849, allocations: 177 kB / 18.26 MB, free: 5.523 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.381/1.381, allocations: 223.3 MB / 242.3 MB, free: 14.51 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.2117/0.2117, allocations: 44.24 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02821/0.1701, allocations: 27.92 MB / 0.4885 GB, free: 1.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1866, allocations: 5.597 MB / 0.4939 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005975/0.1926, allocations: 115.8 kB / 0.494 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.194, allocations: 418.2 kB / 0.4944 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.1976, allocations: 1.187 MB / 0.4956 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.1981, allocations: 67.92 kB / 0.4957 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00513/0.2033, allocations: 4.126 MB / 0.4997 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.2063, allocations: 2.14 MB / 0.5018 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.2076, allocations: 0.8595 MB / 0.5026 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.2098, allocations: 1.491 MB / 0.5041 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.2102, allocations: 120 kB / 0.5042 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009028/0.2111, allocations: 431.3 kB / 0.5046 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2596/0.4708, allocations: 1.371 MB / 0.5059 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.4729, allocations: 1.677 MB / 0.5076 GB, free: 13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006305/0.4792, allocations: 5.088 MB / 0.5125 GB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4792, allocations: 1.344 kB / 0.5125 GB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4793, allocations: 2.438 kB / 0.5125 GB, free: 12.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000138/0.4794, allocations: 0 / 0.5125 GB, free: 12.19 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.004786/0.4842, allocations: 2.99 MB / 0.5155 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4842, allocations: 9.469 kB / 0.5155 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.4944, allocations: 3.066 MB / 0.5185 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.4975, allocations: 1.552 MB / 0.52 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.4977, allocations: 173.2 kB / 0.5202 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004937/0.4982, allocations: 222.3 kB / 0.5204 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.5122, allocations: 9.715 MB / 0.5299 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.148e-05/0.5123, allocations: 21.38 kB / 0.5299 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.5126, allocations: 113.8 kB / 0.53 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003384/0.516, allocations: 2.431 MB / 0.5324 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01464/0.5306, allocations: 8.811 MB / 0.541 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.5758, allocations: 30.71 MB / 0.5709 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005405/0.5813, allocations: 3.271 MB / 0.5741 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.5828, allocations: 0.9141 MB / 0.575 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/0.5829, allocations: 24.02 kB / 0.5751 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.5829, allocations: 43.55 kB / 0.5751 GB, free: 15.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.238e-06/0.5829, allocations: 0 / 0.5751 GB, free: 15.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.007171/0.5901, allocations: 3.368 MB / 0.5784 GB, free: 12.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.5902, allocations: 64.41 kB / 0.5784 GB, free: 12.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004611/0.5948, allocations: 3.135 MB / 0.5815 GB, free: 9.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.5949, allocations: 41.7 kB / 0.5815 GB, free: 9.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.5966, allocations: 2.67 MB / 0.5842 GB, free: 6.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/0.5972, allocations: 0.5736 MB / 0.5847 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.5977, allocations: 428.5 kB / 0.5851 GB, free: 5.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.5978, allocations: 301.1 kB / 0.5854 GB, free: 5.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002133/0.6, allocations: 1.524 MB / 0.5869 GB, free: 3.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/0.6038, allocations: 4.45 MB / 0.5912 GB, free: 13.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007136/0.611, allocations: 6.542 MB / 0.5976 GB, free: 6.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-05/0.6111, allocations: 28 kB / 0.5977 GB, free: 6.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0105/0.6216, allocations: 5.832 MB / 0.6034 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.924e-05/0.6217, allocations: 52.06 kB / 0.6034 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/0.6218, allocations: 104 kB / 0.6035 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.622, allocations: 136 kB / 0.6036 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/0.6253, allocations: 1.057 MB / 0.6047 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001559/0.6255, allocations: 200.8 kB / 0.6049 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/0.6293, allocations: 0.6839 MB / 0.6055 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007219/0.6301, allocations: 296 kB / 0.6058 GB, free: 14.46 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.004625/0.6347, allocations: 1.945 MB / 0.6077 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/0.6353, allocations: 256.6 kB / 0.608 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/0.6361, allocations: 327.8 kB / 0.6083 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.505e-05/0.6361, allocations: 19.59 kB / 0.6083 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.6361, allocations: 0 / 0.6083 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.6362, allocations: 11.92 kB / 0.6083 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6471, allocations: 6.893 MB / 0.615 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.6471, allocations: 4 kB / 0.615 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.6479, allocations: 175.7 kB / 0.6152 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.6479, allocations: 16.02 kB / 0.6152 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/0.648, allocations: 28 kB / 0.6152 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.511e-05/0.648, allocations: 19.88 kB / 0.6153 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.648, allocations: 8 kB / 0.6153 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/0.6507, allocations: 2.252 MB / 0.6175 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007302/0.6515, allocations: 357.3 kB / 0.6178 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.6518, allocations: 28 kB / 0.6178 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.6525, allocations: 53.58 kB / 0.6179 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.6526, allocations: 80.38 kB / 0.618 GB, free: 1.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.611e-05/0.6527, allocations: 50.58 kB / 0.618 GB, free: 1.816 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003116/0.6559, allocations: 1.987 MB / 0.62 GB, free: 15.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6559, allocations: 0 / 0.62 GB, free: 15.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004144/0.66, allocations: 1.014 MB / 0.6209 GB, free: 14.81 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.0003896/0.6604, allocations: 149.6 kB / 0.6211 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005081/0.6655, allocations: 3.549 MB / 0.6246 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6655, allocations: 1.812 kB / 0.6246 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6666, allocations: 0.9257 MB / 0.6255 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.6703, allocations: 310.7 kB / 0.6258 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.683, allocations: 9.569 MB / 0.6351 GB, free: 220 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/0.6862, allocations: 3.016 MB / 0.638 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003681/0.6899, allocations: 1.715 MB / 0.6397 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.6903, allocations: 187.4 kB / 0.6399 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6903, allocations: 4 kB / 0.6399 GB, free: 11.26 MB / 494.1 MB Notification: Performance of Templates: time 0.04277/0.7331, allocations: 21.96 MB / 0.6613 GB, free: 5.457 MB / 0.4981 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches