Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01648/0.01648, allocations: 106.6 kB / 15.06 MB, free: 5.949 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.002051/0.002052, allocations: 186.2 kB / 15.95 MB, free: 5.902 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.007/2.007, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2642/0.2642, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004753, allocations: 12 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 54.87 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3707/0.4853, allocations: 38.06 MB / 454.1 MB, free: 30.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02432/0.5097, allocations: 9.395 MB / 463.5 MB, free: 30.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00831/0.518, allocations: 188.5 kB / 463.7 MB, free: 30.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006683/0.5248, allocations: 1.974 MB / 465.6 MB, free: 29.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02253/0.5473, allocations: 5.615 MB / 471.2 MB, free: 29.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.5514, allocations: 0.4917 MB / 471.7 MB, free: 29.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007237/0.5587, allocations: 2.249 MB / 474 MB, free: 29.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.5693, allocations: 4.15 MB / 478.1 MB, free: 28.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.5723, allocations: 0.973 MB / 479.1 MB, free: 28.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.5758, allocations: 1.341 MB / 480.4 MB, free: 28.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.5771, allocations: 154.6 kB / 480.6 MB, free: 28.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.5806, allocations: 0.8647 MB / 481.5 MB, free: 28.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003476/0.5842, allocations: 1.616 MB / 483.1 MB, free: 28.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.5864, allocations: 0.893 MB / 484 MB, free: 28.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.6009, allocations: 6.033 MB / 490 MB, free: 27.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.601, allocations: 0 / 490 MB, free: 27.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.601, allocations: 0 / 490 MB, free: 27.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003204/0.6013, allocations: 0 / 490 MB, free: 27.67 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02082/0.6222, allocations: 4.379 MB / 494.4 MB, free: 25.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6223, allocations: 13.56 kB / 494.4 MB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003648/0.6259, allocations: 0.8335 MB / 495.2 MB, free: 24.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02542/0.6514, allocations: 3.831 MB / 499.1 MB, free: 23.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008518/0.6599, allocations: 2.481 MB / 0.4898 GB, free: 22.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/0.6604, allocations: 253.4 kB / 0.49 GB, free: 22.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.6629, allocations: 322.9 kB / 0.4903 GB, free: 22.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/0.6959, allocations: 11.92 MB / 0.502 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.6962, allocations: 27.16 kB / 0.502 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/0.6983, allocations: 152.5 kB / 0.5021 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007308/0.7056, allocations: 2.645 MB / 0.5047 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/0.7366, allocations: 11.02 MB / 0.5155 GB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0932/0.8298, allocations: 37.54 MB / 0.5522 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.8444, allocations: 4.401 MB / 0.5565 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/0.8464, allocations: 1.317 MB / 0.5577 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.193e-05/0.8465, allocations: 60.5 kB / 0.5578 GB, free: 7.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.434e-06/0.8466, allocations: 0 / 0.5578 GB, free: 7.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.07937/0.9259, allocations: 14.45 MB / 0.5719 GB, free: 8.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.9261, allocations: 73.41 kB / 0.572 GB, free: 8.707 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007732/0.9338, allocations: 3.07 MB / 0.575 GB, free: 5.617 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006754/0.9346, allocations: 60.36 kB / 0.575 GB, free: 5.555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003584/0.9382, allocations: 3.096 MB / 0.5781 GB, free: 2.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/0.9402, allocations: 0.9844 MB / 0.579 GB, free: 1.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008124/0.9411, allocations: 116 kB / 0.5791 GB, free: 1.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007253/0.9418, allocations: 0.5662 MB / 0.5797 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007467/0.9493, allocations: 2.367 MB / 0.582 GB, free: 14.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/0.9603, allocations: 5.628 MB / 0.5875 GB, free: 7.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009817/0.9702, allocations: 3.653 MB / 0.5911 GB, free: 3.523 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/0.9704, allocations: 36 kB / 0.5911 GB, free: 3.488 MB / 458.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02934/0.9997, allocations: 8.724 MB / 0.5996 GB, free: 10.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.9999, allocations: 52 kB / 0.5997 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/1, allocations: 116.1 kB / 0.5998 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00705/1.007, allocations: 1.064 MB / 0.6008 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009248/1.017, allocations: 1.365 MB / 0.6021 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/1.021, allocations: 2.501 MB / 0.6046 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006459/1.028, allocations: 318.5 kB / 0.6049 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/1.03, allocations: 348 kB / 0.6052 GB, free: 4.852 MB / 474.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.007696/1.037, allocations: 2.359 MB / 0.6075 GB, free: 2.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008058/1.038, allocations: 308 kB / 0.6078 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/1.058, allocations: 5.082 MB / 0.6128 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001407/1.058, allocations: 47.98 kB / 0.6128 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/1.059, allocations: 0 / 0.6128 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.466e-05/1.059, allocations: 7.969 kB / 0.6128 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04113/1.1, allocations: 11.76 MB / 0.6243 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/1.1, allocations: 14.03 kB / 0.6243 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004158/1.104, allocations: 427.3 kB / 0.6247 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3303/1.434, allocations: 0.9044 MB / 0.6256 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007007/1.435, allocations: 59.66 kB / 0.6257 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00354/1.439, allocations: 2.304 MB / 0.6279 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.439, allocations: 9.594 kB / 0.6279 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02017/1.459, allocations: 8.202 MB / 0.6359 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.46, allocations: 348.8 kB / 0.6363 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.461, allocations: 51.09 kB / 0.6363 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.464, allocations: 140.6 kB / 0.6365 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/1.464, allocations: 157.1 kB / 0.6366 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/1.465, allocations: 83.98 kB / 0.6367 GB, free: 148.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004627/1.469, allocations: 1.883 MB / 0.6385 GB, free: 148.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.469, allocations: 0 / 0.6385 GB, free: 148.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007541/1.477, allocations: 1.054 MB / 0.6396 GB, free: 148 MB / 490.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.02249/1.499, allocations: 10.78 MB / 0.6501 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01756/1.517, allocations: 6.215 MB / 0.6562 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.517, allocations: 1.906 kB / 0.6562 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008238/1.525, allocations: 2.595 MB / 0.6587 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/1.53, allocations: 472.3 kB / 0.6591 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1026/1.632, allocations: 112.6 MB / 0.7691 GB, free: 36.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008078/1.641, allocations: 3.75 MB / 0.7728 GB, free: 33.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009197/1.65, allocations: 2.146 MB / 0.7749 GB, free: 32.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005145/1.655, allocations: 2.062 MB / 0.7769 GB, free: 30.29 MB / 490.7 MB Notification: Performance of SimCode: time 2.574e-06/1.655, allocations: 0 / 0.7769 GB, free: 30.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5044/2.159, allocations: 74.93 MB / 0.8501 GB, free: 141.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/2.16, allocations: 201.8 kB / 0.8503 GB, free: 141.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.203/7.362, allocations: 0 / 0.8503 GB, free: 141.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat