Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009672/0.009677, allocations: 162.4 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.799/1.799, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001752/0.001752, allocations: 104.8 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4713/0.4713, allocations: 38.05 MB / 303.7 MB, free: 42.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004961, allocations: 16 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 48.71 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.3239/0.4584, allocations: 30 MB / 441.7 MB, free: 30.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.4788, allocations: 7.119 MB / 448.8 MB, free: 29.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00663/0.4855, allocations: 145.2 kB / 449 MB, free: 29.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00546/0.491, allocations: 1.414 MB / 450.4 MB, free: 29.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01767/0.5087, allocations: 5.037 MB / 455.4 MB, free: 28.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.5119, allocations: 0.5141 MB / 455.9 MB, free: 28.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006461/0.5184, allocations: 3.75 MB / 459.7 MB, free: 27.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005897/0.5244, allocations: 2.949 MB / 462.6 MB, free: 26.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.5268, allocations: 1.012 MB / 463.6 MB, free: 25.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00374/0.5306, allocations: 1.574 MB / 465.2 MB, free: 25.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008619/0.5315, allocations: 111.8 kB / 465.3 MB, free: 25.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.5347, allocations: 0.8369 MB / 466.2 MB, free: 25.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002775/0.5375, allocations: 1.372 MB / 467.5 MB, free: 24.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.539, allocations: 0.6916 MB / 468.2 MB, free: 24.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007983/0.547, allocations: 4.428 MB / 472.7 MB, free: 22.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.5471, allocations: 0 / 472.7 MB, free: 22.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5471, allocations: 1.375 kB / 472.7 MB, free: 22.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000232/0.5473, allocations: 0 / 472.7 MB, free: 22.82 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0118/0.5591, allocations: 3.356 MB / 476 MB, free: 20.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5592, allocations: 9.75 kB / 476 MB, free: 20.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002386/0.5616, allocations: 0.5963 MB / 476.6 MB, free: 20.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.5736, allocations: 1.823 MB / 478.4 MB, free: 19.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.581, allocations: 2.338 MB / 480.8 MB, free: 17.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.5813, allocations: 185.4 kB / 481 MB, free: 17.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.5826, allocations: 243.5 kB / 481.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.6044, allocations: 8.337 MB / 489.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.6046, allocations: 37.47 kB / 489.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006532/0.6053, allocations: 122.7 kB / 489.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004085/0.6094, allocations: 1.615 MB / 491.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.6289, allocations: 6.978 MB / 498.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05946/0.6884, allocations: 33.8 MB / 0.5196 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/0.7023, allocations: 3.138 MB / 0.5227 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006039/0.7084, allocations: 1.443 MB / 0.5241 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/0.7248, allocations: 4.022 MB / 0.528 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.7249, allocations: 47.12 kB / 0.5281 GB, free: 9.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 8.827e-06/0.725, allocations: 0 / 0.5281 GB, free: 9.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.06971/0.7947, allocations: 11.33 MB / 0.5391 GB, free: 13.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.7949, allocations: 166.7 kB / 0.5393 GB, free: 13.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009831/0.8047, allocations: 3.701 MB / 0.5429 GB, free: 9.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003437/0.8051, allocations: 45.7 kB / 0.5429 GB, free: 9.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003164/0.8083, allocations: 2.721 MB / 0.5456 GB, free: 7.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009396/0.8093, allocations: 0.4939 MB / 0.5461 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/0.8098, allocations: 104 kB / 0.5462 GB, free: 6.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004277/0.8102, allocations: 0.5289 MB / 0.5467 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/0.8147, allocations: 1.665 MB / 0.5483 GB, free: 4.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007638/0.8224, allocations: 5.069 MB / 0.5533 GB, free: 13.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007179/0.8296, allocations: 2.847 MB / 0.556 GB, free: 10.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/0.8298, allocations: 36 kB / 0.5561 GB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01928/0.8491, allocations: 6.619 MB / 0.5625 GB, free: 4.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.8493, allocations: 59.95 kB / 0.5626 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/0.8495, allocations: 120 kB / 0.5627 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.8506, allocations: 341.3 kB / 0.563 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007617/0.8582, allocations: 1.224 MB / 0.5642 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004068/0.8623, allocations: 2.33 MB / 0.5665 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005778/0.8682, allocations: 283.7 kB / 0.5668 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/0.8694, allocations: 336 kB / 0.5671 GB, free: 15.27 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (654): * Single equations (assignments): 650 * Array equations: 3 * 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 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005096/0.8745, allocations: 1.778 MB / 0.5688 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008954/0.8754, allocations: 308 kB / 0.5691 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008588/0.884, allocations: 2.335 MB / 0.5714 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-05/0.8841, allocations: 16 kB / 0.5714 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.8841, allocations: 7.984 kB / 0.5714 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/0.8842, allocations: 3.984 kB / 0.5714 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/0.9039, allocations: 5.84 MB / 0.5771 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/0.904, allocations: 0 / 0.5771 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.9056, allocations: 171.7 kB / 0.5773 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/0.91, allocations: 0.7108 MB / 0.578 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/0.9103, allocations: 20 kB / 0.578 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3104/1.221, allocations: 4.465 MB / 0.5824 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.221, allocations: 0.8438 kB / 0.5824 GB, free: 125 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/1.234, allocations: 4.274 MB / 0.5866 GB, free: 124.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.236, allocations: 0.5307 MB / 0.5871 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009245/1.237, allocations: 19.98 kB / 0.5871 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/1.24, allocations: 67.77 kB / 0.5872 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/1.24, allocations: 64.91 kB / 0.5872 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.24, allocations: 35.28 kB / 0.5873 GB, free: 124.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006471/1.247, allocations: 2.298 MB / 0.5895 GB, free: 124.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.247, allocations: 2.625 kB / 0.5895 GB, free: 124.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006099/1.253, allocations: 0.7962 MB / 0.5903 GB, free: 124.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (90): * Single equations (assignments): 86 * Array equations: 3 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01145/1.265, allocations: 4.914 MB / 0.5951 GB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009232/1.274, allocations: 3.961 MB / 0.5989 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.274, allocations: 0 / 0.5989 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.276, allocations: 1.096 MB / 0.6 GB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.28, allocations: 370 kB / 0.6004 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06853/1.349, allocations: 27.76 MB / 0.6275 GB, free: 101.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/1.353, allocations: 2.829 MB / 0.6302 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007178/1.36, allocations: 1.643 MB / 0.6318 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003488/1.364, allocations: 1.508 MB / 0.6333 GB, free: 99.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/1.364, allocations: 0 / 0.6333 GB, free: 99.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/1.539, allocations: 64.26 MB / 0.6961 GB, free: 39.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.539, allocations: 222.7 kB / 0.6963 GB, free: 39.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.061/6.6, allocations: 0 / 0.6963 GB, free: 39.65 MB / 426.7 MB