Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.01179/0.0118, allocations: 105.1 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.001304/0.001304, allocations: 169.9 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.755/1.755, 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.2627/0.2627, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004686, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.0942, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.05948/0.1537, allocations: 38.04 MB / 410.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02808/0.1819, allocations: 9.372 MB / 419.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008859/0.1908, allocations: 191.4 kB / 419.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008765/0.1996, allocations: 1.968 MB / 421.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02745/0.2271, allocations: 5.618 MB / 427.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.2314, allocations: 0.5147 MB / 428 MB, free: 4.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007911/0.2394, allocations: 2.247 MB / 430.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3419/0.5814, allocations: 4.139 MB / 434.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.5853, allocations: 0.9751 MB / 435.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004873/0.5902, allocations: 1.343 MB / 436.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.5921, allocations: 153.4 kB / 436.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.5975, allocations: 0.8556 MB / 437.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004976/0.6025, allocations: 1.614 MB / 439.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.6059, allocations: 0.8962 MB / 440.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.6193, allocations: 6.033 MB / 446.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6194, allocations: 4.094 kB / 446.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6194, allocations: 0 / 446.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003452/0.6197, allocations: 0 / 446.2 MB, free: 11.3 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01731/0.6371, allocations: 4.374 MB / 450.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6371, allocations: 14.12 kB / 450.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003338/0.6405, allocations: 0.8389 MB / 451.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02348/0.664, allocations: 3.831 MB / 455.3 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008566/0.6726, allocations: 2.478 MB / 457.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.6731, allocations: 253.5 kB / 458 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00282/0.6759, allocations: 330 kB / 458.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/0.7098, allocations: 11.91 MB / 470.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/0.7101, allocations: 31.55 kB / 470.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/0.7124, allocations: 153.9 kB / 470.4 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007168/0.7196, allocations: 2.644 MB / 473.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/0.7554, allocations: 11.02 MB / 484.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09675/0.8522, allocations: 37.54 MB / 0.5094 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.867, allocations: 4.405 MB / 0.5137 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002037/0.8691, allocations: 1.312 MB / 0.515 GB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.107e-05/0.8692, allocations: 54.31 kB / 0.5151 GB, free: 3.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=244): time 7.955e-06/0.8693, allocations: 0 / 0.5151 GB, free: 3.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=265): time 0.07818/0.9474, allocations: 14.44 MB / 0.5292 GB, free: 5.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.9476, allocations: 81.36 kB / 0.5292 GB, free: 5.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008484/0.9561, allocations: 3.071 MB / 0.5322 GB, free: 2.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008116/0.9569, allocations: 57.7 kB / 0.5323 GB, free: 2.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003806/0.9607, allocations: 3.108 MB / 0.5353 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001945/0.9627, allocations: 0.9717 MB / 0.5363 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/0.9636, allocations: 116 kB / 0.5364 GB, free: 13.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006183/0.9643, allocations: 0.5623 MB / 0.5369 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01126/0.9755, allocations: 2.37 MB / 0.5392 GB, free: 10.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0154/0.991, allocations: 5.63 MB / 0.5447 GB, free: 3.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/1.006, allocations: 3.651 MB / 0.5483 GB, free: 260 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/1.006, allocations: 40 kB / 0.5483 GB, free: 220 kB / 410.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.04456/1.051, allocations: 8.715 MB / 0.5569 GB, free: 8.082 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/1.051, allocations: 54.81 kB / 0.5569 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003762/1.051, allocations: 116 kB / 0.557 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009844/1.061, allocations: 1.066 MB / 0.5581 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009214/1.071, allocations: 1.365 MB / 0.5594 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/1.076, allocations: 2.513 MB / 0.5619 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/1.082, allocations: 319.4 kB / 0.5622 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.084, allocations: 344 kB / 0.5625 GB, free: 2.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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 (741): * Single equations (assignments): 732 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008268/1.092, allocations: 2.364 MB / 0.5648 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009562/1.093, allocations: 299.9 kB / 0.5651 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.113, allocations: 5.084 MB / 0.57 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000134/1.113, allocations: 47.98 kB / 0.5701 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/1.114, allocations: 3.953 kB / 0.5701 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.114, allocations: 11.95 kB / 0.5701 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03914/1.153, allocations: 11.78 MB / 0.5816 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-05/1.153, allocations: 8 kB / 0.5816 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004066/1.157, allocations: 427.3 kB / 0.582 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006591/1.164, allocations: 0.9039 MB / 0.5829 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006961/1.164, allocations: 59.98 kB / 0.583 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/1.168, allocations: 2.299 MB / 0.5852 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/1.169, allocations: 14.02 kB / 0.5852 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/1.191, allocations: 8.202 MB / 0.5932 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.192, allocations: 349.1 kB / 0.5936 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.193, allocations: 51.98 kB / 0.5936 GB, free: 1.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/1.198, allocations: 139.8 kB / 0.5937 GB, free: 1.383 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/1.199, allocations: 157.6 kB / 0.5939 GB, free: 1.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007511/1.2, allocations: 83.48 kB / 0.594 GB, free: 1.148 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3263/1.526, allocations: 1.876 MB / 0.5958 GB, free: 120.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.81e-07/1.526, allocations: 0 / 0.5958 GB, free: 120.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008167/1.535, allocations: 1.051 MB / 0.5968 GB, free: 120.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0255/1.56, allocations: 10.79 MB / 0.6074 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0173/1.578, allocations: 6.218 MB / 0.6134 GB, free: 116.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.578, allocations: 0 / 0.6134 GB, free: 116.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009853/1.587, allocations: 2.609 MB / 0.616 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006232/1.594, allocations: 456.2 kB / 0.6164 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/1.695, allocations: 112.6 MB / 0.7264 GB, free: 20.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007992/1.703, allocations: 3.748 MB / 0.73 GB, free: 17.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009093/1.712, allocations: 2.144 MB / 0.7321 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005455/1.718, allocations: 2.064 MB / 0.7342 GB, free: 14.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.863e-06/1.718, allocations: 0 / 0.7342 GB, free: 14.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4898/2.208, allocations: 74.93 MB / 0.8073 GB, free: 157.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/2.208, allocations: 201.1 kB / 0.8075 GB, free: 157.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.581/7.789, allocations: 0 / 0.8075 GB, free: 157.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat