Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01064/0.01064, allocations: 109.4 kB / 15.06 MB, free: 5.555 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.00113/0.00113, allocations: 169.2 kB / 15.93 MB, free: 5.527 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.618/1.618, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.2535/0.2535, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006576/0.0006579, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09185, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.06093/0.1528, allocations: 41.1 MB / 413.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02601/0.1789, allocations: 9.985 MB / 423.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007658/0.1866, allocations: 203.6 kB / 423.6 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007249/0.1939, allocations: 2.069 MB / 425.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02177/0.2158, allocations: 5.875 MB / 431.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.2194, allocations: 0.5889 MB / 432.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.2928/0.5122, allocations: 2.096 MB / 434.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009908/0.5222, allocations: 4.598 MB / 438.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.5252, allocations: 0.9964 MB / 439.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.5286, allocations: 1.303 MB / 441.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.5298, allocations: 141.9 kB / 441.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.5332, allocations: 0.8726 MB / 442.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003012/0.5362, allocations: 1.551 MB / 443.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.538, allocations: 0.8409 MB / 444.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008568/0.5467, allocations: 5.578 MB / 450.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5467, allocations: 0 / 450.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5467, allocations: 0 / 450.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002543/0.547, allocations: 0 / 450.1 MB, free: 10.01 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01235/0.5594, allocations: 3.955 MB / 454 MB, free: 7.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.5594, allocations: 11.09 kB / 454.1 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002643/0.5621, allocations: 0.7483 MB / 454.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.576, allocations: 2.247 MB / 457.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006973/0.583, allocations: 2.417 MB / 459.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.5833, allocations: 245.2 kB / 459.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.5855, allocations: 421.8 kB / 460.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02768/0.6132, allocations: 10.23 MB / 470.4 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.6135, allocations: 44.59 kB / 470.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/0.6148, allocations: 156.8 kB / 470.6 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004546/0.6193, allocations: 1.906 MB / 472.5 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02699/0.6463, allocations: 8.519 MB / 481 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07448/0.7209, allocations: 39.8 MB / 0.5086 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.7367, allocations: 3.548 MB / 0.512 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/0.7555, allocations: 7.51 MB / 0.5194 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.7556, allocations: 50.84 kB / 0.5194 GB, free: 14.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 6.232e-06/0.7556, allocations: 0 / 0.5194 GB, free: 14.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.05206/0.8077, allocations: 12.95 MB / 0.5321 GB, free: 1.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001721/0.8095, allocations: 1.637 MB / 0.5337 GB, free: 15.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/0.8217, allocations: 4.061 MB / 0.5376 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.8223, allocations: 45.7 kB / 0.5377 GB, free: 11.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004177/0.8265, allocations: 3.166 MB / 0.5408 GB, free: 8.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.8278, allocations: 0.6034 MB / 0.5414 GB, free: 7.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000772/0.8286, allocations: 116 kB / 0.5415 GB, free: 7.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005532/0.8291, allocations: 0.554 MB / 0.542 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00627/0.8354, allocations: 2.143 MB / 0.5441 GB, free: 5.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009951/0.8454, allocations: 5.85 MB / 0.5498 GB, free: 13.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009174/0.8547, allocations: 3.451 MB / 0.5532 GB, free: 10.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/0.8548, allocations: 41.86 kB / 0.5532 GB, free: 10.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02756/0.8824, allocations: 8.609 MB / 0.5616 GB, free: 2.074 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.8826, allocations: 60 kB / 0.5617 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01038/0.893, allocations: 2.924 MB / 0.5645 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006466/0.8995, allocations: 1.264 MB / 0.5658 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00853/0.9081, allocations: 1.365 MB / 0.5671 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009728/0.9179, allocations: 5.108 MB / 0.5721 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/0.9252, allocations: 422.8 kB / 0.5725 GB, free: 6.641 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/0.9263, allocations: 372 kB / 0.5729 GB, free: 6.277 MB / 442.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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.006141/0.9324, allocations: 2.093 MB / 0.5749 GB, free: 4.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009427/0.9334, allocations: 327.7 kB / 0.5752 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/0.9444, allocations: 3.11 MB / 0.5782 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009315/0.9538, allocations: 2.634 MB / 0.5808 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/0.9539, allocations: 4 kB / 0.5808 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.179e-05/0.9539, allocations: 3.984 kB / 0.5808 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.9644, allocations: 3.877 MB / 0.5846 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/0.9645, allocations: 0 / 0.5846 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/0.9671, allocations: 247.7 kB / 0.5848 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005869/0.973, allocations: 1.035 MB / 0.5859 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004636/0.9735, allocations: 35.97 kB / 0.5859 GB, free: 8.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00965/0.9831, allocations: 5.104 MB / 0.5909 GB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001452/0.9846, allocations: 1.491 MB / 0.5923 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2949/1.28, allocations: 5.517 MB / 0.5977 GB, free: 164.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.281, allocations: 408.2 kB / 0.5981 GB, free: 164.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008608/1.282, allocations: 32.44 kB / 0.5981 GB, free: 164.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.285, allocations: 143.7 kB / 0.5983 GB, free: 164.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005003/1.285, allocations: 84.72 kB / 0.5984 GB, free: 164.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/1.285, allocations: 43.12 kB / 0.5984 GB, free: 164.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007222/1.293, allocations: 2.539 MB / 0.6009 GB, free: 164.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.293, allocations: 0 / 0.6009 GB, free: 164.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008309/1.301, allocations: 1.077 MB / 0.6019 GB, free: 164 MB / 458.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.01666/1.318, allocations: 6.348 MB / 0.6081 GB, free: 161.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01515/1.333, allocations: 5.699 MB / 0.6137 GB, free: 159.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.333, allocations: 1.594 kB / 0.6137 GB, free: 159.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007094/1.34, allocations: 2.206 MB / 0.6159 GB, free: 158.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/1.344, allocations: 406.7 kB / 0.6162 GB, free: 158.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/1.462, allocations: 125.3 MB / 0.7386 GB, free: 37.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009159/1.472, allocations: 3.336 MB / 0.7418 GB, free: 33.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01074/1.482, allocations: 1.866 MB / 0.7436 GB, free: 32.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004735/1.487, allocations: 1.854 MB / 0.7455 GB, free: 30.24 MB / 458.7 MB Notification: Performance of SimCode: time 1.032e-06/1.487, allocations: 0 / 0.7455 GB, free: 30.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4389/1.926, allocations: 76.09 MB / 0.8198 GB, free: 140.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.926, allocations: 211.4 kB / 0.82 GB, free: 140 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.075/7.002, allocations: 0 / 0.82 GB, free: 140 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat