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.001283/0.001283, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001076/0.001076, allocations: 188 kB / 19.34 MB, free: 3.641 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.461/1.461, allocations: 222.9 MB / 243 MB, free: 15.09 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.2408/0.2408, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 61.25 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01294/0.1534, allocations: 11.43 MB / 482.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006864/0.1603, allocations: 2.796 MB / 484.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.1621, allocations: 55.94 kB / 485 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.1649, allocations: 1.323 MB / 486.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.1681, allocations: 1.237 MB / 487.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.1685, allocations: 79.84 kB / 487.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003548/0.1721, allocations: 2.795 MB / 490.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.1742, allocations: 1.78 MB / 492.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.1758, allocations: 1.074 MB / 493.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.1776, allocations: 1.487 MB / 494.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003917/0.178, allocations: 204 kB / 495 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.179, allocations: 495.3 kB / 495.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.1803, allocations: 1.445 MB / 496.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.1819, allocations: 1.739 MB / 498.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.1874, allocations: 5.545 MB / 0.4924 GB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1874, allocations: 0 / 0.4924 GB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.1874, allocations: 7.984 kB / 0.4924 GB, free: 12.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001265/0.1875, allocations: 0 / 0.4924 GB, free: 12.02 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.006463/0.194, allocations: 3.675 MB / 0.496 GB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1941, allocations: 8.031 kB / 0.496 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009309/0.2034, allocations: 2.975 MB / 0.4989 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.2077, allocations: 1.561 MB / 0.5004 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.2078, allocations: 176.6 kB / 0.5006 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.2083, allocations: 224 kB / 0.5008 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2975/0.5058, allocations: 9.696 MB / 0.5102 GB, free: 43.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.5059, allocations: 20 kB / 0.5103 GB, free: 43.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003719/0.5063, allocations: 110.3 kB / 0.5104 GB, free: 43.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004302/0.5106, allocations: 2.439 MB / 0.5128 GB, free: 43.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01713/0.5278, allocations: 8.814 MB / 0.5214 GB, free: 40.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04228/0.5701, allocations: 30.53 MB / 0.5512 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.5746, allocations: 3.272 MB / 0.5544 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.5757, allocations: 0.918 MB / 0.5553 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-05/0.5758, allocations: 16.98 kB / 0.5553 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5758, allocations: 44.22 kB / 0.5553 GB, free: 6.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 5.01e-06/0.5759, allocations: 0 / 0.5553 GB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.006534/0.5824, allocations: 3.377 MB / 0.5586 GB, free: 3.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.5825, allocations: 68.34 kB / 0.5587 GB, free: 3.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/0.5864, allocations: 3.123 MB / 0.5617 GB, free: 276 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.5865, allocations: 41.7 kB / 0.5618 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.5885, allocations: 2.673 MB / 0.5644 GB, free: 13.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005905/0.5891, allocations: 0.5709 MB / 0.5649 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001218/0.5903, allocations: 0.9642 MB / 0.5659 GB, free: 11.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5904, allocations: 305.1 kB / 0.5662 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.5925, allocations: 1.528 MB / 0.5677 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/0.5968, allocations: 4.452 MB / 0.572 GB, free: 4.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/0.6044, allocations: 6.539 MB / 0.5784 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.765e-05/0.6045, allocations: 28 kB / 0.5784 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01097/0.6155, allocations: 5.84 MB / 0.5841 GB, free: 6.352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.6156, allocations: 52.06 kB / 0.5842 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.6157, allocations: 104 kB / 0.5843 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.6159, allocations: 136 kB / 0.5844 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/0.619, allocations: 1.06 MB / 0.5854 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001483/0.6192, allocations: 203.2 kB / 0.5856 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.6228, allocations: 0.6685 MB / 0.5863 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007163/0.6235, allocations: 292 kB / 0.5866 GB, free: 3.844 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.004358/0.6279, allocations: 1.954 MB / 0.5885 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006458/0.6285, allocations: 260.5 kB / 0.5887 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.6292, allocations: 331.8 kB / 0.589 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/0.6293, allocations: 23.88 kB / 0.5891 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.6293, allocations: 0 / 0.5891 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.6293, allocations: 7.969 kB / 0.5891 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.64, allocations: 6.871 MB / 0.5958 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.64, allocations: 8 kB / 0.5958 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/0.6407, allocations: 175.7 kB / 0.596 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.6408, allocations: 12 kB / 0.596 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/0.6408, allocations: 42.92 kB / 0.596 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.6409, allocations: 8.562 kB / 0.596 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.6409, allocations: 11.94 kB / 0.596 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.6436, allocations: 2.252 MB / 0.5982 GB, free: 7.613 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.6444, allocations: 349.3 kB / 0.5986 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.6446, allocations: 31.92 kB / 0.5986 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/0.6453, allocations: 47.95 kB / 0.5986 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6455, allocations: 80.44 kB / 0.5987 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/0.6456, allocations: 48 kB / 0.5988 GB, free: 7.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002731/0.6483, allocations: 1.979 MB / 0.6007 GB, free: 5.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6484, allocations: 4 kB / 0.6007 GB, free: 5.062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003513/0.6519, allocations: 1.01 MB / 0.6017 GB, free: 4.051 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.0003272/0.6522, allocations: 161.5 kB / 0.6018 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0055/0.6577, allocations: 3.579 MB / 0.6053 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.6577, allocations: 0 / 0.6053 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6589, allocations: 0.9189 MB / 0.6062 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6604, allocations: 333 kB / 0.6066 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.6739, allocations: 7.621 MB / 0.614 GB, free: 7.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/0.6775, allocations: 3.012 MB / 0.6169 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003872/0.6814, allocations: 1.718 MB / 0.6186 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.6819, allocations: 191.4 kB / 0.6188 GB, free: 2.414 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6819, allocations: 0 / 0.6188 GB, free: 2.414 MB / 446.1 MB Notification: Performance of Templates: time 0.04323/0.7252, allocations: 18.66 MB / 0.637 GB, free: 15.84 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 -s cvode -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