Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Universal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.573/2.573, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.205e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4729, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.6538, allocations: 96.25 MB / 454.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6541, allocations: 75.95 kB / 454.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7327/1.387, allocations: 92.56 MB / 0.5342 GB, free: 33.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.387, allocations: 4 kB / 0.5342 GB, free: 33.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002105/1.387, allocations: 87.98 kB / 0.5343 GB, free: 33.32 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.02313/1.41, allocations: 4.232 MB / 0.5384 GB, free: 29.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/1.41, allocations: 8.031 kB / 0.5384 GB, free: 29.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03926/1.45, allocations: 3.613 MB / 0.5419 GB, free: 25.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02483/1.475, allocations: 4.459 MB / 0.5463 GB, free: 20.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005269/1.475, allocations: 144.3 kB / 0.5464 GB, free: 20.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004031/1.479, allocations: 264 kB / 0.5467 GB, free: 20.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02859/1.508, allocations: 8.175 MB / 0.5547 GB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04068/1.549, allocations: 10.71 MB / 0.5651 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/1.549, allocations: 35.73 kB / 0.5652 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002077/1.551, allocations: 16 kB / 0.5652 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003083/1.554, allocations: 1.337 MB / 0.5665 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1251/1.679, allocations: 38.77 MB / 0.6043 GB, free: 8.125 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.69, allocations: 5.09 MB / 0.6093 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006612/1.696, allocations: 2.925 MB / 0.6122 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002941/1.699, allocations: 1.891 MB / 0.614 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.862e-05/1.7, allocations: 52.56 kB / 0.6141 GB, free: 13.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=264): time 7.814e-06/1.7, allocations: 0 / 0.6141 GB, free: 13.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=285): time 0.3893/2.089, allocations: 16.71 MB / 0.6304 GB, free: 109.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/2.089, allocations: 82.66 kB / 0.6305 GB, free: 109.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006031/2.095, allocations: 2.442 MB / 0.6329 GB, free: 109.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007372/2.096, allocations: 25.7 kB / 0.6329 GB, free: 109.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/2.098, allocations: 3.081 MB / 0.6359 GB, free: 108.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/2.1, allocations: 1.006 MB / 0.6369 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007777/2.101, allocations: 0 / 0.6369 GB, free: 107.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005425/2.102, allocations: 0.5851 MB / 0.6374 GB, free: 107.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00633/2.108, allocations: 2.72 MB / 0.6401 GB, free: 107.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009188/2.117, allocations: 6.095 MB / 0.6461 GB, free: 102.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009314/2.127, allocations: 4.097 MB / 0.6501 GB, free: 102.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/2.127, allocations: 33.22 kB / 0.6501 GB, free: 102.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.0278/2.155, allocations: 9.372 MB / 0.6592 GB, free: 102.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/2.155, allocations: 55.38 kB / 0.6593 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/2.155, allocations: 116.7 kB / 0.6594 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006543/2.162, allocations: 1.394 MB / 0.6608 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009718/2.171, allocations: 1.465 MB / 0.6622 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/2.186, allocations: 6.802 MB / 0.6688 GB, free: 98.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007683/2.194, allocations: 302.4 kB / 0.6691 GB, free: 98.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/2.195, allocations: 363.9 kB / 0.6695 GB, free: 98.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (761): * Single equations (assignments): 754 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002668/2.198, allocations: 414.5 kB / 0.6699 GB, free: 98.25 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01744/2.216, allocations: 5.778 MB / 0.6755 GB, free: 96.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.217, allocations: 297.6 kB / 0.6758 GB, free: 96.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/2.236, allocations: 6.405 MB / 0.682 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001324/2.237, allocations: 55.8 kB / 0.6821 GB, free: 94.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/2.237, allocations: 7.578 kB / 0.6821 GB, free: 94.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.74e-05/2.237, allocations: 11.11 kB / 0.6821 GB, free: 94.13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0366/2.273, allocations: 12.8 MB / 0.6946 GB, free: 86.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.619e-05/2.273, allocations: 8 kB / 0.6946 GB, free: 86.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004314/2.278, allocations: 457.3 kB / 0.6951 GB, free: 85.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006073/2.284, allocations: 1.206 MB / 0.6962 GB, free: 84.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007316/2.285, allocations: 24.75 kB / 0.6963 GB, free: 84.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/2.297, allocations: 6.159 MB / 0.7023 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/2.297, allocations: 11.94 kB / 0.7023 GB, free: 79.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/2.32, allocations: 10.27 MB / 0.7123 GB, free: 70.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/2.324, allocations: 0.8129 MB / 0.7131 GB, free: 69.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001314/2.325, allocations: 13.22 kB / 0.7131 GB, free: 69.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00388/2.329, allocations: 168 kB / 0.7133 GB, free: 69.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/2.33, allocations: 171.8 kB / 0.7135 GB, free: 69.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003388/2.33, allocations: 75.38 kB / 0.7135 GB, free: 69.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003935/2.334, allocations: 1.598 MB / 0.7151 GB, free: 67.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.71e-07/2.334, allocations: 4 kB / 0.7151 GB, free: 67.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007773/2.342, allocations: 0.9855 MB / 0.7161 GB, free: 66.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 213 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02441/2.367, allocations: 12.77 MB / 0.7285 GB, free: 55.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01465/2.381, allocations: 6.65 MB / 0.735 GB, free: 49.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/2.381, allocations: 0 / 0.735 GB, free: 49.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005853/2.387, allocations: 2.673 MB / 0.7376 GB, free: 46.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/2.39, allocations: 241.1 kB / 0.7379 GB, free: 46.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0354/2.425, allocations: 11.46 MB / 0.749 GB, free: 35.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008157/2.434, allocations: 3.683 MB / 0.7526 GB, free: 31.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005809/2.44, allocations: 2.132 MB / 0.7547 GB, free: 29.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.964e-06/2.44, allocations: 0 / 0.7547 GB, free: 29.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.527/6.967, allocations: 105.6 MB / 0.8579 GB, free: 113.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat