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.00149/0.00149, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001242/0.001242, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2075/0.2075, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4431, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01275/0.4559, allocations: 11.43 MB / 0.5301 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008354/0.4643, allocations: 2.808 MB / 0.5328 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.4673, allocations: 54.31 kB / 0.5328 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003551/0.4709, allocations: 1.321 MB / 0.5341 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.4749, allocations: 1.243 MB / 0.5353 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.4755, allocations: 78.56 kB / 0.5354 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005605/0.4811, allocations: 2.802 MB / 0.5382 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.4848, allocations: 1.769 MB / 0.5399 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.4878, allocations: 1.069 MB / 0.5409 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.491, allocations: 1.489 MB / 0.5424 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.4922, allocations: 206.1 kB / 0.5426 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.4944, allocations: 498 kB / 0.5431 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002348/0.4968, allocations: 1.451 MB / 0.5445 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003898/0.5007, allocations: 1.735 MB / 0.5462 GB, free: 52 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007915/0.5086, allocations: 5.572 MB / 0.5516 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.5087, allocations: 0 / 0.5516 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5087, allocations: 0 / 0.5516 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001736/0.5089, allocations: 0 / 0.5516 GB, free: 10.46 MB / 414.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.006858/0.5157, allocations: 3.777 MB / 0.5553 GB, free: 6.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.5158, allocations: 8.031 kB / 0.5553 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009999/0.5258, allocations: 3.001 MB / 0.5582 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.5294, allocations: 1.569 MB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.5296, allocations: 168.7 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.5302, allocations: 231.9 kB / 0.5602 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.5463, allocations: 9.698 MB / 0.5696 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.199e-05/0.5465, allocations: 19.81 kB / 0.5696 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.5468, allocations: 115.8 kB / 0.5698 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004033/0.5508, allocations: 2.432 MB / 0.5721 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.5692, allocations: 8.812 MB / 0.5807 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.6123, allocations: 30.61 MB / 0.6106 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005476/0.6178, allocations: 3.262 MB / 0.6138 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.6191, allocations: 0.9218 MB / 0.6147 GB, free: 8.207 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/0.6192, allocations: 20.97 kB / 0.6147 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.6193, allocations: 47.56 kB / 0.6148 GB, free: 8.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.348e-06/0.6193, allocations: 0 / 0.6148 GB, free: 8.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.008118/0.6274, allocations: 3.379 MB / 0.6181 GB, free: 4.742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.6276, allocations: 68.34 kB / 0.6181 GB, free: 4.664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.6332, allocations: 3.136 MB / 0.6212 GB, free: 1.512 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.6333, allocations: 41.78 kB / 0.6212 GB, free: 1.465 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002148/0.6355, allocations: 2.787 MB / 0.624 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/0.6362, allocations: 0.5931 MB / 0.6245 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.6374, allocations: 0.9806 MB / 0.6255 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6375, allocations: 305.1 kB / 0.6258 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.6396, allocations: 1.528 MB / 0.6273 GB, free: 11.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004429/0.6441, allocations: 4.451 MB / 0.6316 GB, free: 5.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007584/0.6517, allocations: 6.535 MB / 0.638 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.355e-05/0.6518, allocations: 28 kB / 0.638 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009658/0.6615, allocations: 5.848 MB / 0.6438 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.6616, allocations: 52 kB / 0.6438 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/0.6618, allocations: 104 kB / 0.6439 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.662, allocations: 136.8 kB / 0.644 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.6653, allocations: 1.06 MB / 0.6451 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002381/0.6656, allocations: 207 kB / 0.6453 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/0.6692, allocations: 0.6939 MB / 0.6459 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004586/0.6697, allocations: 300 kB / 0.6462 GB, free: 4.906 MB / 0.4981 GB 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.003211/0.6729, allocations: 1.942 MB / 0.6481 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/0.6734, allocations: 274.1 kB / 0.6484 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.6742, allocations: 335.8 kB / 0.6487 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/0.6742, allocations: 19.94 kB / 0.6487 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.6743, allocations: 0 / 0.6487 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.6743, allocations: 3.984 kB / 0.6487 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/0.6866, allocations: 6.879 MB / 0.6554 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.6866, allocations: 8 kB / 0.6555 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.6874, allocations: 175.7 kB / 0.6556 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.6874, allocations: 12 kB / 0.6556 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.6875, allocations: 31.94 kB / 0.6557 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.501e-05/0.6875, allocations: 15.92 kB / 0.6557 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.6875, allocations: 8 kB / 0.6557 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.6902, allocations: 2.269 MB / 0.6579 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/0.6909, allocations: 362.9 kB / 0.6582 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.6912, allocations: 35.91 kB / 0.6583 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/0.6919, allocations: 43.95 kB / 0.6583 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.692, allocations: 84.45 kB / 0.6584 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6921, allocations: 55.92 kB / 0.6585 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002911/0.6951, allocations: 1.979 MB / 0.6604 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6951, allocations: 0 / 0.6604 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00369/0.6988, allocations: 1.036 MB / 0.6614 GB, free: 5.059 MB / 0.5137 GB 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.0003469/0.6991, allocations: 150.9 kB / 0.6615 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004945/0.7041, allocations: 3.581 MB / 0.665 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.7041, allocations: 0 / 0.665 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.7051, allocations: 0.9185 MB / 0.6659 GB, free: 436 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.7066, allocations: 330.8 kB / 0.6663 GB, free: 108 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.7193, allocations: 7.743 MB / 0.6738 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/0.7224, allocations: 3.012 MB / 0.6768 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003452/0.7259, allocations: 1.726 MB / 0.6784 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/0.7263, allocations: 183.4 kB / 0.6786 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.7263, allocations: 0 / 0.6786 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of Templates: time 0.04348/0.7698, allocations: 20.34 MB / 0.6985 GB, free: 15.02 MB / 0.5606 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