Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004538, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 54.87 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.5093, allocations: 96.93 MB / 466.3 MB, free: 9.641 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5097, allocations: 83.97 kB / 466.4 MB, free: 9.559 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5318/1.042, allocations: 64.48 MB / 0.5184 GB, free: 54.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.042, allocations: 4 kB / 0.5184 GB, free: 54.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001887/1.042, allocations: 68 kB / 0.5185 GB, free: 54.06 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01361/1.055, allocations: 3.464 MB / 0.5219 GB, free: 50.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.056, allocations: 12.03 kB / 0.5219 GB, free: 50.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003243/1.059, allocations: 0.6721 MB / 0.5225 GB, free: 49.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01454/1.073, allocations: 2.031 MB / 0.5245 GB, free: 47.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005937/1.079, allocations: 1.947 MB / 0.5264 GB, free: 45.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/1.08, allocations: 275.3 kB / 0.5267 GB, free: 45.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/1.082, allocations: 367.8 kB / 0.527 GB, free: 45.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02964/1.111, allocations: 10.44 MB / 0.5372 GB, free: 33.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/1.111, allocations: 59.56 kB / 0.5373 GB, free: 33.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007689/1.112, allocations: 179.9 kB / 0.5375 GB, free: 33.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/1.114, allocations: 0.9822 MB / 0.5384 GB, free: 32.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/1.143, allocations: 9.008 MB / 0.5472 GB, free: 23.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06025/1.203, allocations: 43.34 MB / 0.5895 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01774/1.221, allocations: 4.013 MB / 0.5935 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/1.232, allocations: 5.127 MB / 0.5985 GB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/1.232, allocations: 47.5 kB / 0.5985 GB, free: 1.418 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.8e-06/1.232, allocations: 0 / 0.5985 GB, free: 1.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.1407/1.373, allocations: 26.87 MB / 0.6247 GB, free: 6.273 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/1.373, allocations: 149.8 kB / 0.6249 GB, free: 6.098 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/1.379, allocations: 2.815 MB / 0.6276 GB, free: 3.273 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005732/1.38, allocations: 57.7 kB / 0.6277 GB, free: 3.211 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/1.382, allocations: 2.57 MB / 0.6302 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.384, allocations: 0.7674 MB / 0.631 GB, free: 15.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005445/1.384, allocations: 112 kB / 0.6311 GB, free: 15.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004504/1.385, allocations: 0.5424 MB / 0.6316 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.391, allocations: 2.463 MB / 0.634 GB, free: 12.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/1.401, allocations: 5.64 MB / 0.6395 GB, free: 5.465 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009312/1.411, allocations: 3.669 MB / 0.6431 GB, free: 1.793 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/1.411, allocations: 32.28 kB / 0.6431 GB, free: 1.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.3582/1.769, allocations: 8.654 MB / 0.6516 GB, free: 126.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.112e-05/1.769, allocations: 60.27 kB / 0.6516 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/1.769, allocations: 113.2 kB / 0.6517 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004583/1.774, allocations: 1.046 MB / 0.6528 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/1.783, allocations: 1.314 MB / 0.654 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/1.791, allocations: 5.467 MB / 0.6594 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006216/1.797, allocations: 311.8 kB / 0.6597 GB, free: 124.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/1.798, allocations: 335.4 kB / 0.66 GB, free: 124.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (686): * Single equations (assignments): 679 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005144/1.803, allocations: 1.829 MB / 0.6618 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008502/1.804, allocations: 287.6 kB / 0.6621 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.816, allocations: 4.377 MB / 0.6663 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/1.816, allocations: 26.12 kB / 0.6664 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/1.816, allocations: 6.188 kB / 0.6664 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-05/1.816, allocations: 18.92 kB / 0.6664 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.841, allocations: 9.344 MB / 0.6755 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.841, allocations: 3.875 kB / 0.6755 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003647/1.845, allocations: 353.2 kB / 0.6758 GB, free: 120.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004135/1.849, allocations: 0.8728 MB / 0.6767 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004413/1.849, allocations: 37.94 kB / 0.6767 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006443/1.856, allocations: 4.835 MB / 0.6815 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.856, allocations: 0 / 0.6815 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.873, allocations: 7.683 MB / 0.689 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.875, allocations: 0.7279 MB / 0.6897 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00074/1.876, allocations: 30.14 kB / 0.6897 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.878, allocations: 117.3 kB / 0.6898 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005102/1.879, allocations: 117.8 kB / 0.6899 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.879, allocations: 51.31 kB / 0.69 GB, free: 113.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004268/1.884, allocations: 1.944 MB / 0.6919 GB, free: 112.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.884, allocations: 3.375 kB / 0.6919 GB, free: 112.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006605/1.89, allocations: 0.9332 MB / 0.6928 GB, free: 112.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (171): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01819/1.908, allocations: 8.515 MB / 0.7011 GB, free: 106 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01487/1.923, allocations: 6.401 MB / 0.7073 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.923, allocations: 2.656 kB / 0.7073 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00683/1.93, allocations: 2.687 MB / 0.71 GB, free: 97.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.933, allocations: 282.1 kB / 0.7102 GB, free: 97.63 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09822/2.031, allocations: 109.4 MB / 0.8171 GB, free: 5.965 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005611/2.037, allocations: 2.942 MB / 0.8199 GB, free: 3.629 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004604/2.042, allocations: 1.601 MB / 0.8215 GB, free: 2.027 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/2.042, allocations: 0 / 0.8215 GB, free: 2.027 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.747/6.789, allocations: 133.6 MB / 0.952 GB, free: 44.57 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat