Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",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.01554/0.01553, allocations: 107.9 kB / 15.06 MB, free: 5.555 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.001764/0.001764, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.951/1.951, allocations: 194.5 MB / 211.3 MB, free: 11.03 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.3309/0.3309, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004866, allocations: 16 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1205, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.4164/0.537, allocations: 60.06 MB / 476.1 MB, free: 29.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03704/0.5741, allocations: 14.17 MB / 490.2 MB, free: 21.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01477/0.589, allocations: 308.2 kB / 490.5 MB, free: 21.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.5991, allocations: 3.005 MB / 493.6 MB, free: 20.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03284/0.632, allocations: 8.607 MB / 0.4904 GB, free: 16.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006726/0.6388, allocations: 1.277 MB / 0.4916 GB, free: 15.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05584/0.6947, allocations: 19.08 MB / 0.5103 GB, free: 9.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01193/0.7067, allocations: 6.346 MB / 0.5165 GB, free: 4.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004303/0.7111, allocations: 1.853 MB / 0.5183 GB, free: 2.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005152/0.7163, allocations: 2.645 MB / 0.5209 GB, free: 296 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.718, allocations: 244 kB / 0.5211 GB, free: 52 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00505/0.7231, allocations: 1.209 MB / 0.5223 GB, free: 14.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005828/0.7289, allocations: 2.767 MB / 0.525 GB, free: 12.06 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003162/0.7322, allocations: 1.318 MB / 0.5263 GB, free: 10.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.7476, allocations: 8.882 MB / 0.5349 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7476, allocations: 4 kB / 0.5349 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.7477, allocations: 0 / 0.5349 GB, free: 1.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004003/0.7481, allocations: 0 / 0.5349 GB, free: 1.832 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03233/0.7804, allocations: 7.437 MB / 0.5422 GB, free: 10.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.7805, allocations: 9.344 kB / 0.5422 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003967/0.7845, allocations: 1.075 MB / 0.5433 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3536/1.138, allocations: 15.1 MB / 0.558 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02165/1.16, allocations: 6.193 MB / 0.5641 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/1.16, allocations: 368.4 kB / 0.5644 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/1.163, allocations: 0.5073 MB / 0.5649 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04798/1.211, allocations: 16.38 MB / 0.5809 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003376/1.211, allocations: 83.2 kB / 0.581 GB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001287/1.212, allocations: 241.5 kB / 0.5812 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007444/1.22, allocations: 2.794 MB / 0.5839 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04924/1.269, allocations: 13.67 MB / 0.5973 GB, free: 0.6992 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.4649/1.734, allocations: 64.34 MB / 0.6601 GB, free: 111.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05356/1.788, allocations: 7.822 MB / 0.6678 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04857/1.836, allocations: 18.84 MB / 0.6862 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.269e-05/1.836, allocations: 66.69 kB / 0.6862 GB, free: 101.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=280): time 6.773e-06/1.836, allocations: 0 / 0.6862 GB, free: 101.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=360): time 0.3305/2.167, allocations: 50.11 MB / 0.7352 GB, free: 72.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/2.167, allocations: 273.7 kB / 0.7354 GB, free: 71.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/2.18, allocations: 6.542 MB / 0.7418 GB, free: 65.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009659/2.181, allocations: 77.7 kB / 0.7419 GB, free: 65.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004072/2.185, allocations: 4.748 MB / 0.7465 GB, free: 60.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002143/2.187, allocations: 1.322 MB / 0.7478 GB, free: 59.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00107/2.188, allocations: 187.4 kB / 0.748 GB, free: 58.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005328/2.189, allocations: 0.6867 MB / 0.7487 GB, free: 58.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009856/2.199, allocations: 3.891 MB / 0.7525 GB, free: 54.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01329/2.212, allocations: 9.07 MB / 0.7613 GB, free: 42.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/2.226, allocations: 5.732 MB / 0.7669 GB, free: 37.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/2.226, allocations: 52 kB / 0.767 GB, free: 36.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.05782/2.284, allocations: 16.9 MB / 0.7835 GB, free: 20.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/2.284, allocations: 80 kB / 0.7835 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002229/2.284, allocations: 184 kB / 0.7837 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02463/2.309, allocations: 4.218 MB / 0.7878 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0128/2.322, allocations: 2.039 MB / 0.7898 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06289/2.384, allocations: 23.98 MB / 0.8132 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.395, allocations: 0.5032 MB / 0.8137 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00218/2.398, allocations: 0.5312 MB / 0.8143 GB, free: 4.219 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 (1076): * Single equations (assignments): 1071 * 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,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009641/2.407, allocations: 3.113 MB / 0.8173 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/2.409, allocations: 0.5785 MB / 0.8179 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4257/2.835, allocations: 10.09 MB / 0.8277 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.999e-05/2.835, allocations: 34.75 kB / 0.8277 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-05/2.835, allocations: 16.66 kB / 0.8278 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.86e-05/2.835, allocations: 19.84 kB / 0.8278 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06986/2.905, allocations: 19.74 MB / 0.8471 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.035e-05/2.905, allocations: 0.9062 kB / 0.8471 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005603/2.911, allocations: 0.5262 MB / 0.8476 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02524/2.936, allocations: 3.715 MB / 0.8512 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.937, allocations: 64.58 kB / 0.8513 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05495/2.992, allocations: 20.81 MB / 0.8716 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/2.992, allocations: 8.078 kB / 0.8716 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05016/3.042, allocations: 14.72 MB / 0.886 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004438/3.047, allocations: 1.153 MB / 0.8871 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001862/3.049, allocations: 63.98 kB / 0.8872 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006179/3.055, allocations: 220 kB / 0.8874 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/3.057, allocations: 232.8 kB / 0.8876 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004708/3.057, allocations: 87.98 kB / 0.8877 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009554/3.067, allocations: 4.169 MB / 0.8917 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/3.067, allocations: 4 kB / 0.8917 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01143/3.078, allocations: 1.86 MB / 0.8936 GB, free: 121.1 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 (263): * Single equations (assignments): 258 * 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.04838/3.127, allocations: 15.64 MB / 0.9088 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02321/3.15, allocations: 9.883 MB / 0.9185 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/3.15, allocations: 0 / 0.9185 GB, free: 95.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009837/3.16, allocations: 3.896 MB / 0.9223 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/3.166, allocations: 0.7072 MB / 0.923 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5273/3.693, allocations: 192.9 MB / 1.111 GB, free: 62.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01188/3.705, allocations: 4.996 MB / 1.116 GB, free: 60.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01439/3.72, allocations: 2.794 MB / 1.119 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007262/3.727, allocations: 3.276 MB / 1.122 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/3.727, allocations: 0 / 1.122 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6383/4.365, allocations: 143.9 MB / 1.263 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/4.366, allocations: 208.2 kB / 1.263 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/12.44, allocations: 4.062 kB / 1.263 GB, free: 113.9 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat does not exist to compare? outputFormat=mat