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/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.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.224/2.224, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.679e-05/2.689e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.346, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.5183, allocations: 96.18 MB / 454.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5187, allocations: 75.95 kB / 454.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5457/1.064, allocations: 62.81 MB / 0.5051 GB, free: 64.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.064, allocations: 0 / 0.5051 GB, free: 64.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001685/1.065, allocations: 67.94 kB / 0.5051 GB, free: 63.95 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.01288/1.078, allocations: 3.373 MB / 0.5084 GB, free: 60.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.127e-05/1.078, allocations: 8.031 kB / 0.5084 GB, free: 60.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/1.092, allocations: 2.019 MB / 0.5104 GB, free: 58.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006324/1.098, allocations: 1.94 MB / 0.5123 GB, free: 56.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/1.099, allocations: 120 kB / 0.5124 GB, free: 56.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/1.101, allocations: 223.9 kB / 0.5126 GB, free: 56.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01339/1.114, allocations: 5.609 MB / 0.5181 GB, free: 50.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02077/1.135, allocations: 8.527 MB / 0.5264 GB, free: 41.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/1.135, allocations: 47.62 kB / 0.5265 GB, free: 41.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/1.137, allocations: 28 kB / 0.5265 GB, free: 41.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002238/1.139, allocations: 0.9822 MB / 0.5275 GB, free: 40.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05877/1.198, allocations: 41.96 MB / 0.5684 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006811/1.205, allocations: 3.312 MB / 0.5717 GB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/1.209, allocations: 2.15 MB / 0.5738 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007708/1.21, allocations: 396.3 kB / 0.5742 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/1.21, allocations: 47.88 kB / 0.5742 GB, free: 6.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 9.948e-06/1.21, allocations: 4 kB / 0.5742 GB, free: 6.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.08703/1.297, allocations: 20.84 MB / 0.5946 GB, free: 1.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.298, allocations: 179.5 kB / 0.5947 GB, free: 1.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005816/1.303, allocations: 2.349 MB / 0.597 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006352/1.304, allocations: 25.7 kB / 0.597 GB, free: 15.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003084/1.307, allocations: 2.659 MB / 0.5996 GB, free: 12.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.309, allocations: 0.7785 MB / 0.6004 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008618/1.31, allocations: 0 / 0.6004 GB, free: 11.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005864/1.31, allocations: 0.5547 MB / 0.6009 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006384/1.317, allocations: 2.421 MB / 0.6033 GB, free: 8.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009785/1.327, allocations: 5.707 MB / 0.6089 GB, free: 1.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009259/1.336, allocations: 3.686 MB / 0.6125 GB, free: 13.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/1.336, allocations: 32 kB / 0.6125 GB, free: 13.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02598/1.362, allocations: 8.141 MB / 0.6205 GB, free: 5.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.362, allocations: 56 kB / 0.6205 GB, free: 5.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/1.362, allocations: 119.9 kB / 0.6206 GB, free: 5.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005101/1.368, allocations: 1.034 MB / 0.6216 GB, free: 4.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009981/1.378, allocations: 1.38 MB / 0.623 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3421/1.72, allocations: 5.06 MB / 0.6279 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00944/1.729, allocations: 214.7 kB / 0.6281 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/1.731, allocations: 356.5 kB / 0.6285 GB, free: 114.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * 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.002694/1.734, allocations: 402 kB / 0.6289 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01846/1.753, allocations: 4.508 MB / 0.6333 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/1.754, allocations: 267.6 kB / 0.6335 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.771, allocations: 4.305 MB / 0.6377 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.526e-05/1.771, allocations: 27.25 kB / 0.6377 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.772, allocations: 3.281 kB / 0.6377 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.22e-05/1.772, allocations: 16.55 kB / 0.6378 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02523/1.797, allocations: 9.15 MB / 0.6467 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/1.797, allocations: 0 / 0.6467 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004062/1.801, allocations: 372 kB / 0.6471 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004262/1.805, allocations: 0.8646 MB / 0.6479 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006059/1.806, allocations: 3.875 kB / 0.6479 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/1.812, allocations: 4.443 MB / 0.6522 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.812, allocations: 0 / 0.6522 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.829, allocations: 7.758 MB / 0.6598 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002451/1.832, allocations: 0.7059 MB / 0.6605 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008983/1.833, allocations: 3.438 kB / 0.6605 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/1.836, allocations: 95.86 kB / 0.6606 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000741/1.837, allocations: 119.3 kB / 0.6607 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/1.837, allocations: 57.03 kB / 0.6608 GB, free: 106.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003485/1.841, allocations: 1.537 MB / 0.6623 GB, free: 105.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.193e-06/1.841, allocations: 3.969 kB / 0.6623 GB, free: 105.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006826/1.847, allocations: 0.8051 MB / 0.6631 GB, free: 105.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * 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.0186/1.866, allocations: 8.62 MB / 0.6715 GB, free: 101.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01485/1.881, allocations: 6.27 MB / 0.6776 GB, free: 97.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.881, allocations: 0 / 0.6776 GB, free: 97.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00711/1.888, allocations: 2.696 MB / 0.6802 GB, free: 95.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.891, allocations: 193.7 kB / 0.6804 GB, free: 95.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/1.919, allocations: 9.041 MB / 0.6892 GB, free: 87.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005935/1.925, allocations: 2.952 MB / 0.6921 GB, free: 85.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004641/1.93, allocations: 1.592 MB / 0.6937 GB, free: 83.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/1.93, allocations: 0 / 0.6937 GB, free: 83.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.818/6.748, allocations: 132 MB / 0.8226 GB, free: 145.4 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