Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01542/0.01542, allocations: 107.3 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001841/0.001841, allocations: 180.6 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.944/1.944, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2652/0.2652, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.000468, allocations: 12 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 54.87 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3945/0.5077, allocations: 60.07 MB / 476.1 MB, free: 29.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03453/0.5423, allocations: 14.17 MB / 490.3 MB, free: 21.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01295/0.5553, allocations: 303.2 kB / 490.6 MB, free: 21.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009783/0.5652, allocations: 3.019 MB / 493.6 MB, free: 20.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03116/0.5964, allocations: 8.607 MB / 0.4904 GB, free: 16.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006841/0.6033, allocations: 1.266 MB / 0.4916 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05445/0.6578, allocations: 19.09 MB / 0.5103 GB, free: 9.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.6694, allocations: 6.347 MB / 0.5165 GB, free: 4.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.6743, allocations: 1.857 MB / 0.5183 GB, free: 3.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005023/0.6793, allocations: 2.652 MB / 0.5209 GB, free: 376 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.6811, allocations: 248 kB / 0.5211 GB, free: 128 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004819/0.6859, allocations: 1.209 MB / 0.5223 GB, free: 14.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005675/0.6916, allocations: 2.774 MB / 0.525 GB, free: 12.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00305/0.6947, allocations: 1.318 MB / 0.5263 GB, free: 10.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.7109, allocations: 8.897 MB / 0.535 GB, free: 1.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.86e-06/0.711, allocations: 0 / 0.535 GB, free: 1.887 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.679e-06/0.711, allocations: 0 / 0.535 GB, free: 1.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004429/0.7115, allocations: 0 / 0.535 GB, free: 1.887 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.03224/0.7437, allocations: 7.45 MB / 0.5423 GB, free: 10.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.7438, allocations: 12.03 kB / 0.5423 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003976/0.7478, allocations: 1.075 MB / 0.5433 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3917/1.14, allocations: 15.1 MB / 0.5581 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/1.161, allocations: 6.2 MB / 0.5641 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005451/1.162, allocations: 371.5 kB / 0.5645 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002689/1.165, allocations: 0.5112 MB / 0.565 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/1.215, allocations: 16.38 MB / 0.581 GB, free: 1.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/1.215, allocations: 84.94 kB / 0.5811 GB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002132/1.218, allocations: 235.8 kB / 0.5813 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007536/1.225, allocations: 2.806 MB / 0.584 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04901/1.274, allocations: 13.69 MB / 0.5974 GB, free: 0.7031 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4466/1.721, allocations: 64.42 MB / 0.6603 GB, free: 112.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0375/1.758, allocations: 7.866 MB / 0.668 GB, free: 111 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04761/1.806, allocations: 18.92 MB / 0.6865 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/1.806, allocations: 63.58 kB / 0.6865 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 7.594e-06/1.806, allocations: 0 / 0.6865 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=367): time 0.3298/2.136, allocations: 53.14 MB / 0.7384 GB, free: 69.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/2.136, allocations: 270 kB / 0.7387 GB, free: 68.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/2.149, allocations: 6.538 MB / 0.7451 GB, free: 62.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009488/2.15, allocations: 81.7 kB / 0.7451 GB, free: 62.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00381/2.153, allocations: 4.747 MB / 0.7498 GB, free: 57.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002169/2.156, allocations: 1.353 MB / 0.7511 GB, free: 56.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/2.157, allocations: 182.9 kB / 0.7513 GB, free: 55.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005058/2.157, allocations: 0.6984 MB / 0.752 GB, free: 55.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/2.167, allocations: 3.918 MB / 0.7558 GB, free: 51.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01433/2.182, allocations: 9.102 MB / 0.7647 GB, free: 39.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/2.195, allocations: 5.773 MB / 0.7703 GB, free: 33.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/2.196, allocations: 52 kB / 0.7704 GB, free: 33.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05675/2.252, allocations: 16.92 MB / 0.7869 GB, free: 16.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/2.253, allocations: 80 kB / 0.787 GB, free: 16.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002301/2.253, allocations: 184 kB / 0.7871 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02341/2.276, allocations: 4.181 MB / 0.7912 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/2.289, allocations: 2.059 MB / 0.7932 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06538/2.355, allocations: 23.96 MB / 0.8166 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.366, allocations: 0.5143 MB / 0.8171 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/2.368, allocations: 0.5312 MB / 0.8176 GB, free: 0.9805 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1083): * Single equations (assignments): 1078 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3551/2.723, allocations: 3.118 MB / 0.8207 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/2.724, allocations: 0.5739 MB / 0.8213 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03859/2.763, allocations: 10.11 MB / 0.8311 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-05/2.763, allocations: 39.58 kB / 0.8312 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-05/2.763, allocations: 16.53 kB / 0.8312 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.473e-05/2.763, allocations: 20.34 kB / 0.8312 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07249/2.836, allocations: 19.82 MB / 0.8506 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.174e-05/2.836, allocations: 1.484 kB / 0.8506 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005806/2.842, allocations: 0.5301 MB / 0.8511 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02413/2.866, allocations: 3.668 MB / 0.8547 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/2.867, allocations: 65.53 kB / 0.8547 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05672/2.924, allocations: 20.81 MB / 0.875 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/2.924, allocations: 2.531 kB / 0.875 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04979/2.974, allocations: 14.81 MB / 0.8895 GB, free: 125 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004575/2.978, allocations: 1.165 MB / 0.8906 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/2.981, allocations: 63.22 kB / 0.8907 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006415/2.987, allocations: 207.7 kB / 0.8909 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001777/2.989, allocations: 222.2 kB / 0.8911 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008655/2.99, allocations: 91.98 kB / 0.8912 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01007/3, allocations: 4.171 MB / 0.8953 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.022e-06/3, allocations: 4 kB / 0.8953 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01179/3.012, allocations: 1.865 MB / 0.8971 GB, free: 117.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05098/3.063, allocations: 15.73 MB / 0.9125 GB, free: 101.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0247/3.088, allocations: 9.984 MB / 0.9222 GB, free: 91.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/3.088, allocations: 0 / 0.9222 GB, free: 91.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/3.098, allocations: 3.927 MB / 0.926 GB, free: 87.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006593/3.105, allocations: 0.7188 MB / 0.9267 GB, free: 86.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5648/3.67, allocations: 193.1 MB / 1.115 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/3.683, allocations: 5.011 MB / 1.12 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01611/3.699, allocations: 2.797 MB / 1.123 GB, free: 56.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007908/3.707, allocations: 3.282 MB / 1.126 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.974e-06/3.707, allocations: 0 / 1.126 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.85/4.557, allocations: 144.2 MB / 1.267 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/4.558, allocations: 217.6 kB / 1.267 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/12.84, allocations: 3.094 kB / 1.267 GB, free: 111.1 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat