Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.00052, allocations: 11.94 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3025, allocations: 44.5 MB / 308.6 MB, free: 12.56 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.4589, allocations: 85.13 MB / 393.7 MB, free: 7.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.4592, allocations: 87.95 kB / 393.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.558/1.017, allocations: 56.61 MB / 450.4 MB, free: 74.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.017, allocations: 4 kB / 450.4 MB, free: 74.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.618e-05/1.017, allocations: 47.98 kB / 450.4 MB, free: 74.03 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01634/1.034, allocations: 3.024 MB / 453.5 MB, free: 70.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.034, allocations: 16.02 kB / 453.5 MB, free: 70.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001798/1.036, allocations: 0.4951 MB / 454 MB, free: 70.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/1.052, allocations: 2.048 MB / 456 MB, free: 68.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/1.066, allocations: 3.611 MB / 459.6 MB, free: 64.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/1.066, allocations: 184.8 kB / 459.8 MB, free: 64.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/1.067, allocations: 247.8 kB / 460.1 MB, free: 64.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/1.086, allocations: 6.903 MB / 467 MB, free: 56.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000179/1.086, allocations: 39.59 kB / 467 MB, free: 56.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001296/1.087, allocations: 127.9 kB / 467.1 MB, free: 56.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001743/1.089, allocations: 0.6916 MB / 467.8 MB, free: 55.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01737/1.107, allocations: 5.981 MB / 473.8 MB, free: 49.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08526/1.192, allocations: 32.29 MB / 0.4942 GB, free: 16.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.207, allocations: 2.524 MB / 0.4967 GB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/1.218, allocations: 3.549 MB / 0.5002 GB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.218, allocations: 46.94 kB / 0.5002 GB, free: 9.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=105): time 5.09e-06/1.218, allocations: 0 / 0.5002 GB, free: 9.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=118): time 0.0506/1.269, allocations: 10.35 MB / 0.5103 GB, free: 15.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00286/1.272, allocations: 1.592 MB / 0.5119 GB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008588/1.28, allocations: 2.451 MB / 0.5143 GB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.281, allocations: 45.62 kB / 0.5143 GB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002621/1.283, allocations: 2.056 MB / 0.5163 GB, free: 8.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.284, allocations: 493.9 kB / 0.5168 GB, free: 8.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007059/1.285, allocations: 84 kB / 0.5169 GB, free: 8.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005159/1.286, allocations: 0.492 MB / 0.5173 GB, free: 7.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005281/1.291, allocations: 1.609 MB / 0.5189 GB, free: 6.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008301/1.299, allocations: 4.361 MB / 0.5232 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007327/1.307, allocations: 2.602 MB / 0.5257 GB, free: 13.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/1.307, allocations: 28 kB / 0.5257 GB, free: 13.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02605/1.333, allocations: 6.973 MB / 0.5325 GB, free: 6.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/1.333, allocations: 51.98 kB / 0.5326 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01169/1.345, allocations: 2.503 MB / 0.535 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.355, allocations: 1.497 MB / 0.5365 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006471/1.361, allocations: 0.9981 MB / 0.5375 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.38, allocations: 7.512 MB / 0.5448 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006063/1.386, allocations: 359.6 kB / 0.5452 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.387, allocations: 280 kB / 0.5454 GB, free: 9.434 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * Array equations: 5 * 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): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004449/1.392, allocations: 1.413 MB / 0.5468 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.393, allocations: 229 kB / 0.547 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.405, allocations: 2.802 MB / 0.5498 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01151/1.417, allocations: 2.472 MB / 0.5522 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.417, allocations: 4 kB / 0.5522 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/1.417, allocations: 7.969 kB / 0.5522 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3071/1.724, allocations: 6.715 MB / 0.5587 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.724, allocations: 7.5 kB / 0.5587 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.726, allocations: 168.6 kB / 0.5589 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008787/1.735, allocations: 1.433 MB / 0.5603 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003571/1.735, allocations: 30.12 kB / 0.5603 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/1.752, allocations: 7.658 MB / 0.5678 GB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001311/1.753, allocations: 1.457 MB / 0.5692 GB, free: 105.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.768, allocations: 4.816 MB / 0.5739 GB, free: 105.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009868/1.769, allocations: 306 kB / 0.5742 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008641/1.77, allocations: 24.7 kB / 0.5743 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.773, allocations: 129.5 kB / 0.5744 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/1.773, allocations: 78.72 kB / 0.5744 GB, free: 105.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.774, allocations: 34.92 kB / 0.5745 GB, free: 105.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004834/1.778, allocations: 1.704 MB / 0.5761 GB, free: 104.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.778, allocations: 0 / 0.5761 GB, free: 104.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005711/1.784, allocations: 0.7585 MB / 0.5769 GB, free: 104.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[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 (77): * Single equations (assignments): 71 * Array equations: 3 * 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): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01566/1.8, allocations: 5.645 MB / 0.5824 GB, free: 102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/1.812, allocations: 4.27 MB / 0.5866 GB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.812, allocations: 0 / 0.5866 GB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005619/1.817, allocations: 1.697 MB / 0.5882 GB, free: 99.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.82, allocations: 237.8 kB / 0.5885 GB, free: 99.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07501/1.895, allocations: 90.59 MB / 0.6769 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004785/1.9, allocations: 2.317 MB / 0.6792 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.006535/1.906, allocations: 1.387 MB / 0.6805 GB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002918/1.909, allocations: 1.087 MB / 0.6816 GB, free: 7.805 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/1.909, allocations: 0 / 0.6816 GB, free: 7.805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4375/2.347, allocations: 54.19 MB / 0.7345 GB, free: 121.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/2.347, allocations: 227.2 kB / 0.7347 GB, free: 121.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.444/6.792, allocations: 4 kB / 0.7347 GB, free: 121.1 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat does not exist to compare? outputFormat=mat