Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01145/0.01145, allocations: 104.4 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001299/0.001299, allocations: 171 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.689/1.689, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2909/0.2909, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006543, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1078, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.05267/0.1606, allocations: 31.47 MB / 403.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02292/0.1835, allocations: 7.826 MB / 411.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006642/0.1902, allocations: 147.7 kB / 411.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006675/0.197, allocations: 1.614 MB / 413.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0192/0.2162, allocations: 4.675 MB / 418 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.2193, allocations: 483.2 kB / 418.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005297/0.2246, allocations: 2.144 MB / 420.6 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006067/0.2307, allocations: 3.024 MB / 423.7 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.2326, allocations: 0.9692 MB / 424.6 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.2351, allocations: 1.351 MB / 426 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006151/0.2357, allocations: 152 kB / 426.1 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.2381, allocations: 0.8114 MB / 426.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.2402, allocations: 1.504 MB / 428.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.2417, allocations: 0.8349 MB / 429.3 MB, free: 3.656 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3391/0.5808, allocations: 5.394 MB / 434.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5809, allocations: 2.219 kB / 434.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5809, allocations: 0 / 434.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002866/0.5812, allocations: 0 / 434.7 MB, free: 15.2 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1680 * Number of variables: 1680 Notification: Performance of Generate backend data structure: time 0.01447/0.5957, allocations: 3.947 MB / 438.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.5958, allocations: 9.312 kB / 438.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003221/0.599, allocations: 0.7865 MB / 439.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02494/0.624, allocations: 3.771 MB / 443.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008924/0.633, allocations: 2.355 MB / 445.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.6334, allocations: 222.3 kB / 445.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.6361, allocations: 294 kB / 446 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/0.6699, allocations: 11.39 MB / 457.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002115/0.6702, allocations: 32.88 kB / 457.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.6721, allocations: 140.2 kB / 457.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007736/0.6799, allocations: 2.66 MB / 460.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03188/0.7118, allocations: 10.53 MB / 470.8 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08795/0.7998, allocations: 37.5 MB / 0.4964 GB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/0.816, allocations: 4.562 MB / 0.5008 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/0.8182, allocations: 1.323 MB / 0.5021 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.8183, allocations: 48.56 kB / 0.5022 GB, free: 496 kB / 362.7 MB Notification: Performance of pre-optimization done (n=242): time 7.403e-06/0.8183, allocations: 0 / 0.5022 GB, free: 496 kB / 362.7 MB Notification: Performance of matching and sorting (n=254): time 0.08004/0.8983, allocations: 18.15 MB / 0.5199 GB, free: 14.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.8985, allocations: 73.41 kB / 0.52 GB, free: 14.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006866/0.9053, allocations: 2.877 MB / 0.5228 GB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007698/0.9062, allocations: 57.7 kB / 0.5228 GB, free: 11.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/0.9097, allocations: 2.846 MB / 0.5256 GB, free: 8.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001963/0.9117, allocations: 0.9173 MB / 0.5265 GB, free: 7.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006612/0.9124, allocations: 108 kB / 0.5266 GB, free: 7.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005811/0.913, allocations: 0.5376 MB / 0.5271 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006777/0.9198, allocations: 2.298 MB / 0.5294 GB, free: 4.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009893/0.9297, allocations: 5.235 MB / 0.5345 GB, free: 13.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009414/0.9392, allocations: 3.466 MB / 0.5379 GB, free: 10.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.9394, allocations: 32 kB / 0.5379 GB, free: 10.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02677/0.9662, allocations: 8.298 MB / 0.546 GB, free: 2.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.9663, allocations: 48 kB / 0.5461 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.9665, allocations: 104 kB / 0.5462 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/0.9718, allocations: 0.9521 MB / 0.5471 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008135/0.98, allocations: 1.237 MB / 0.5483 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.9919, allocations: 4.936 MB / 0.5531 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005474/0.9974, allocations: 299.8 kB / 0.5534 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/0.9987, allocations: 311.5 kB / 0.5537 GB, free: 10.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (662): * Single equations (assignments): 655 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006315/1.005, allocations: 2.188 MB / 0.5558 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000776/1.006, allocations: 280.3 kB / 0.5561 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/1.022, allocations: 5.108 MB / 0.5611 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/1.022, allocations: 51.98 kB / 0.5611 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/1.022, allocations: 5.641 kB / 0.5611 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.173e-05/1.022, allocations: 11.95 kB / 0.5612 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03957/1.062, allocations: 11.95 MB / 0.5728 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/1.062, allocations: 12 kB / 0.5728 GB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/1.066, allocations: 400.3 kB / 0.5732 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/1.07, allocations: 0.7741 MB / 0.574 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007041/1.071, allocations: 59.25 kB / 0.574 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.082, allocations: 4.202 MB / 0.5781 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.879e-05/1.082, allocations: 15.61 kB / 0.5782 GB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02271/1.104, allocations: 8.44 MB / 0.5864 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002948/1.107, allocations: 0.6906 MB / 0.5871 GB, free: 8.262 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.109, allocations: 51.27 kB / 0.5871 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/1.111, allocations: 147.8 kB / 0.5873 GB, free: 8.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009376/1.112, allocations: 151.1 kB / 0.5874 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002888/1.113, allocations: 71.98 kB / 0.5875 GB, free: 7.859 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004711/1.117, allocations: 1.771 MB / 0.5892 GB, free: 6.082 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.118, allocations: 8 kB / 0.5892 GB, free: 6.074 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007469/1.125, allocations: 1.019 MB / 0.5902 GB, free: 5.059 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3575/1.483, allocations: 11.65 MB / 0.6016 GB, free: 168.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.018/1.501, allocations: 5.609 MB / 0.6071 GB, free: 167 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.501, allocations: 1.859 kB / 0.6071 GB, free: 167 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007003/1.508, allocations: 2.142 MB / 0.6091 GB, free: 166.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/1.512, allocations: 334.8 kB / 0.6095 GB, free: 166.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/1.645, allocations: 102.3 MB / 0.7094 GB, free: 70.24 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007437/1.652, allocations: 3.511 MB / 0.7128 GB, free: 66.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008101/1.66, allocations: 2.002 MB / 0.7148 GB, free: 64.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004476/1.665, allocations: 1.87 MB / 0.7166 GB, free: 62.83 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/1.665, allocations: 0 / 0.7166 GB, free: 62.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5083/2.173, allocations: 69.86 MB / 0.7848 GB, free: 152 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/2.174, allocations: 202 kB / 0.785 GB, free: 151.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.903/7.076, allocations: 0 / 0.785 GB, free: 151.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat