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.001215/0.001215, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001441/0.001441, allocations: 192 kB / 18.56 MB, free: 4.434 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.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.14 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.1893/0.1893, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 62.25 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 60.84 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01348/0.1494, allocations: 11.41 MB / 480.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006691/0.1562, allocations: 2.807 MB / 483.5 MB, free: 68 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.1582, allocations: 59.88 kB / 483.5 MB, free: 8 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.1613, allocations: 1.308 MB / 484.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.1646, allocations: 1.253 MB / 486.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.1651, allocations: 79.84 kB / 486.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003878/0.169, allocations: 2.791 MB / 489 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/0.1721, allocations: 1.781 MB / 490.7 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.1743, allocations: 1.066 MB / 491.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.1771, allocations: 1.491 MB / 493.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007813/0.1779, allocations: 204 kB / 493.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.1795, allocations: 0.4915 MB / 494 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.1818, allocations: 1.441 MB / 495.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00492/0.1868, allocations: 1.739 MB / 497.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007906/0.1947, allocations: 5.26 MB / 0.4907 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1948, allocations: 4 kB / 0.4907 GB, free: 13.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1948, allocations: 0 / 0.4907 GB, free: 13.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001894/0.195, allocations: 0 / 0.4907 GB, free: 13.01 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.006273/0.2012, allocations: 3.671 MB / 0.4942 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2013, allocations: 8.031 kB / 0.4943 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009833/0.2111, allocations: 2.975 MB / 0.4972 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.2143, allocations: 1.549 MB / 0.4987 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.2144, allocations: 176.6 kB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004396/0.2149, allocations: 231.9 kB / 0.4991 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2537/0.4686, allocations: 9.695 MB / 0.5085 GB, free: 43.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.4687, allocations: 19.66 kB / 0.5085 GB, free: 43.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000358/0.4691, allocations: 112.1 kB / 0.5087 GB, free: 43.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00447/0.4736, allocations: 2.436 MB / 0.511 GB, free: 43.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.4916, allocations: 8.82 MB / 0.5196 GB, free: 40.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.5279, allocations: 30.67 MB / 0.5496 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004313/0.5322, allocations: 3.27 MB / 0.5528 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.5332, allocations: 0.9227 MB / 0.5537 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.443e-05/0.5332, allocations: 16.98 kB / 0.5537 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5333, allocations: 40.22 kB / 0.5538 GB, free: 7.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.478e-06/0.5333, allocations: 0 / 0.5538 GB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.00619/0.5395, allocations: 3.377 MB / 0.557 GB, free: 4.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.5395, allocations: 68.34 kB / 0.5571 GB, free: 4.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/0.5429, allocations: 3.123 MB / 0.5602 GB, free: 1.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/0.543, allocations: 41.7 kB / 0.5602 GB, free: 1.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.5444, allocations: 2.681 MB / 0.5628 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.5449, allocations: 0.567 MB / 0.5634 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.546, allocations: 0.9681 MB / 0.5643 GB, free: 12.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.5461, allocations: 305.1 kB / 0.5646 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.5481, allocations: 1.524 MB / 0.5661 GB, free: 10.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.552, allocations: 4.451 MB / 0.5704 GB, free: 5.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006948/0.5589, allocations: 6.537 MB / 0.5768 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.457e-05/0.559, allocations: 32 kB / 0.5769 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009101/0.5682, allocations: 5.838 MB / 0.5826 GB, free: 7.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.5683, allocations: 55.27 kB / 0.5826 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.5684, allocations: 104 kB / 0.5827 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.5685, allocations: 136 kB / 0.5828 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.5713, allocations: 1.057 MB / 0.5839 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001715/0.5715, allocations: 203.2 kB / 0.5841 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/0.5744, allocations: 0.6723 MB / 0.5847 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.5747, allocations: 296 kB / 0.585 GB, free: 4.699 MB / 414.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.002756/0.5775, allocations: 1.946 MB / 0.5869 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.5779, allocations: 260.5 kB / 0.5872 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.5784, allocations: 331.8 kB / 0.5875 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.133e-05/0.5785, allocations: 23.92 kB / 0.5875 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.5785, allocations: 0 / 0.5875 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5785, allocations: 7.969 kB / 0.5875 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.5889, allocations: 6.882 MB / 0.5942 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.589, allocations: 8 kB / 0.5942 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.5897, allocations: 180.9 kB / 0.5944 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-05/0.5898, allocations: 12 kB / 0.5944 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/0.5898, allocations: 35.92 kB / 0.5945 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.5899, allocations: 8 kB / 0.5945 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.5899, allocations: 11.94 kB / 0.5945 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.593, allocations: 2.247 MB / 0.5967 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008035/0.5938, allocations: 349.3 kB / 0.597 GB, free: 8.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.5941, allocations: 36.78 kB / 0.597 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/0.5948, allocations: 43.97 kB / 0.5971 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.595, allocations: 80.44 kB / 0.5972 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.5951, allocations: 44 kB / 0.5972 GB, free: 7.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.5981, allocations: 1.987 MB / 0.5991 GB, free: 5.926 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5981, allocations: 3.938 kB / 0.5991 GB, free: 5.922 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004051/0.6021, allocations: 1.017 MB / 0.6001 GB, free: 4.906 MB / 430.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.0003883/0.6025, allocations: 157.5 kB / 0.6003 GB, free: 4.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006984/0.6095, allocations: 4.656 MB / 0.6048 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.6096, allocations: 2 kB / 0.6048 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.6107, allocations: 0.9185 MB / 0.6057 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.6131, allocations: 331.3 kB / 0.606 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.627, allocations: 7.711 MB / 0.6136 GB, free: 7.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/0.6301, allocations: 3.017 MB / 0.6165 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003904/0.634, allocations: 1.718 MB / 0.6182 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.6346, allocations: 191.4 kB / 0.6184 GB, free: 2.109 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6346, allocations: 0 / 0.6184 GB, free: 2.109 MB / 446.1 MB Notification: Performance of Templates: time 0.04729/0.6819, allocations: 22.92 MB / 0.6408 GB, free: 11.26 MB / 478.1 MB 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