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.001154/0.001154, allocations: 112.8 kB / 17.33 MB, free: 5.988 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.001253/0.001253, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.41/1.41, allocations: 222.9 MB / 241.9 MB, free: 15.36 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.217/0.217, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 60.12 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.128, allocations: 60.83 MB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02787/0.1559, allocations: 28.83 MB / 497.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1704, allocations: 5.612 MB / 0.4914 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006143/0.1766, allocations: 115.8 kB / 0.4915 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.1796, allocations: 1.246 MB / 0.4927 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.1825, allocations: 1.168 MB / 0.4938 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1828, allocations: 63.88 kB / 0.4939 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.1859, allocations: 2.821 MB / 0.4967 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.188, allocations: 1.862 MB / 0.4985 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1894, allocations: 1.074 MB / 0.4995 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/0.1914, allocations: 1.643 MB / 0.5011 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.1918, allocations: 208 kB / 0.5013 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009638/0.1927, allocations: 499.3 kB / 0.5018 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2775/0.4702, allocations: 1.458 MB / 0.5032 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003188/0.4734, allocations: 1.759 MB / 0.5049 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007603/0.4811, allocations: 5.291 MB / 0.5101 GB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4811, allocations: 0 / 0.5101 GB, free: 12.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4811, allocations: 0.9688 kB / 0.5101 GB, free: 12.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002613/0.4814, allocations: 0 / 0.5101 GB, free: 12.33 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.008617/0.49, allocations: 3.671 MB / 0.5137 GB, free: 10.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4901, allocations: 9.562 kB / 0.5137 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.5007, allocations: 2.976 MB / 0.5166 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.5056, allocations: 1.548 MB / 0.5181 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.5059, allocations: 176.3 kB / 0.5183 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.5073, allocations: 224.7 kB / 0.5185 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.5266, allocations: 9.707 MB / 0.528 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.5267, allocations: 22.84 kB / 0.528 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004023/0.5271, allocations: 110 kB / 0.5281 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/0.5309, allocations: 2.439 MB / 0.5305 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.5473, allocations: 8.811 MB / 0.5391 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04918/0.5965, allocations: 30.68 MB / 0.5691 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/0.6019, allocations: 3.269 MB / 0.5723 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.6032, allocations: 0.9185 MB / 0.5731 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.6032, allocations: 18.03 kB / 0.5732 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.6033, allocations: 43.56 kB / 0.5732 GB, free: 15.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.998e-06/0.6033, allocations: 0 / 0.5732 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.007524/0.6108, allocations: 3.369 MB / 0.5765 GB, free: 11.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.6109, allocations: 71.03 kB / 0.5766 GB, free: 11.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/0.6156, allocations: 3.131 MB / 0.5796 GB, free: 8.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.6158, allocations: 41.7 kB / 0.5797 GB, free: 8.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.6178, allocations: 2.675 MB / 0.5823 GB, free: 5.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007576/0.6185, allocations: 0.5643 MB / 0.5828 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.6198, allocations: 0.9742 MB / 0.5838 GB, free: 4.234 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.6199, allocations: 302.8 kB / 0.5841 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/0.6221, allocations: 1.528 MB / 0.5856 GB, free: 2.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/0.6259, allocations: 4.456 MB / 0.5899 GB, free: 12.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/0.6332, allocations: 6.537 MB / 0.5963 GB, free: 4.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.242e-05/0.6333, allocations: 32 kB / 0.5963 GB, free: 4.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009633/0.6429, allocations: 5.831 MB / 0.602 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.643, allocations: 48 kB / 0.6021 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.6431, allocations: 104 kB / 0.6022 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.6432, allocations: 136 kB / 0.6023 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.6461, allocations: 1.062 MB / 0.6033 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000138/0.6463, allocations: 199.3 kB / 0.6035 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.6495, allocations: 0.6797 MB / 0.6042 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000375/0.6499, allocations: 296 kB / 0.6045 GB, free: 13.36 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.004043/0.654, allocations: 1.949 MB / 0.6064 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/0.6545, allocations: 256.5 kB / 0.6066 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.6553, allocations: 331.8 kB / 0.6069 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.6553, allocations: 19.36 kB / 0.6069 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.6553, allocations: 0 / 0.6069 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.6554, allocations: 7.922 kB / 0.607 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.6664, allocations: 6.885 MB / 0.6137 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.6665, allocations: 12.16 kB / 0.6137 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.6672, allocations: 178.8 kB / 0.6139 GB, free: 3.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/0.6672, allocations: 12 kB / 0.6139 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/0.6673, allocations: 24 kB / 0.6139 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.6673, allocations: 14.66 kB / 0.6139 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6673, allocations: 10.72 kB / 0.6139 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.67, allocations: 2.254 MB / 0.6161 GB, free: 1.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/0.6708, allocations: 345.4 kB / 0.6164 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003009/0.6711, allocations: 32.05 kB / 0.6165 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.6719, allocations: 54 kB / 0.6165 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.6721, allocations: 77.95 kB / 0.6166 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.6722, allocations: 51.98 kB / 0.6167 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003539/0.6757, allocations: 1.979 MB / 0.6186 GB, free: 14.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6757, allocations: 0 / 0.6186 GB, free: 14.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005034/0.6808, allocations: 1.022 MB / 0.6196 GB, free: 13.77 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.0004467/0.6812, allocations: 157 kB / 0.6197 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007794/0.6891, allocations: 4.652 MB / 0.6243 GB, free: 9.031 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.6891, allocations: 0 / 0.6243 GB, free: 9.031 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.6903, allocations: 0.9185 MB / 0.6252 GB, free: 8.113 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.6922, allocations: 331.2 kB / 0.6255 GB, free: 7.801 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.7076, allocations: 9.542 MB / 0.6348 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/0.7108, allocations: 3.008 MB / 0.6377 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003947/0.7148, allocations: 1.726 MB / 0.6394 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/0.7153, allocations: 187.4 kB / 0.6396 GB, free: 9.184 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7153, allocations: 0 / 0.6396 GB, free: 9.184 MB / 494.1 MB Notification: Performance of Templates: time 0.04648/0.7617, allocations: 22.91 MB / 0.662 GB, free: 2.449 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","/var/lib/jenkins/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