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.0008754/0.0008756, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.0008656/0.0008658, allocations: 174.6 kB / 18.91 MB, free: 4.871 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.37/1.37, allocations: 223.3 MB / 243 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.25 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003298, allocations: 11.98 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 61.94 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02645/0.1496, allocations: 27.92 MB / 0.4891 GB, free: 1.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.1628, allocations: 5.597 MB / 0.4946 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004605/0.1674, allocations: 115.8 kB / 0.4947 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.1689, allocations: 414.2 kB / 0.4951 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.1724, allocations: 1.191 MB / 0.4962 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.1729, allocations: 67.92 kB / 0.4963 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004779/0.1777, allocations: 4.123 MB / 0.5003 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.1815, allocations: 2.14 MB / 0.5024 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.1834, allocations: 0.8634 MB / 0.5033 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.1861, allocations: 1.483 MB / 0.5047 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008067/0.1869, allocations: 124 kB / 0.5048 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1883, allocations: 427.3 kB / 0.5052 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2621/0.4504, allocations: 1.377 MB / 0.5066 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003899/0.4544, allocations: 1.67 MB / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006989/0.4614, allocations: 4.209 MB / 0.5123 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4614, allocations: 0 / 0.5123 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4615, allocations: 0 / 0.5123 GB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002316/0.4617, allocations: 1 kB / 0.5123 GB, free: 12.75 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.006998/0.4687, allocations: 2.984 MB / 0.5152 GB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4688, allocations: 12.81 kB / 0.5153 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.4794, allocations: 3.06 MB / 0.5182 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/0.4836, allocations: 1.553 MB / 0.5198 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.4838, allocations: 174.3 kB / 0.5199 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008339/0.4846, allocations: 224.6 kB / 0.5201 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.5005, allocations: 9.708 MB / 0.5296 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.831e-05/0.5006, allocations: 21.72 kB / 0.5296 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003767/0.501, allocations: 109.8 kB / 0.5297 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003768/0.5048, allocations: 2.445 MB / 0.5321 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.519, allocations: 8.805 MB / 0.5407 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/0.5601, allocations: 30.71 MB / 0.5707 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.5653, allocations: 3.268 MB / 0.5739 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.5665, allocations: 0.918 MB / 0.5748 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.5666, allocations: 23.97 kB / 0.5748 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.5667, allocations: 46.22 kB / 0.5749 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.908e-06/0.5667, allocations: 0 / 0.5749 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.007304/0.574, allocations: 3.368 MB / 0.5782 GB, free: 13.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.5741, allocations: 68.41 kB / 0.5782 GB, free: 13.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005376/0.5794, allocations: 3.127 MB / 0.5813 GB, free: 9.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.5797, allocations: 44.33 kB / 0.5813 GB, free: 9.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002182/0.5818, allocations: 2.68 MB / 0.5839 GB, free: 7.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008227/0.5827, allocations: 0.5676 MB / 0.5845 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007371/0.5834, allocations: 427.7 kB / 0.5849 GB, free: 6.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.5835, allocations: 305.1 kB / 0.5852 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/0.5862, allocations: 1.524 MB / 0.5867 GB, free: 4.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.5908, allocations: 4.454 MB / 0.591 GB, free: 14.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/0.5986, allocations: 6.532 MB / 0.5974 GB, free: 6.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/0.5988, allocations: 32 kB / 0.5974 GB, free: 6.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01102/0.6098, allocations: 5.823 MB / 0.6031 GB, free: 1.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.61, allocations: 51.28 kB / 0.6032 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/0.6102, allocations: 108 kB / 0.6033 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.6103, allocations: 136 kB / 0.6034 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/0.6138, allocations: 1.061 MB / 0.6045 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001956/0.614, allocations: 204 kB / 0.6046 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/0.6177, allocations: 0.6866 MB / 0.6053 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006936/0.6184, allocations: 296 kB / 0.6056 GB, free: 15.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.004063/0.6225, allocations: 1.943 MB / 0.6075 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.623, allocations: 256.6 kB / 0.6077 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/0.6239, allocations: 331.8 kB / 0.6081 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/0.6239, allocations: 19.98 kB / 0.6081 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.624, allocations: 0 / 0.6081 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.624, allocations: 7.922 kB / 0.6081 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.637, allocations: 6.892 MB / 0.6148 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.6371, allocations: 4 kB / 0.6148 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.6379, allocations: 171.7 kB / 0.615 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.6379, allocations: 12 kB / 0.615 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/0.638, allocations: 35.17 kB / 0.615 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.638, allocations: 15.94 kB / 0.615 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.6381, allocations: 11.94 kB / 0.6151 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/0.6409, allocations: 2.251 MB / 0.6173 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/0.6418, allocations: 357.3 kB / 0.6176 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007043/0.6425, allocations: 26.11 kB / 0.6176 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.6439, allocations: 51.89 kB / 0.6177 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6441, allocations: 82.88 kB / 0.6177 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.6442, allocations: 49.58 kB / 0.6178 GB, free: 2.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004314/0.6485, allocations: 1.983 MB / 0.6197 GB, free: 0.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6485, allocations: 0 / 0.6197 GB, free: 0.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005339/0.6539, allocations: 1.011 MB / 0.6207 GB, free: 15.73 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.0005034/0.6544, allocations: 162.5 kB / 0.6209 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006186/0.6606, allocations: 3.55 MB / 0.6243 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.6606, allocations: 0 / 0.6243 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.662, allocations: 0.9178 MB / 0.6252 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004677/0.6667, allocations: 317.9 kB / 0.6255 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.6842, allocations: 10 MB / 0.6353 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004707/0.6889, allocations: 3.016 MB / 0.6382 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.6898, allocations: 231.4 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6899, allocations: 0 / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Templates: time 0.07573/0.7656, allocations: 45.45 MB / 0.6828 GB, free: 60 kB / 0.5137 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/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