Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.01136/0.01136, allocations: 106.9 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.2.mo): time 0.001345/0.001345, allocations: 184.2 kB / 15.95 MB, free: 5.52 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.167/2.167, allocations: 194.6 MB / 211.3 MB, free: 10.93 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.2795/0.2795, allocations: 40.04 MB / 296.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 16 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1163, allocations: 54.87 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.4147/0.5311, allocations: 34.84 MB / 450.9 MB, free: 30.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02879/0.5599, allocations: 8.695 MB / 459.6 MB, free: 30.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008361/0.5684, allocations: 166.3 kB / 459.7 MB, free: 30.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00589/0.5743, allocations: 1.802 MB / 461.5 MB, free: 30.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01937/0.5937, allocations: 5.132 MB / 466.7 MB, free: 29.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.5971, allocations: 0.4907 MB / 467.1 MB, free: 29.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005714/0.6028, allocations: 2.316 MB / 469.5 MB, free: 29.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009076/0.612, allocations: 4.274 MB / 473.7 MB, free: 29.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.615, allocations: 1.037 MB / 474.8 MB, free: 29.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/0.6182, allocations: 1.418 MB / 476.2 MB, free: 28.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.6195, allocations: 163.2 kB / 476.4 MB, free: 28.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.6231, allocations: 0.8971 MB / 477.2 MB, free: 28.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.6259, allocations: 1.687 MB / 478.9 MB, free: 28.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.6279, allocations: 0.9348 MB / 479.9 MB, free: 28.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.6392, allocations: 6.29 MB / 486.2 MB, free: 28.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6392, allocations: 5 kB / 486.2 MB, free: 28.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.165e-06/0.6392, allocations: 0 / 486.2 MB, free: 28.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003307/0.6396, allocations: 0 / 486.2 MB, free: 28.02 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01759/0.6572, allocations: 4.519 MB / 490.7 MB, free: 25.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6572, allocations: 13.78 kB / 490.7 MB, free: 25.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003628/0.6609, allocations: 0.8732 MB / 491.6 MB, free: 25.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02421/0.6851, allocations: 3.856 MB / 495.4 MB, free: 23.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008679/0.6939, allocations: 2.521 MB / 497.9 MB, free: 22.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.6943, allocations: 272.2 kB / 498.2 MB, free: 22.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/0.6972, allocations: 355.8 kB / 498.6 MB, free: 22.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03864/0.7359, allocations: 12.59 MB / 0.4992 GB, free: 17.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002667/0.7362, allocations: 28.69 kB / 0.4992 GB, free: 17.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/0.7389, allocations: 162.3 kB / 0.4994 GB, free: 17.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007902/0.7468, allocations: 2.746 MB / 0.502 GB, free: 16.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03628/0.7832, allocations: 11.57 MB / 0.5133 GB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09963/0.8829, allocations: 40.14 MB / 0.5525 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01845/0.9014, allocations: 4.96 MB / 0.5574 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/0.9212, allocations: 6.532 MB / 0.5638 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.9213, allocations: 56.56 kB / 0.5638 GB, free: 496 kB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 7.173e-06/0.9213, allocations: 0 / 0.5638 GB, free: 496 kB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.07635/0.9977, allocations: 16.8 MB / 0.5802 GB, free: 15.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.9978, allocations: 77.41 kB / 0.5803 GB, free: 15.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009318/1.007, allocations: 3.289 MB / 0.5835 GB, free: 12.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008342/1.008, allocations: 53.7 kB / 0.5835 GB, free: 12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005673/1.014, allocations: 3.279 MB / 0.5867 GB, free: 8.711 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002402/1.016, allocations: 0.8924 MB / 0.5876 GB, free: 7.824 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.018, allocations: 118.9 kB / 0.5877 GB, free: 7.711 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001058/1.019, allocations: 0.5624 MB / 0.5883 GB, free: 7.141 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007772/1.027, allocations: 2.386 MB / 0.5906 GB, free: 4.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.037, allocations: 5.737 MB / 0.5962 GB, free: 13.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009807/1.047, allocations: 3.688 MB / 0.5998 GB, free: 9.656 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/1.047, allocations: 40 kB / 0.5999 GB, free: 9.617 MB / 474.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02978/1.077, allocations: 8.926 MB / 0.6086 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.077, allocations: 52 kB / 0.6086 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/1.077, allocations: 120 kB / 0.6087 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006927/1.084, allocations: 1.172 MB / 0.6099 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009075/1.093, allocations: 1.369 MB / 0.6112 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.104, allocations: 4.665 MB / 0.6158 GB, free: 9.137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/1.111, allocations: 323.8 kB / 0.6161 GB, free: 8.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.112, allocations: 350 kB / 0.6164 GB, free: 8.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (743): * Single equations (assignments): 735 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.007954/1.12, allocations: 2.416 MB / 0.6188 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008744/1.121, allocations: 300.1 kB / 0.6191 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.136, allocations: 4.443 MB / 0.6234 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001288/1.136, allocations: 47.98 kB / 0.6234 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.136, allocations: 0 / 0.6234 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.104e-05/1.136, allocations: 11.97 kB / 0.6235 GB, free: 1.227 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3589/1.495, allocations: 10.6 MB / 0.6338 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.705e-05/1.495, allocations: 6.875 kB / 0.6338 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/1.499, allocations: 388.4 kB / 0.6342 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/1.503, allocations: 0.6748 MB / 0.6348 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/1.504, allocations: 51.77 kB / 0.6349 GB, free: 152.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004018/1.508, allocations: 2.433 MB / 0.6373 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.508, allocations: 10.34 kB / 0.6373 GB, free: 150.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/1.525, allocations: 7.204 MB / 0.6443 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.526, allocations: 358.1 kB / 0.6447 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.528, allocations: 48 kB / 0.6447 GB, free: 147.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003139/1.531, allocations: 140.1 kB / 0.6448 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008797/1.532, allocations: 132.4 kB / 0.645 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/1.532, allocations: 68.03 kB / 0.645 GB, free: 147.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005768/1.538, allocations: 2.015 MB / 0.647 GB, free: 147 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.538, allocations: 0 / 0.647 GB, free: 147 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008197/1.546, allocations: 1.082 MB / 0.648 GB, free: 146.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],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 (191): * Single equations (assignments): 182 * 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.02104/1.567, allocations: 8.98 MB / 0.6568 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01617/1.583, allocations: 5.817 MB / 0.6625 GB, free: 140.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/1.583, allocations: 0 / 0.6625 GB, free: 140.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00717/1.59, allocations: 2.42 MB / 0.6649 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.594, allocations: 419.8 kB / 0.6653 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1032/1.698, allocations: 115.5 MB / 0.778 GB, free: 29.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007745/1.705, allocations: 3.83 MB / 0.7818 GB, free: 26.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009014/1.715, allocations: 2.055 MB / 0.7838 GB, free: 24.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005074/1.72, allocations: 2.12 MB / 0.7858 GB, free: 22.06 MB / 490.7 MB Notification: Performance of SimCode: time 1.944e-06/1.72, allocations: 0 / 0.7858 GB, free: 22.06 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5899/2.31, allocations: 76.46 MB / 0.8605 GB, free: 130.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/2.31, allocations: 228.6 kB / 0.8607 GB, free: 130 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.986/7.296, allocations: 0 / 0.8607 GB, free: 130 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat