Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotion2",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.01176/0.01177, allocations: 106 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.001338/0.001338, allocations: 166.4 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.908/1.908, allocations: 170.9 MB / 187.6 MB, free: 0.8516 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.2598/0.2598, allocations: 38.1 MB / 265.1 MB, free: 3.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006415, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1114, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.4175/0.5289, allocations: 61.07 MB / 433.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04019/0.5692, allocations: 14.43 MB / 447.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01681/0.5861, allocations: 310.8 kB / 448.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.599, allocations: 3.118 MB / 451.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03629/0.6354, allocations: 8.804 MB / 460 MB, free: 5.598 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006228/0.6416, allocations: 0.9264 MB / 460.9 MB, free: 5.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0518/0.6935, allocations: 18.33 MB / 479.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01766/0.7112, allocations: 6.282 MB / 485.6 MB, free: 9.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.7169, allocations: 1.506 MB / 487.1 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006568/0.7235, allocations: 2.059 MB / 489.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001882/0.7255, allocations: 212 kB / 489.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.7308, allocations: 1.018 MB / 490.4 MB, free: 5.488 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005594/0.7365, allocations: 2.29 MB / 492.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003389/0.7399, allocations: 1.195 MB / 493.8 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.7583, allocations: 8.176 MB / 0.4902 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7584, allocations: 0 / 0.4902 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.7584, allocations: 4 kB / 0.4902 GB, free: 11.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003704/0.7588, allocations: 0 / 0.4902 GB, free: 11.87 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.03441/0.7932, allocations: 6.501 MB / 0.4966 GB, free: 5.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.7933, allocations: 8.031 kB / 0.4966 GB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003613/0.7969, allocations: 0.9576 MB / 0.4975 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3469/1.144, allocations: 14.76 MB / 0.512 GB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/1.161, allocations: 4.989 MB / 0.5168 GB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005398/1.162, allocations: 332.6 kB / 0.5171 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002836/1.165, allocations: 466.7 kB / 0.5176 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04253/1.207, allocations: 13.69 MB / 0.531 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003341/1.208, allocations: 67.36 kB / 0.531 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/1.209, allocations: 212.1 kB / 0.5312 GB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006327/1.216, allocations: 2.411 MB / 0.5336 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04006/1.256, allocations: 11.72 MB / 0.545 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4064/1.662, allocations: 53.73 MB / 0.5975 GB, free: 158.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/1.689, allocations: 5.818 MB / 0.6032 GB, free: 157.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.69, allocations: 0.6838 MB / 0.6039 GB, free: 157.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/1.69, allocations: 63.16 kB / 0.6039 GB, free: 157.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=254): time 9.928e-06/1.69, allocations: 6.141 kB / 0.6039 GB, free: 157.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=324): time 0.1746/1.864, allocations: 36.77 MB / 0.6398 GB, free: 144.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.865, allocations: 261.4 kB / 0.6401 GB, free: 144.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/1.877, allocations: 5.656 MB / 0.6456 GB, free: 138.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.878, allocations: 73.7 kB / 0.6457 GB, free: 138.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003974/1.882, allocations: 4.025 MB / 0.6496 GB, free: 134.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002358/1.884, allocations: 1.205 MB / 0.6508 GB, free: 133.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.885, allocations: 152 kB / 0.6509 GB, free: 133.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006555/1.886, allocations: 0.6285 MB / 0.6515 GB, free: 132.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009304/1.895, allocations: 3.438 MB / 0.6549 GB, free: 129.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/1.907, allocations: 7.648 MB / 0.6624 GB, free: 119.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.919, allocations: 5.035 MB / 0.6673 GB, free: 114.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/1.919, allocations: 47.98 kB / 0.6673 GB, free: 114.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03706/1.956, allocations: 12.87 MB / 0.6799 GB, free: 101.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/1.956, allocations: 68 kB / 0.68 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/1.956, allocations: 152.1 kB / 0.6801 GB, free: 101.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00967/1.966, allocations: 2.267 MB / 0.6823 GB, free: 99.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/1.978, allocations: 1.769 MB / 0.684 GB, free: 97.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03068/2.008, allocations: 15.76 MB / 0.6994 GB, free: 81.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009126/2.018, allocations: 459.2 kB / 0.6999 GB, free: 81.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/2.019, allocations: 457 kB / 0.7003 GB, free: 80.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 669 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (928): * Single equations (assignments): 923 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007334/2.027, allocations: 2.813 MB / 0.703 GB, free: 77.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00141/2.028, allocations: 0.4936 MB / 0.7035 GB, free: 77.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02175/2.05, allocations: 7.412 MB / 0.7108 GB, free: 69.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/2.05, allocations: 36 kB / 0.7108 GB, free: 69.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/2.05, allocations: 12 kB / 0.7108 GB, free: 69.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.484e-05/2.05, allocations: 15.94 kB / 0.7108 GB, free: 69.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04643/2.097, allocations: 16.66 MB / 0.7271 GB, free: 53.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/2.097, allocations: 11.06 kB / 0.7271 GB, free: 53.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005017/2.102, allocations: 0.5078 MB / 0.7276 GB, free: 52.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008869/2.111, allocations: 2.011 MB / 0.7296 GB, free: 50.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008129/2.112, allocations: 68.72 kB / 0.7296 GB, free: 50.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03034/2.142, allocations: 14.24 MB / 0.7435 GB, free: 35.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/2.142, allocations: 11.94 kB / 0.7435 GB, free: 35.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03168/2.174, allocations: 12.69 MB / 0.7559 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/2.178, allocations: 1.104 MB / 0.757 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001744/2.18, allocations: 56 kB / 0.7571 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005364/2.185, allocations: 225 kB / 0.7573 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/2.187, allocations: 213.5 kB / 0.7575 GB, free: 21.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/2.187, allocations: 84.94 kB / 0.7576 GB, free: 21.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00806/2.195, allocations: 3.637 MB / 0.7611 GB, free: 17.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.445e-06/2.195, allocations: 0 / 0.7611 GB, free: 17.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009447/2.205, allocations: 1.541 MB / 0.7626 GB, free: 16.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (263): * Single equations (assignments): 258 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3366/2.541, allocations: 14.68 MB / 0.777 GB, free: 150.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0219/2.563, allocations: 8.55 MB / 0.7853 GB, free: 147.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/2.563, allocations: 3.938 kB / 0.7853 GB, free: 147.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01392/2.577, allocations: 4.109 MB / 0.7893 GB, free: 146.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/2.583, allocations: 0.6225 MB / 0.7899 GB, free: 146 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4757/3.059, allocations: 157.4 MB / 0.9437 GB, free: 151.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01118/3.07, allocations: 4.532 MB / 0.9481 GB, free: 150.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01276/3.083, allocations: 2.513 MB / 0.9506 GB, free: 150.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00704/3.09, allocations: 2.815 MB / 0.9533 GB, free: 150.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.014e-06/3.09, allocations: 0 / 0.9533 GB, free: 150.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2572/3.347, allocations: 122.1 MB / 1.073 GB, free: 44.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/3.348, allocations: 197.7 kB / 1.073 GB, free: 43.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/10.5, allocations: 0 / 1.073 GB, free: 43.85 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat