Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.011/0.01101, allocations: 107.2 kB / 15.06 MB, free: 5.949 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.001233/0.001233, allocations: 185.5 kB / 15.95 MB, free: 5.902 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.079/2.079, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.331/0.331, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.0006661, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1453, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.06588/0.2113, allocations: 31.5 MB / 447.5 MB, free: 2.969 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3809/0.5922, allocations: 7.832 MB / 455.4 MB, free: 30.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006098/0.5984, allocations: 145.3 kB / 455.5 MB, free: 30.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005234/0.6037, allocations: 1.618 MB / 457.1 MB, free: 30.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01687/0.6206, allocations: 4.68 MB / 461.8 MB, free: 30.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.6235, allocations: 466 kB / 462.2 MB, free: 30.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.6285, allocations: 2.147 MB / 464.4 MB, free: 30.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005496/0.6341, allocations: 3.04 MB / 467.4 MB, free: 30.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.636, allocations: 0.9756 MB / 468.4 MB, free: 30.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.6384, allocations: 1.343 MB / 469.8 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007189/0.6392, allocations: 152.1 kB / 469.9 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.6416, allocations: 0.8149 MB / 470.7 MB, free: 29.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001868/0.6435, allocations: 1.496 MB / 472.2 MB, free: 29.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.6446, allocations: 0.8352 MB / 473 MB, free: 29.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008485/0.6531, allocations: 5.409 MB / 478.5 MB, free: 29.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6531, allocations: 3.375 kB / 478.5 MB, free: 29.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6531, allocations: 0 / 478.5 MB, free: 29.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002618/0.6534, allocations: 0 / 478.5 MB, free: 29.09 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: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01234/0.6658, allocations: 3.945 MB / 482.4 MB, free: 27.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6658, allocations: 9.891 kB / 482.4 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002866/0.6687, allocations: 0.7834 MB / 483.2 MB, free: 27.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/0.692, allocations: 3.771 MB / 487 MB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007698/0.6997, allocations: 2.357 MB / 489.3 MB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.7002, allocations: 226.2 kB / 489.5 MB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002397/0.7026, allocations: 298.2 kB / 489.8 MB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04359/0.7462, allocations: 11.4 MB / 0.4895 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/0.7466, allocations: 27.59 kB / 0.4895 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0023/0.7489, allocations: 137.3 kB / 0.4897 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01051/0.7595, allocations: 2.656 MB / 0.4922 GB, free: 21.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03983/0.7994, allocations: 10.54 MB / 0.5025 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08722/0.8866, allocations: 37.5 MB / 0.5392 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01597/0.9027, allocations: 4.55 MB / 0.5436 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/0.9048, allocations: 1.323 MB / 0.5449 GB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/0.9049, allocations: 56.5 kB / 0.545 GB, free: 3.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 6.893e-06/0.905, allocations: 0 / 0.545 GB, free: 3.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.07906/0.984, allocations: 18.15 MB / 0.5627 GB, free: 1.055 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.9842, allocations: 73.41 kB / 0.5627 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006871/0.991, allocations: 2.864 MB / 0.5655 GB, free: 14.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007413/0.9918, allocations: 59.58 kB / 0.5656 GB, free: 14.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003082/0.9949, allocations: 2.846 MB / 0.5684 GB, free: 11.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001821/0.9968, allocations: 0.9144 MB / 0.5693 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.9975, allocations: 110.5 kB / 0.5694 GB, free: 10.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005711/0.9981, allocations: 0.5414 MB / 0.5699 GB, free: 9.641 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006709/1.005, allocations: 2.302 MB / 0.5721 GB, free: 7.332 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0103/1.015, allocations: 5.238 MB / 0.5773 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/1.024, allocations: 3.467 MB / 0.5807 GB, free: 13.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/1.024, allocations: 36 kB / 0.5807 GB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=723) (initialization): time 0.02696/1.051, allocations: 8.297 MB / 0.5888 GB, free: 4.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.052, allocations: 48 kB / 0.5888 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001909/1.052, allocations: 107.8 kB / 0.5889 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005209/1.057, allocations: 0.95 MB / 0.5899 GB, free: 3.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008266/1.065, allocations: 1.236 MB / 0.5911 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/1.077, allocations: 4.932 MB / 0.5959 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005586/1.082, allocations: 306.7 kB / 0.5962 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.084, allocations: 312.9 kB / 0.5965 GB, free: 12.83 MB / 474.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.007048/1.091, allocations: 2.172 MB / 0.5986 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008/1.092, allocations: 280.3 kB / 0.5989 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01803/1.11, allocations: 5.125 MB / 0.6039 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001374/1.11, allocations: 50.05 kB / 0.6039 GB, free: 5.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.11, allocations: 4 kB / 0.6039 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-05/1.11, allocations: 12.95 kB / 0.6039 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03889/1.149, allocations: 11.96 MB / 0.6156 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/1.149, allocations: 12.97 kB / 0.6156 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003741/1.153, allocations: 399.3 kB / 0.616 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00464/1.158, allocations: 0.7746 MB / 0.6168 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006392/1.158, allocations: 51.98 kB / 0.6168 GB, free: 7.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009958/1.168, allocations: 4.198 MB / 0.6209 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-05/1.168, allocations: 15.94 kB / 0.6209 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4064/1.575, allocations: 8.438 MB / 0.6292 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/1.577, allocations: 0.6904 MB / 0.6298 GB, free: 152.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009516/1.578, allocations: 51.83 kB / 0.6299 GB, free: 152.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.581, allocations: 144.9 kB / 0.63 GB, free: 152.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009953/1.582, allocations: 159.1 kB / 0.6302 GB, free: 152.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003183/1.583, allocations: 75.61 kB / 0.6303 GB, free: 152.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004505/1.587, allocations: 1.771 MB / 0.632 GB, free: 152.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.587, allocations: 0 / 0.632 GB, free: 152.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0087/1.596, allocations: 1.011 MB / 0.633 GB, free: 152.5 MB / 490.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.02535/1.621, allocations: 11.66 MB / 0.6444 GB, free: 146.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01408/1.636, allocations: 5.592 MB / 0.6498 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.636, allocations: 1.875 kB / 0.6498 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005336/1.641, allocations: 2.148 MB / 0.6519 GB, free: 143.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.644, allocations: 345.7 kB / 0.6522 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09277/1.737, allocations: 102.3 MB / 0.7522 GB, free: 54.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006853/1.744, allocations: 3.518 MB / 0.7556 GB, free: 52.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008039/1.752, allocations: 1.997 MB / 0.7576 GB, free: 50.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004625/1.757, allocations: 1.869 MB / 0.7594 GB, free: 49.07 MB / 490.7 MB Notification: Performance of SimCode: time 2.024e-06/1.757, allocations: 4 kB / 0.7594 GB, free: 49.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4824/2.239, allocations: 69.86 MB / 0.8276 GB, free: 147 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/2.24, allocations: 196.1 kB / 0.8278 GB, free: 146.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.59/6.83, allocations: 3.938 kB / 0.8278 GB, free: 146.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat