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.001167/0.001167, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001273/0.001273, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.349/1.349, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.222/0.222, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.94 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1164, allocations: 60.82 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01183/0.1283, allocations: 11.41 MB / 481.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006251/0.1346, allocations: 2.807 MB / 484.2 MB, free: 84 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.1363, allocations: 55.94 kB / 484.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.1391, allocations: 1.323 MB / 485.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.1423, allocations: 1.245 MB / 486.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1426, allocations: 79.83 kB / 486.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003348/0.146, allocations: 2.79 MB / 489.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.1483, allocations: 1.777 MB / 491.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.1503, allocations: 1.07 MB / 492.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.1524, allocations: 1.491 MB / 494 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005335/0.1529, allocations: 204 kB / 494.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1541, allocations: 0.4915 MB / 494.7 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.1555, allocations: 1.441 MB / 496.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.1574, allocations: 1.742 MB / 497.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005242/0.1626, allocations: 5.26 MB / 0.4913 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1626, allocations: 0 / 0.4913 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1627, allocations: 0 / 0.4913 GB, free: 13.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001469/0.1628, allocations: 0 / 0.4913 GB, free: 13.03 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.006003/0.1688, allocations: 3.671 MB / 0.4949 GB, free: 9.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1689, allocations: 8.031 kB / 0.4949 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.1792, allocations: 2.975 MB / 0.4978 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.1826, allocations: 1.549 MB / 0.4993 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.1828, allocations: 184.6 kB / 0.4995 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/0.1832, allocations: 227.9 kB / 0.4997 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2331/0.4164, allocations: 9.697 MB / 0.5092 GB, free: 44.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-05/0.4165, allocations: 19.44 kB / 0.5092 GB, free: 44.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/0.4168, allocations: 107.7 kB / 0.5093 GB, free: 43.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004385/0.4212, allocations: 2.442 MB / 0.5117 GB, free: 43.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.4394, allocations: 8.811 MB / 0.5203 GB, free: 40.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03826/0.4777, allocations: 30.68 MB / 0.5503 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004626/0.4824, allocations: 3.27 MB / 0.5535 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.4836, allocations: 0.9141 MB / 0.5544 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-05/0.4836, allocations: 20.98 kB / 0.5544 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.4837, allocations: 40.12 kB / 0.5544 GB, free: 7.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.288e-06/0.4837, allocations: 0 / 0.5544 GB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.006467/0.4902, allocations: 3.373 MB / 0.5577 GB, free: 4.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4902, allocations: 72.34 kB / 0.5578 GB, free: 4.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/0.4952, allocations: 3.123 MB / 0.5608 GB, free: 1.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.4954, allocations: 41.7 kB / 0.5609 GB, free: 1.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002313/0.4978, allocations: 2.681 MB / 0.5635 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009309/0.4987, allocations: 0.5631 MB / 0.564 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001968/0.5007, allocations: 0.9784 MB / 0.565 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5008, allocations: 301.1 kB / 0.5653 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.5033, allocations: 1.528 MB / 0.5668 GB, free: 11.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/0.508, allocations: 4.451 MB / 0.5711 GB, free: 5.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007619/0.5157, allocations: 6.537 MB / 0.5775 GB, free: 13.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.5158, allocations: 28 kB / 0.5775 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01068/0.5265, allocations: 5.836 MB / 0.5832 GB, free: 7.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.5267, allocations: 48 kB / 0.5833 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.5268, allocations: 106.9 kB / 0.5834 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.527, allocations: 136 kB / 0.5835 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.5304, allocations: 1.06 MB / 0.5845 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001785/0.5306, allocations: 199.2 kB / 0.5847 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/0.5341, allocations: 0.6723 MB / 0.5854 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006874/0.5348, allocations: 300 kB / 0.5857 GB, free: 4.855 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.003463/0.5383, allocations: 1.95 MB / 0.5876 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.5388, allocations: 260.5 kB / 0.5878 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.5396, allocations: 327.8 kB / 0.5881 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-05/0.5396, allocations: 19.94 kB / 0.5882 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.5396, allocations: 0 / 0.5882 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5397, allocations: 3.984 kB / 0.5882 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.5524, allocations: 6.88 MB / 0.5949 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/0.5525, allocations: 17.59 kB / 0.5949 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.5533, allocations: 175.8 kB / 0.5951 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/0.5533, allocations: 12 kB / 0.5951 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.5535, allocations: 31.88 kB / 0.5951 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.5535, allocations: 15.98 kB / 0.5951 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.5535, allocations: 11.94 kB / 0.5951 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002905/0.5564, allocations: 2.245 MB / 0.5973 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/0.5572, allocations: 353.3 kB / 0.5977 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005359/0.5578, allocations: 35.92 kB / 0.5977 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5588, allocations: 43.95 kB / 0.5977 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.559, allocations: 76.45 kB / 0.5978 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.5591, allocations: 56.84 kB / 0.5979 GB, free: 8.062 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004093/0.5632, allocations: 1.979 MB / 0.5998 GB, free: 6.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5632, allocations: 0 / 0.5998 GB, free: 6.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004355/0.5676, allocations: 1.018 MB / 0.6008 GB, free: 5.062 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.0004561/0.568, allocations: 160.3 kB / 0.6009 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007622/0.5757, allocations: 4.651 MB / 0.6055 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.5757, allocations: 0 / 0.6055 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.577, allocations: 0.9185 MB / 0.6064 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.5793, allocations: 331.6 kB / 0.6067 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.5948, allocations: 8.146 MB / 0.6147 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004594/0.5995, allocations: 3.021 MB / 0.6176 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008054/0.6003, allocations: 227.4 kB / 0.6178 GB, free: 3.516 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.6003, allocations: 0 / 0.6178 GB, free: 3.516 MB / 446.1 MB Notification: Performance of Templates: time 0.07039/0.6707, allocations: 46.17 MB / 0.6629 GB, free: 5.457 MB / 494.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/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