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.49/2.49, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.512e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3973, allocations: 54.85 MB / 364.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.5725, allocations: 96.84 MB / 461.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.5729, allocations: 75.41 kB / 461.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2744/0.8472, allocations: 64.53 MB / 0.5137 GB, free: 14.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.8473, allocations: 0 / 0.5137 GB, free: 14.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001862/0.8475, allocations: 72 kB / 0.5138 GB, free: 14.49 MB / 458.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.01334/0.8609, allocations: 3.363 MB / 0.5171 GB, free: 11.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.8609, allocations: 11.97 kB / 0.5171 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002853/0.8638, allocations: 0.6799 MB / 0.5178 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.8791, allocations: 2.027 MB / 0.5198 GB, free: 8.332 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/0.8862, allocations: 1.939 MB / 0.5217 GB, free: 6.344 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/0.8867, allocations: 275.3 kB / 0.5219 GB, free: 6.074 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/0.8888, allocations: 371.8 kB / 0.5223 GB, free: 5.711 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3514/1.24, allocations: 10.38 MB / 0.5324 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/1.241, allocations: 49.42 kB / 0.5324 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/1.242, allocations: 179.8 kB / 0.5326 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002751/1.245, allocations: 0.9797 MB / 0.5336 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03197/1.277, allocations: 8.888 MB / 0.5423 GB, free: 108.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06489/1.342, allocations: 43.35 MB / 0.5846 GB, free: 79.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.359, allocations: 3.976 MB / 0.5885 GB, free: 78.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004225/1.363, allocations: 2.211 MB / 0.5906 GB, free: 77.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/1.375, allocations: 5.119 MB / 0.5956 GB, free: 74.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/1.375, allocations: 54.08 kB / 0.5957 GB, free: 74.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=161): time 7.374e-06/1.375, allocations: 3.188 kB / 0.5957 GB, free: 74.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=204): time 0.1009/1.476, allocations: 21.1 MB / 0.6163 GB, free: 66.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/1.476, allocations: 149.8 kB / 0.6164 GB, free: 66.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00635/1.483, allocations: 2.798 MB / 0.6192 GB, free: 64.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005911/1.483, allocations: 57.7 kB / 0.6192 GB, free: 64.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002219/1.486, allocations: 2.559 MB / 0.6217 GB, free: 61.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.487, allocations: 0.7709 MB / 0.6225 GB, free: 61.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007939/1.488, allocations: 104 kB / 0.6226 GB, free: 61.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003904/1.488, allocations: 0.5468 MB / 0.6231 GB, free: 60.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/1.494, allocations: 2.416 MB / 0.6255 GB, free: 58.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008195/1.502, allocations: 5.596 MB / 0.6309 GB, free: 51.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008169/1.511, allocations: 3.659 MB / 0.6345 GB, free: 48.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.511, allocations: 32 kB / 0.6345 GB, free: 48.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.02356/1.534, allocations: 8.568 MB / 0.6429 GB, free: 40.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.805e-05/1.534, allocations: 56 kB / 0.643 GB, free: 40.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/1.535, allocations: 112 kB / 0.6431 GB, free: 40.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004764/1.539, allocations: 1.049 MB / 0.6441 GB, free: 39.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008889/1.548, allocations: 1.322 MB / 0.6454 GB, free: 38.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/1.556, allocations: 5.352 MB / 0.6506 GB, free: 32.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/1.562, allocations: 307.6 kB / 0.6509 GB, free: 32.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.564, allocations: 337.9 kB / 0.6512 GB, free: 32.01 MB / 458.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 () * 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.001301/1.565, allocations: 0.523 MB / 0.6517 GB, free: 31.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007995/1.566, allocations: 292.2 kB / 0.652 GB, free: 31.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.578, allocations: 4.333 MB / 0.6562 GB, free: 26.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.59e-05/1.578, allocations: 20.7 kB / 0.6563 GB, free: 26.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.578, allocations: 8 kB / 0.6563 GB, free: 26.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/1.578, allocations: 7.969 kB / 0.6563 GB, free: 26.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/1.604, allocations: 9.339 MB / 0.6654 GB, free: 17.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/1.604, allocations: 5.219 kB / 0.6654 GB, free: 17.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003987/1.608, allocations: 355.5 kB / 0.6657 GB, free: 17.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004378/1.612, allocations: 0.8773 MB / 0.6666 GB, free: 16.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005804/1.613, allocations: 36 kB / 0.6666 GB, free: 16.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/1.62, allocations: 4.718 MB / 0.6712 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.62, allocations: 11.92 kB / 0.6713 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.637, allocations: 7.613 MB / 0.6787 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/1.64, allocations: 0.7197 MB / 0.6794 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.641, allocations: 32 kB / 0.6794 GB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.644, allocations: 119.8 kB / 0.6795 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/1.645, allocations: 113.2 kB / 0.6796 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/1.645, allocations: 51.98 kB / 0.6797 GB, free: 2.453 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004537/1.65, allocations: 1.916 MB / 0.6816 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.65, allocations: 3 kB / 0.6816 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006347/1.656, allocations: 0.9395 MB / 0.6825 GB, free: 15.6 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 () * 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.02151/1.678, allocations: 8.449 MB / 0.6907 GB, free: 7.105 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0174/1.695, allocations: 6.33 MB / 0.6969 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.695, allocations: 4 kB / 0.6969 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008121/1.703, allocations: 2.665 MB / 0.6995 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/1.706, allocations: 275.2 kB / 0.6998 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03245/1.739, allocations: 9.118 MB / 0.7087 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006844/1.746, allocations: 2.943 MB / 0.7116 GB, free: 1.668 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005282/1.751, allocations: 1.604 MB / 0.7131 GB, free: 64 kB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/1.751, allocations: 4 kB / 0.7131 GB, free: 60 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.859/6.61, allocations: 133.6 MB / 0.8436 GB, free: 44.42 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