Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002439/0.002445, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2788/0.2788, allocations: 43.55 MB / 362.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.87 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.04006/0.1644, allocations: 24.91 MB / 0.5031 GB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.1812, allocations: 5.636 MB / 0.5086 GB, free: 10.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004705/0.186, allocations: 115.8 kB / 0.5087 GB, free: 10.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004683/0.1907, allocations: 1.272 MB / 0.5099 GB, free: 9.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0148/0.2055, allocations: 3.647 MB / 0.5135 GB, free: 5.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.2072, allocations: 87.86 kB / 0.5136 GB, free: 5.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004275/0.2116, allocations: 1.575 MB / 0.5151 GB, free: 3.992 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00454/0.2162, allocations: 1.974 MB / 0.517 GB, free: 1.969 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.2183, allocations: 0.7823 MB / 0.5178 GB, free: 1.184 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.2209, allocations: 1.047 MB / 0.5188 GB, free: 136 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000801/0.2217, allocations: 127.9 kB / 0.5189 GB, free: 8 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3664/0.5881, allocations: 359.8 kB / 0.5193 GB, free: 12.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002682/0.5908, allocations: 1.265 MB / 0.5205 GB, free: 12.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.5927, allocations: 0.7162 MB / 0.5212 GB, free: 12.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008542/0.6013, allocations: 4.292 MB / 0.5254 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6014, allocations: 0 / 0.5254 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6014, allocations: 3.594 kB / 0.5254 GB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002629/0.6016, allocations: 0 / 0.5254 GB, free: 12.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.009404/0.6111, allocations: 3.1 MB / 0.5284 GB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6111, allocations: 8.312 kB / 0.5284 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/0.6331, allocations: 3.623 MB / 0.532 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/0.6388, allocations: 1.54 MB / 0.5335 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.6391, allocations: 179.4 kB / 0.5337 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.6409, allocations: 230.2 kB / 0.5339 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/0.67, allocations: 9.937 MB / 0.5436 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002047/0.6702, allocations: 20.5 kB / 0.5436 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002393/0.6726, allocations: 116 kB / 0.5437 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009741/0.6824, allocations: 2.532 MB / 0.5462 GB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.7092, allocations: 8.932 MB / 0.5549 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06814/0.7773, allocations: 31.54 MB / 0.5857 GB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/0.7863, allocations: 3.312 MB / 0.5889 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.7865, allocations: 11.8 kB / 0.589 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.7866, allocations: 49.72 kB / 0.589 GB, free: 4.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 5.371e-06/0.7866, allocations: 0 / 0.589 GB, free: 4.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.01316/0.7997, allocations: 3.902 MB / 0.5928 GB, free: 172 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.7999, allocations: 86.11 kB / 0.5929 GB, free: 68 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/0.8068, allocations: 3.153 MB / 0.596 GB, free: 12.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.8071, allocations: 46.25 kB / 0.596 GB, free: 12.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002783/0.8099, allocations: 2.726 MB / 0.5987 GB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.8109, allocations: 0.5693 MB / 0.5992 GB, free: 9.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.8113, allocations: 99.59 kB / 0.5993 GB, free: 9.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004623/0.8118, allocations: 0.5175 MB / 0.5998 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0039/0.8157, allocations: 1.522 MB / 0.6013 GB, free: 7.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/0.8221, allocations: 4.493 MB / 0.6057 GB, free: 1.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006303/0.8284, allocations: 2.636 MB / 0.6083 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.522e-05/0.8285, allocations: 28 kB / 0.6083 GB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.01444/0.843, allocations: 5.794 MB / 0.614 GB, free: 9.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.8431, allocations: 48 kB / 0.614 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/0.8433, allocations: 112.9 kB / 0.6141 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.8435, allocations: 152 kB / 0.6143 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006067/0.8496, allocations: 1.093 MB / 0.6153 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002308/0.8498, allocations: 203.2 kB / 0.6155 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.8546, allocations: 0.687 MB / 0.6162 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007558/0.8554, allocations: 307.6 kB / 0.6165 GB, free: 7.066 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (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 (599): * Single equations (assignments): 593 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005207/0.8606, allocations: 1.977 MB / 0.6184 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006331/0.8613, allocations: 268.5 kB / 0.6187 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000878/0.8621, allocations: 336.3 kB / 0.619 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.392e-05/0.8622, allocations: 19.52 kB / 0.619 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.8622, allocations: 0 / 0.619 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.8623, allocations: 7.984 kB / 0.619 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/0.8808, allocations: 7.113 MB / 0.626 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.8809, allocations: 4 kB / 0.626 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.8824, allocations: 188.6 kB / 0.6262 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/0.8824, allocations: 12 kB / 0.6262 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.8826, allocations: 37.47 kB / 0.6262 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.219e-05/0.8826, allocations: 19.92 kB / 0.6262 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.8826, allocations: 8 kB / 0.6262 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/0.8878, allocations: 2.979 MB / 0.6291 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000961/0.8888, allocations: 363.2 kB / 0.6295 GB, free: 9.176 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/0.8892, allocations: 31.98 kB / 0.6295 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.8906, allocations: 51.16 kB / 0.6296 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.8909, allocations: 84.39 kB / 0.6296 GB, free: 9.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/0.891, allocations: 53.23 kB / 0.6297 GB, free: 8.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004851/0.8959, allocations: 1.996 MB / 0.6316 GB, free: 6.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8959, allocations: 0 / 0.6316 GB, free: 6.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005582/0.9015, allocations: 1.037 MB / 0.6327 GB, free: 5.934 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004936/0.9021, allocations: 161.6 kB / 0.6328 GB, free: 5.766 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008705/0.9108, allocations: 3.567 MB / 0.6363 GB, free: 2.227 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9108, allocations: 0 / 0.6363 GB, free: 2.227 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.9129, allocations: 0.9249 MB / 0.6372 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.9149, allocations: 292.9 kB / 0.6375 GB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/0.9375, allocations: 9.815 MB / 0.6471 GB, free: 7.082 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00585/0.9434, allocations: 3.161 MB / 0.6502 GB, free: 3.895 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.9448, allocations: 227.4 kB / 0.6504 GB, free: 3.676 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.9448, allocations: 0 / 0.6504 GB, free: 3.676 MB / 458.7 MB Notification: Performance of Templates: time 0.1066/1.051, allocations: 45.69 MB / 0.695 GB, free: 6.012 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches