Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Frames_AngularVelocity",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.0111/0.01111, allocations: 107.3 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.001251/0.001251, allocations: 183.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.039/2.039, 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.2638/0.2638, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 8 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3791/0.4948, allocations: 41.11 MB / 457.1 MB, free: 30.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.5203, allocations: 10.01 MB / 467.1 MB, free: 29.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009002/0.5293, allocations: 202.5 kB / 467.3 MB, free: 29.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007149/0.5365, allocations: 2.058 MB / 469.4 MB, free: 29.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02103/0.5576, allocations: 5.884 MB / 475.3 MB, free: 28.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.5614, allocations: 0.5768 MB / 475.9 MB, free: 28.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005256/0.5667, allocations: 2.1 MB / 478 MB, free: 28.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008563/0.5753, allocations: 4.609 MB / 482.6 MB, free: 28.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.5779, allocations: 0.9973 MB / 483.6 MB, free: 28.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.5808, allocations: 1.3 MB / 484.9 MB, free: 27.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009913/0.5818, allocations: 141.8 kB / 485 MB, free: 27.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.5849, allocations: 0.8885 MB / 485.9 MB, free: 27.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.5879, allocations: 1.554 MB / 487.4 MB, free: 27.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.5902, allocations: 0.8479 MB / 488.3 MB, free: 27.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.6011, allocations: 5.582 MB / 493.9 MB, free: 26.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6012, allocations: 1.281 kB / 493.9 MB, free: 26.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6012, allocations: 0 / 493.9 MB, free: 26.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002937/0.6015, allocations: 0 / 493.9 MB, free: 26.89 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.0145/0.616, allocations: 3.95 MB / 497.8 MB, free: 24.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6161, allocations: 13.41 kB / 497.8 MB, free: 24.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00337/0.6195, allocations: 0.7376 MB / 498.6 MB, free: 23.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/0.6348, allocations: 2.288 MB / 0.4891 GB, free: 22.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007876/0.6427, allocations: 2.421 MB / 0.4915 GB, free: 21.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.6431, allocations: 252.2 kB / 0.4917 GB, free: 21.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/0.6459, allocations: 415 kB / 0.4921 GB, free: 20.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.677, allocations: 10.23 MB / 0.5021 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002176/0.6773, allocations: 45.8 kB / 0.5022 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.6789, allocations: 165.6 kB / 0.5023 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005166/0.6841, allocations: 1.906 MB / 0.5042 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02674/0.7108, allocations: 8.513 MB / 0.5125 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07645/0.7874, allocations: 39.82 MB / 0.5514 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/0.8037, allocations: 3.549 MB / 0.5548 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01984/0.8236, allocations: 7.552 MB / 0.5622 GB, free: 2.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.8238, allocations: 43.56 kB / 0.5623 GB, free: 2.805 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.36e-06/0.8238, allocations: 0 / 0.5623 GB, free: 2.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.0528/0.8766, allocations: 12.96 MB / 0.5749 GB, free: 5.617 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001681/0.8783, allocations: 1.636 MB / 0.5765 GB, free: 3.809 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009652/0.888, allocations: 4.055 MB / 0.5805 GB, free: 15.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005483/0.8886, allocations: 45.7 kB / 0.5805 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003601/0.8922, allocations: 3.169 MB / 0.5836 GB, free: 12.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/0.8935, allocations: 0.6003 MB / 0.5842 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007363/0.8943, allocations: 118.8 kB / 0.5843 GB, free: 11.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005046/0.8948, allocations: 0.5618 MB / 0.5849 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006313/0.9011, allocations: 2.174 MB / 0.587 GB, free: 9.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/0.9112, allocations: 5.885 MB / 0.5927 GB, free: 1.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009307/0.9206, allocations: 3.479 MB / 0.5961 GB, free: 13.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/0.9208, allocations: 36 kB / 0.5962 GB, free: 13.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03928/0.96, allocations: 9.523 MB / 0.6055 GB, free: 4.277 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.9602, allocations: 65.56 kB / 0.6055 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0216/0.9818, allocations: 3.854 MB / 0.6093 GB, free: 360 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02022/1.002, allocations: 2.242 MB / 0.6115 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008656/1.011, allocations: 1.372 MB / 0.6128 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/1.029, allocations: 7.262 MB / 0.6199 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00812/1.037, allocations: 423.3 kB / 0.6203 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/1.039, allocations: 374.3 kB / 0.6207 GB, free: 4.402 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (733): * Single equations (assignments): 724 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006707/1.046, allocations: 2.083 MB / 0.6227 GB, free: 2.309 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009715/1.047, allocations: 335.6 kB / 0.623 GB, free: 1.977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3255/1.372, allocations: 3.109 MB / 0.6261 GB, free: 152.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008517/1.381, allocations: 2.632 MB / 0.6286 GB, free: 152.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/1.381, allocations: 6.422 kB / 0.6286 GB, free: 152.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.291e-05/1.381, allocations: 11.52 kB / 0.6287 GB, free: 152.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.392, allocations: 3.853 MB / 0.6324 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/1.392, allocations: 6.406 kB / 0.6324 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/1.394, allocations: 253.2 kB / 0.6327 GB, free: 152.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/1.4, allocations: 1.025 MB / 0.6337 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004794/1.401, allocations: 43.05 kB / 0.6337 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008453/1.409, allocations: 5.096 MB / 0.6387 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001139/1.41, allocations: 1.493 MB / 0.6401 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.424, allocations: 5.53 MB / 0.6455 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.426, allocations: 410.3 kB / 0.6459 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.427, allocations: 31.81 kB / 0.646 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.43, allocations: 143.2 kB / 0.6461 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005661/1.431, allocations: 84.86 kB / 0.6462 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.431, allocations: 43.44 kB / 0.6462 GB, free: 145.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006142/1.437, allocations: 2.54 MB / 0.6487 GB, free: 144.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.437, allocations: 0 / 0.6487 GB, free: 144.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00751/1.445, allocations: 1.092 MB / 0.6498 GB, free: 144.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01491/1.46, allocations: 6.358 MB / 0.656 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01667/1.476, allocations: 5.757 MB / 0.6616 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.476, allocations: 0 / 0.6616 GB, free: 139.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007498/1.484, allocations: 2.209 MB / 0.6638 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/1.488, allocations: 400.7 kB / 0.6641 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1188/1.606, allocations: 126.3 MB / 0.7874 GB, free: 19.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006305/1.613, allocations: 3.329 MB / 0.7907 GB, free: 16.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008069/1.621, allocations: 1.868 MB / 0.7925 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004281/1.625, allocations: 1.855 MB / 0.7943 GB, free: 12.94 MB / 490.7 MB Notification: Performance of SimCode: time 1.512e-06/1.625, allocations: 0 / 0.7943 GB, free: 12.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4867/2.112, allocations: 78.77 MB / 0.8713 GB, free: 119.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/2.112, allocations: 217.8 kB / 0.8715 GB, free: 119 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.145/7.257, allocations: 0 / 0.8715 GB, free: 119 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat