Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01131/0.01131, allocations: 107.1 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00124/0.00124, allocations: 177.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.187/2.187, allocations: 194.6 MB / 211.3 MB, free: 10.72 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2744/0.2744, allocations: 40.04 MB / 296.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006374/0.0006377, allocations: 12 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1214, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.385/0.5065, allocations: 43.26 MB / 459.3 MB, free: 30.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03569/0.5423, allocations: 9.673 MB / 469 MB, free: 29.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01289/0.5552, allocations: 202.3 kB / 469.1 MB, free: 29.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.5662, allocations: 2.139 MB / 471.3 MB, free: 29.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03259/0.5988, allocations: 5.637 MB / 476.9 MB, free: 28.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005591/0.6045, allocations: 0.5417 MB / 477.5 MB, free: 28.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005506/0.6101, allocations: 1.408 MB / 478.9 MB, free: 28.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.6282, allocations: 6.397 MB / 485.3 MB, free: 27.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.6311, allocations: 0.8153 MB / 486.1 MB, free: 27.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.6346, allocations: 1.045 MB / 487.1 MB, free: 27.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.6358, allocations: 142.4 kB / 487.3 MB, free: 27.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.6388, allocations: 0.5645 MB / 487.8 MB, free: 27.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003641/0.6425, allocations: 1.372 MB / 489.2 MB, free: 26.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.6449, allocations: 0.7849 MB / 490 MB, free: 26.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.6604, allocations: 5.972 MB / 496 MB, free: 25.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.6605, allocations: 0 / 496 MB, free: 25.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.6605, allocations: 0 / 496 MB, free: 25.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003326/0.6608, allocations: 1.562 kB / 496 MB, free: 25.08 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.02064/0.6815, allocations: 3.88 MB / 499.8 MB, free: 22.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.6816, allocations: 8.875 kB / 499.9 MB, free: 22.44 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004051/0.6857, allocations: 0.6764 MB / 0.4888 GB, free: 21.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/0.6944, allocations: 0.6276 MB / 0.4894 GB, free: 21.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.7056, allocations: 2.144 MB / 0.4915 GB, free: 20.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/0.7062, allocations: 266.8 kB / 0.4918 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/0.7086, allocations: 348.3 kB / 0.4921 GB, free: 19.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0465/0.7552, allocations: 9.383 MB / 0.5013 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/0.7555, allocations: 12.16 kB / 0.5013 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001295/0.7568, allocations: 152.2 kB / 0.5014 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005995/0.7629, allocations: 1.561 MB / 0.5029 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06684/0.8297, allocations: 7.365 MB / 0.5101 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/0.9017, allocations: 27.87 MB / 0.5373 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.9158, allocations: 2.219 MB / 0.5395 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/0.9319, allocations: 6.759 MB / 0.5461 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.932, allocations: 43.12 kB / 0.5461 GB, free: 4.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 3.957e-06/0.932, allocations: 4 kB / 0.5462 GB, free: 4.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=98): time 0.03554/0.9676, allocations: 7.435 MB / 0.5534 GB, free: 12.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.9677, allocations: 163.2 kB / 0.5536 GB, free: 12.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006602/0.9743, allocations: 2.673 MB / 0.5562 GB, free: 9.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.9747, allocations: 41.7 kB / 0.5562 GB, free: 9.707 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002872/0.9776, allocations: 2.527 MB / 0.5587 GB, free: 7.176 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007067/0.9784, allocations: 402.7 kB / 0.5591 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/0.9789, allocations: 80.06 kB / 0.5591 GB, free: 6.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004004/0.9793, allocations: 470.4 kB / 0.5596 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/0.983, allocations: 1.105 MB / 0.5607 GB, free: 5.137 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006079/0.9892, allocations: 3.412 MB / 0.564 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006345/0.9956, allocations: 1.864 MB / 0.5658 GB, free: 14.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.443e-05/0.9957, allocations: 24 kB / 0.5659 GB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01339/1.009, allocations: 4.449 MB / 0.5702 GB, free: 10.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/1.009, allocations: 40 kB / 0.5702 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/1.009, allocations: 80 kB / 0.5703 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/1.01, allocations: 124 kB / 0.5704 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005915/1.016, allocations: 0.9362 MB / 0.5713 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002156/1.016, allocations: 171.4 kB / 0.5715 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.02, allocations: 201.8 kB / 0.5717 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007089/1.021, allocations: 244 kB / 0.5719 GB, free: 8.449 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (501): * Single equations (assignments): 500 * Array equations: 1 * 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.004954/1.026, allocations: 1.738 MB / 0.5736 GB, free: 6.703 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006668/1.026, allocations: 240.9 kB / 0.5739 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/1.03, allocations: 1.184 MB / 0.575 GB, free: 5.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/1.03, allocations: 15.98 kB / 0.575 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.03, allocations: 0 / 0.575 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.03, allocations: 3.984 kB / 0.575 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.048, allocations: 6.345 MB / 0.5812 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/1.048, allocations: 16 kB / 0.5812 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.051, allocations: 243.5 kB / 0.5815 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.218e-05/1.051, allocations: 28.72 kB / 0.5815 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/1.051, allocations: 43.98 kB / 0.5815 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.763e-05/1.051, allocations: 43.86 kB / 0.5816 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-05/1.051, allocations: 27.88 kB / 0.5816 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007969/1.059, allocations: 3.717 MB / 0.5852 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.061, allocations: 337.8 kB / 0.5856 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/1.062, allocations: 43.98 kB / 0.5856 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.065, allocations: 55.97 kB / 0.5857 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/1.066, allocations: 123.6 kB / 0.5858 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002065/1.066, allocations: 63.94 kB / 0.5858 GB, free: 9.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007062/1.073, allocations: 1.761 MB / 0.5876 GB, free: 7.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.947e-06/1.073, allocations: 3.938 kB / 0.5876 GB, free: 7.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008443/1.082, allocations: 0.6992 MB / 0.5882 GB, free: 6.902 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * 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 (122): * Single equations (assignments): 122 * Array equations: 0 * 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.01122/1.093, allocations: 8.662 MB / 0.5967 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01001/1.103, allocations: 2.557 MB / 0.5992 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/1.103, allocations: 4 kB / 0.5992 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.105, allocations: 0.6364 MB / 0.5998 GB, free: 10.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.108, allocations: 311.6 kB / 0.6001 GB, free: 10.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4378/1.545, allocations: 69.64 MB / 0.6681 GB, free: 115.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006319/1.552, allocations: 3.026 MB / 0.6711 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005046/1.557, allocations: 1.021 MB / 0.6721 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003869/1.561, allocations: 1.617 MB / 0.6737 GB, free: 114.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/1.561, allocations: 4.406 kB / 0.6737 GB, free: 114.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.696, allocations: 51.83 MB / 0.7243 GB, free: 91.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.697, allocations: 181.6 kB / 0.7245 GB, free: 90.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/5.872, allocations: 0 / 0.7245 GB, free: 90.97 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat