Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.01191/0.01191, allocations: 107 kB / 15.06 MB, free: 5.551 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.001371/0.001371, allocations: 180.5 kB / 15.95 MB, free: 5.516 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.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2845/0.2845, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.000504, allocations: 16 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 54.86 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.05121/0.1789, allocations: 28.36 MB / 444.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3541/0.5331, allocations: 7.41 MB / 451.8 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006191/0.5393, allocations: 137.3 kB / 451.9 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004891/0.5443, allocations: 1.391 MB / 453.3 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.019/0.5633, allocations: 4.135 MB / 457.5 MB, free: 30.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.567, allocations: 0.4987 MB / 458 MB, free: 30.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.5732, allocations: 1.862 MB / 459.8 MB, free: 30.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007392/0.5807, allocations: 2.922 MB / 462.7 MB, free: 30.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.5832, allocations: 0.8523 MB / 463.6 MB, free: 30.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.5865, allocations: 1.109 MB / 464.7 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.5876, allocations: 113.1 kB / 464.8 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.5909, allocations: 0.8253 MB / 465.6 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002718/0.5937, allocations: 1.268 MB / 466.9 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.5954, allocations: 0.6919 MB / 467.6 MB, free: 30.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.6056, allocations: 4.421 MB / 472 MB, free: 29.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6057, allocations: 0 / 472 MB, free: 29.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6057, allocations: 0 / 472 MB, free: 29.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002291/0.6059, allocations: 0 / 472 MB, free: 29.82 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.03133/0.6373, allocations: 3.414 MB / 475.4 MB, free: 28.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6374, allocations: 9.469 kB / 475.4 MB, free: 28.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002543/0.6399, allocations: 0.5933 MB / 476 MB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.6579, allocations: 2.107 MB / 478.1 MB, free: 27.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008391/0.6664, allocations: 2.135 MB / 480.3 MB, free: 27.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.6667, allocations: 185.4 kB / 480.5 MB, free: 27.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.6685, allocations: 251 kB / 480.7 MB, free: 27.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/0.6952, allocations: 8.386 MB / 489.1 MB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.6955, allocations: 42.59 kB / 489.1 MB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001332/0.6968, allocations: 126.2 kB / 489.3 MB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004717/0.7016, allocations: 1.62 MB / 490.9 MB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.726, allocations: 7.044 MB / 497.9 MB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05821/0.7843, allocations: 33.89 MB / 0.5193 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.7958, allocations: 3.155 MB / 0.5224 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009722/0.8056, allocations: 4.049 MB / 0.5264 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.8057, allocations: 51.06 kB / 0.5264 GB, free: 5.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=114): time 5.34e-06/0.8057, allocations: 4 kB / 0.5264 GB, free: 5.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.05145/0.8572, allocations: 11.6 MB / 0.5378 GB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.8574, allocations: 170.8 kB / 0.5379 GB, free: 9.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0127/0.8701, allocations: 3.814 MB / 0.5416 GB, free: 6.156 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005321/0.8707, allocations: 45.7 kB / 0.5417 GB, free: 6.105 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004541/0.8753, allocations: 2.729 MB / 0.5444 GB, free: 3.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/0.8767, allocations: 0.4979 MB / 0.5448 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007111/0.8774, allocations: 100 kB / 0.5449 GB, free: 2.801 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006058/0.8781, allocations: 0.5293 MB / 0.5455 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005616/0.8837, allocations: 1.665 MB / 0.5471 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008979/0.8927, allocations: 5.052 MB / 0.552 GB, free: 9.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007597/0.9004, allocations: 2.851 MB / 0.5548 GB, free: 6.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/0.9006, allocations: 36 kB / 0.5548 GB, free: 6.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01984/0.9205, allocations: 6.619 MB / 0.5613 GB, free: 332 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.9207, allocations: 60 kB / 0.5614 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/0.9209, allocations: 120 kB / 0.5615 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.9221, allocations: 336.7 kB / 0.5618 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007735/0.9298, allocations: 1.22 MB / 0.563 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/0.9343, allocations: 2.372 MB / 0.5653 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/0.9401, allocations: 291.4 kB / 0.5656 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/0.9415, allocations: 331 kB / 0.5659 GB, free: 11.48 MB / 442.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.00546/0.9469, allocations: 1.763 MB / 0.5676 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/0.9483, allocations: 308 kB / 0.5679 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009874/0.9582, allocations: 2.348 MB / 0.5702 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.055e-05/0.9583, allocations: 12 kB / 0.5702 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.9584, allocations: 4 kB / 0.5702 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.9584, allocations: 3.984 kB / 0.5702 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/0.979, allocations: 5.847 MB / 0.5759 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.338e-05/0.979, allocations: 0 / 0.5759 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.9808, allocations: 167.7 kB / 0.5761 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004332/0.9851, allocations: 0.7147 MB / 0.5768 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/0.9855, allocations: 23.98 kB / 0.5768 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01097/0.9965, allocations: 4.573 MB / 0.5813 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9965, allocations: 0 / 0.5813 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/1.009, allocations: 4.404 MB / 0.5856 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/1.012, allocations: 0.5379 MB / 0.5861 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008776/1.013, allocations: 20 kB / 0.5861 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.015, allocations: 75.14 kB / 0.5862 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004413/1.016, allocations: 72.47 kB / 0.5863 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.016, allocations: 32 kB / 0.5863 GB, free: 6.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006756/1.022, allocations: 2.401 MB / 0.5886 GB, free: 3.934 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.023, allocations: 0 / 0.5886 GB, free: 3.934 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006546/1.029, allocations: 0.8242 MB / 0.5894 GB, free: 3.109 MB / 458.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.01402/1.043, allocations: 5.32 MB / 0.5946 GB, free: 13.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.054, allocations: 3.961 MB / 0.5985 GB, free: 9.789 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.054, allocations: 5.375 kB / 0.5985 GB, free: 9.785 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002963/1.057, allocations: 1.093 MB / 0.5996 GB, free: 8.684 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.06, allocations: 352.6 kB / 0.5999 GB, free: 8.344 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3715/1.432, allocations: 98.69 MB / 0.6963 GB, free: 80.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006996/1.439, allocations: 2.826 MB / 0.699 GB, free: 80.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009888/1.449, allocations: 1.643 MB / 0.7007 GB, free: 79.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005058/1.454, allocations: 1.513 MB / 0.7021 GB, free: 79.89 MB / 490.7 MB Notification: Performance of SimCode: time 1.522e-06/1.454, allocations: 0 / 0.7021 GB, free: 79.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/1.623, allocations: 64.22 MB / 0.7648 GB, free: 44.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/1.623, allocations: 210.3 kB / 0.765 GB, free: 44.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.95/6.573, allocations: 0 / 0.765 GB, free: 44.36 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat