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.SpringDamperParallel.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.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.56/2.56, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.345e-05, allocations: 4 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3971, allocations: 54.86 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.572, allocations: 95.66 MB / 460.3 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.5724, allocations: 79.95 kB / 460.4 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7941/1.367, allocations: 115.7 MB / 0.5625 GB, free: 100.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.367, allocations: 3.938 kB / 0.5625 GB, free: 100.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003328/1.367, allocations: 130.6 kB / 0.5626 GB, free: 100.5 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02691/1.394, allocations: 6.286 MB / 0.5688 GB, free: 98.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.394, allocations: 7.75 kB / 0.5688 GB, free: 98.15 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005374/1.399, allocations: 1.194 MB / 0.57 GB, free: 98.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/1.419, allocations: 2.74 MB / 0.5726 GB, free: 97.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/1.433, allocations: 3.659 MB / 0.5762 GB, free: 96.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007382/1.434, allocations: 0.5033 MB / 0.5767 GB, free: 96.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004352/1.438, allocations: 0.6765 MB / 0.5774 GB, free: 96.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0716/1.51, allocations: 19.45 MB / 0.5964 GB, free: 89.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005717/1.51, allocations: 79.61 kB / 0.5964 GB, free: 89.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003696/1.514, allocations: 314.8 kB / 0.5967 GB, free: 88.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004498/1.519, allocations: 1.802 MB / 0.5985 GB, free: 88.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06272/1.582, allocations: 17.22 MB / 0.6153 GB, free: 73.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1254/1.707, allocations: 70.93 MB / 0.6846 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04296/1.75, allocations: 8.545 MB / 0.6929 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/1.763, allocations: 5.61 MB / 0.6984 GB, free: 2.477 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0394/1.803, allocations: 14.93 MB / 0.713 GB, free: 3.363 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.825e-05/1.803, allocations: 80.81 kB / 0.7131 GB, free: 3.273 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 8.256e-06/1.803, allocations: 0 / 0.7131 GB, free: 3.273 MB / 490.7 MB Notification: Performance of matching and sorting (n=502): time 0.6729/2.476, allocations: 60.62 MB / 0.7723 GB, free: 114.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/2.476, allocations: 181.4 kB / 0.7724 GB, free: 114.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/2.486, allocations: 4.183 MB / 0.7765 GB, free: 113.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001497/2.488, allocations: 106.6 kB / 0.7766 GB, free: 113.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003337/2.491, allocations: 4.029 MB / 0.7806 GB, free: 110 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003134/2.494, allocations: 1.797 MB / 0.7823 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/2.496, allocations: 192.1 kB / 0.7825 GB, free: 108.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008143/2.497, allocations: 0.7038 MB / 0.7832 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01357/2.511, allocations: 5.308 MB / 0.7884 GB, free: 105.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01643/2.527, allocations: 9.737 MB / 0.7979 GB, free: 94.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01653/2.544, allocations: 7.184 MB / 0.8049 GB, free: 88.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00016/2.544, allocations: 40 kB / 0.8049 GB, free: 88.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.05618/2.6, allocations: 17.56 MB / 0.8221 GB, free: 73.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/2.6, allocations: 68.66 kB / 0.8221 GB, free: 73.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/2.601, allocations: 152 kB / 0.8223 GB, free: 73.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01404/2.615, allocations: 3.118 MB / 0.8253 GB, free: 71.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01686/2.632, allocations: 2.235 MB / 0.8275 GB, free: 69.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03725/2.669, allocations: 24.17 MB / 0.8511 GB, free: 44.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/2.681, allocations: 0.5747 MB / 0.8517 GB, free: 43.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002633/2.684, allocations: 0.5117 MB / 0.8522 GB, free: 43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[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 (1126): * Single equations (assignments): 1113 * 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: 8 * 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: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004285/2.688, allocations: 0.7759 MB / 0.8529 GB, free: 42.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/2.69, allocations: 0.5091 MB / 0.8534 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04117/2.732, allocations: 12.92 MB / 0.8661 GB, free: 28.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-05/2.732, allocations: 49.33 kB / 0.8661 GB, free: 28.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-05/2.732, allocations: 20 kB / 0.8661 GB, free: 28.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/2.732, allocations: 23.91 kB / 0.8661 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07705/2.809, allocations: 25.22 MB / 0.8908 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.222e-05/2.809, allocations: 4 kB / 0.8908 GB, free: 3.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01001/2.819, allocations: 0.8741 MB / 0.8916 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01707/2.836, allocations: 3.336 MB / 0.8949 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001676/2.838, allocations: 95.98 kB / 0.895 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3978/3.236, allocations: 21.07 MB / 0.9156 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/3.236, allocations: 8.062 kB / 0.9156 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0549/3.291, allocations: 20.59 MB / 0.9357 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006669/3.298, allocations: 1.545 MB / 0.9372 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002684/3.3, allocations: 89.42 kB / 0.9373 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01092/3.311, allocations: 364 kB / 0.9376 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003082/3.314, allocations: 333.4 kB / 0.9379 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001613/3.316, allocations: 130.3 kB / 0.9381 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01116/3.327, allocations: 2.893 MB / 0.9409 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.012e-06/3.327, allocations: 0 / 0.9409 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02063/3.348, allocations: 1.945 MB / 0.9428 GB, free: 107.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 401 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.08402/3.432, allocations: 22.19 MB / 0.9645 GB, free: 97.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04205/3.474, allocations: 14.1 MB / 0.9782 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/3.474, allocations: 3.188 kB / 0.9782 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02143/3.496, allocations: 7.777 MB / 0.9858 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005184/3.501, allocations: 0.5129 MB / 0.9863 GB, free: 85.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06091/3.562, allocations: 19.12 MB / 1.005 GB, free: 68.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/3.573, allocations: 4.954 MB / 1.01 GB, free: 65.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009958/3.583, allocations: 3.156 MB / 1.013 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/3.583, allocations: 0 / 1.013 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.095/11.68, allocations: 473.2 MB / 1.475 GB, free: 135.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat