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.355/2.355, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006093/0.0006095, allocations: 8 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3448, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5155, allocations: 95.74 MB / 465.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5159, allocations: 83.78 kB / 465.2 MB, free: 10.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7052/1.221, allocations: 115.5 MB / 0.5671 GB, free: 3.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.221, allocations: 0 / 0.5671 GB, free: 3.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003053/1.221, allocations: 128 kB / 0.5672 GB, free: 3.41 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02727/1.249, allocations: 6.506 MB / 0.5736 GB, free: 12.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.249, allocations: 12.03 kB / 0.5736 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005683/1.255, allocations: 1.195 MB / 0.5747 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02019/1.275, allocations: 2.738 MB / 0.5774 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/1.288, allocations: 3.666 MB / 0.581 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007835/1.289, allocations: 0.5015 MB / 0.5815 GB, free: 4.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004019/1.293, allocations: 0.6715 MB / 0.5821 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0748/1.367, allocations: 19.59 MB / 0.6013 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004945/1.368, allocations: 79.3 kB / 0.6014 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00349/1.372, allocations: 311.8 kB / 0.6017 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004933/1.377, allocations: 1.808 MB / 0.6034 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06753/1.444, allocations: 17.43 MB / 0.6204 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.466/1.91, allocations: 70.92 MB / 0.6897 GB, free: 52.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03874/1.949, allocations: 8.624 MB / 0.6981 GB, free: 52.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/1.979, allocations: 14.88 MB / 0.7126 GB, free: 49.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/1.98, allocations: 63.09 kB / 0.7127 GB, free: 49.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=355): time 9.027e-06/1.98, allocations: 0 / 0.7127 GB, free: 49.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=502): time 0.5931/2.573, allocations: 94.56 MB / 0.8051 GB, free: 14.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/2.573, allocations: 182.8 kB / 0.8052 GB, free: 14.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/2.585, allocations: 4.248 MB / 0.8094 GB, free: 10.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001519/2.586, allocations: 105.1 kB / 0.8095 GB, free: 10.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004559/2.591, allocations: 4.014 MB / 0.8134 GB, free: 6.504 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003669/2.594, allocations: 1.808 MB / 0.8152 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/2.596, allocations: 184 kB / 0.8153 GB, free: 4.531 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008532/2.597, allocations: 0.7063 MB / 0.816 GB, free: 3.816 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01572/2.613, allocations: 5.445 MB / 0.8213 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02141/2.634, allocations: 9.873 MB / 0.831 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3623/2.997, allocations: 7.258 MB / 0.8381 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/2.997, allocations: 43.06 kB / 0.8381 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.05362/3.05, allocations: 17.83 MB / 0.8555 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/3.051, allocations: 69.28 kB / 0.8556 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/3.051, allocations: 154.9 kB / 0.8557 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01384/3.065, allocations: 3.123 MB / 0.8588 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/3.081, allocations: 2.237 MB / 0.861 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0418/3.123, allocations: 24.79 MB / 0.8852 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01273/3.136, allocations: 0.5809 MB / 0.8858 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002621/3.138, allocations: 0.5118 MB / 0.8863 GB, free: 104.1 MB / 0.4948 GB 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 () * Number of clocked 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.009432/3.148, allocations: 3.09 MB / 0.8893 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/3.15, allocations: 0.5113 MB / 0.8898 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.038/3.188, allocations: 13.12 MB / 0.9026 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.952e-05/3.188, allocations: 53.17 kB / 0.9026 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-05/3.188, allocations: 11.25 kB / 0.9026 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/3.188, allocations: 23.62 kB / 0.9027 GB, free: 97.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06789/3.256, allocations: 25.38 MB / 0.9275 GB, free: 84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/3.256, allocations: 4 kB / 0.9275 GB, free: 84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009271/3.265, allocations: 0.8778 MB / 0.9283 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01594/3.281, allocations: 3.341 MB / 0.9316 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001463/3.283, allocations: 88.67 kB / 0.9317 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03124/3.314, allocations: 21.67 MB / 0.9528 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/3.314, allocations: 4 kB / 0.9528 GB, free: 60.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05229/3.366, allocations: 20.84 MB / 0.9732 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005459/3.372, allocations: 1.551 MB / 0.9747 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002321/3.374, allocations: 89.06 kB / 0.9748 GB, free: 40.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007669/3.382, allocations: 371.9 kB / 0.9751 GB, free: 40 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002118/3.384, allocations: 323 kB / 0.9754 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008523/3.385, allocations: 129.2 kB / 0.9756 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007522/3.393, allocations: 2.937 MB / 0.9784 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.01e-07/3.393, allocations: 0 / 0.9784 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01229/3.405, allocations: 1.949 MB / 0.9803 GB, free: 35.33 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 () * Number of clocked 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.05437/3.459, allocations: 22.46 MB / 1.002 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03504/3.494, allocations: 14.36 MB / 1.016 GB, free: 240 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/3.494, allocations: 0 / 1.016 GB, free: 240 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.363/3.857, allocations: 7.881 MB / 1.024 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005396/3.863, allocations: 0.5158 MB / 1.024 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09465/3.958, allocations: 141.6 MB / 1.163 GB, free: 20.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01171/3.969, allocations: 4.957 MB / 1.168 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/3.979, allocations: 3.153 MB / 1.171 GB, free: 20 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/3.98, allocations: 0 / 1.171 GB, free: 20 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.049/12.03, allocations: 471.3 MB / 1.631 GB, free: 139.1 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