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/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.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.263/2.263, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.167e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3399, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5101, allocations: 95 MB / 453.1 MB, free: 15.72 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.5104, allocations: 71.97 kB / 453.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7915/1.302, allocations: 112.2 MB / 0.5521 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.083e-06/1.302, allocations: 4 kB / 0.5521 GB, free: 15.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003341/1.302, allocations: 124 kB / 0.5522 GB, free: 15.11 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.0267/1.329, allocations: 6.289 MB / 0.5584 GB, free: 8.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.329, allocations: 16.03 kB / 0.5584 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0248/1.354, allocations: 2.734 MB / 0.5611 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/1.367, allocations: 3.65 MB / 0.5646 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/1.368, allocations: 220 kB / 0.5648 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003693/1.372, allocations: 399.9 kB / 0.5652 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02872/1.4, allocations: 10.43 MB / 0.5754 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04414/1.445, allocations: 14.96 MB / 0.59 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005054/1.445, allocations: 87.09 kB / 0.5901 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003207/1.448, allocations: 36 kB / 0.5901 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004909/1.453, allocations: 1.804 MB / 0.5919 GB, free: 5.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4659/1.919, allocations: 69.1 MB / 0.6594 GB, free: 56.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/1.932, allocations: 7.204 MB / 0.6664 GB, free: 55.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009788/1.942, allocations: 5.44 MB / 0.6717 GB, free: 55.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/1.944, allocations: 1.11 MB / 0.6728 GB, free: 55.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.993e-05/1.944, allocations: 77.2 kB / 0.6729 GB, free: 55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=361): time 9.067e-06/1.944, allocations: 0 / 0.6729 GB, free: 55 MB / 458.7 MB Notification: Performance of matching and sorting (n=508): time 0.2463/2.19, allocations: 59.84 MB / 0.7313 GB, free: 30.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.19, allocations: 260.7 kB / 0.7316 GB, free: 30.33 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00758/2.198, allocations: 3.338 MB / 0.7348 GB, free: 27.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001521/2.2, allocations: 25.7 kB / 0.7349 GB, free: 27.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003312/2.203, allocations: 4.161 MB / 0.7389 GB, free: 23.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003144/2.206, allocations: 1.757 MB / 0.7406 GB, free: 22.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/2.208, allocations: 0 / 0.7406 GB, free: 22.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008318/2.209, allocations: 0.7202 MB / 0.7413 GB, free: 21.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/2.221, allocations: 5.302 MB / 0.7465 GB, free: 16.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/2.236, allocations: 9.818 MB / 0.7561 GB, free: 5.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/2.254, allocations: 7.264 MB / 0.7632 GB, free: 0 / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006143/2.254, allocations: 68.25 kB / 0.7633 GB, free: 0 / 458.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.05583/2.31, allocations: 16.89 MB / 0.7798 GB, free: 2.012 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.31, allocations: 72 kB / 0.7798 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002935/2.311, allocations: 160.8 kB / 0.78 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/2.326, allocations: 3.114 MB / 0.783 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01823/2.345, allocations: 2.306 MB / 0.7853 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04313/2.388, allocations: 22.65 MB / 0.8074 GB, free: 7.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/2.4, allocations: 427 kB / 0.8078 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/2.403, allocations: 0.5345 MB / 0.8083 GB, free: 6.656 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * 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 (1156): * Single equations (assignments): 1143 * 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.004699/2.408, allocations: 0.524 MB / 0.8088 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4175/2.825, allocations: 12.35 MB / 0.8209 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/2.828, allocations: 456.1 kB / 0.8213 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03884/2.867, allocations: 12.67 MB / 0.8337 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001256/2.867, allocations: 50.59 kB / 0.8337 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.196e-05/2.867, allocations: 18.14 kB / 0.8338 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001356/2.867, allocations: 28.02 kB / 0.8338 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06794/2.935, allocations: 24.39 MB / 0.8576 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-05/2.935, allocations: 0 / 0.8576 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/2.946, allocations: 0.9009 MB / 0.8585 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02215/2.968, allocations: 3.283 MB / 0.8617 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001667/2.97, allocations: 18.3 kB / 0.8617 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04079/3.01, allocations: 19.98 MB / 0.8812 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/3.01, allocations: 2.438 kB / 0.8812 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05536/3.066, allocations: 20.44 MB / 0.9012 GB, free: 95.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005535/3.071, allocations: 1.507 MB / 0.9027 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002478/3.074, allocations: 14.45 kB / 0.9027 GB, free: 94.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008058/3.082, allocations: 300.8 kB / 0.903 GB, free: 94.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002306/3.084, allocations: 334.3 kB / 0.9033 GB, free: 94.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001261/3.086, allocations: 127.4 kB / 0.9034 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005172/3.091, allocations: 2.172 MB / 0.9055 GB, free: 92.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.62e-07/3.091, allocations: 0 / 0.9055 GB, free: 92.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0122/3.103, allocations: 1.681 MB / 0.9072 GB, free: 90.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (425): * Single equations (assignments): 407 * 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.05762/3.161, allocations: 21.72 MB / 0.9284 GB, free: 71.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03014/3.191, allocations: 13.93 MB / 0.942 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/3.191, allocations: 0 / 0.942 GB, free: 58.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02005/3.211, allocations: 7.781 MB / 0.9496 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/3.215, allocations: 320.8 kB / 0.9499 GB, free: 51.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05574/3.271, allocations: 18.81 MB / 0.9683 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01094/3.282, allocations: 4.952 MB / 0.9731 GB, free: 30.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009969/3.292, allocations: 3.137 MB / 0.9762 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/3.292, allocations: 0 / 0.9762 GB, free: 26.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.775/11.07, allocations: 469.4 MB / 1.435 GB, free: 130.9 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