Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01094/0.01094, allocations: 104.6 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.1.mo): time 0.001178/0.001178, allocations: 169.5 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.616/1.616, allocations: 170.9 MB / 187.5 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2523/0.2523, allocations: 38.1 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.000464, allocations: 8 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09123, allocations: 48.71 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.08755/0.1788, allocations: 56.16 MB / 428.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3277/0.5066, allocations: 13.67 MB / 442.1 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01346/0.5201, allocations: 286.7 kB / 442.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.5313, allocations: 2.841 MB / 445.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0312/0.5625, allocations: 8.061 MB / 453.3 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006232/0.5688, allocations: 1.165 MB / 454.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.07336/0.6422, allocations: 26.34 MB / 480.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0172/0.6595, allocations: 8.098 MB / 488.9 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004919/0.6644, allocations: 1.754 MB / 490.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005585/0.6701, allocations: 2.353 MB / 493 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.6717, allocations: 244 kB / 493.2 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.6764, allocations: 1.257 MB / 494.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005057/0.6815, allocations: 2.648 MB / 497.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002845/0.6844, allocations: 1.322 MB / 498.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.7007, allocations: 9.593 MB / 0.4962 GB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7008, allocations: 0 / 0.4962 GB, free: 4.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.7008, allocations: 0 / 0.4962 GB, free: 4.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004153/0.7012, allocations: 0 / 0.4962 GB, free: 4.891 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02692/0.7281, allocations: 7.059 MB / 0.503 GB, free: 14.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.7282, allocations: 8.031 kB / 0.5031 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004425/0.7327, allocations: 1.149 MB / 0.5042 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1244/0.8571, allocations: 11.1 MB / 0.515 GB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01965/0.8768, allocations: 5.872 MB / 0.5208 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/0.8774, allocations: 377.2 kB / 0.5211 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/0.8802, allocations: 0.5098 MB / 0.5216 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05049/0.9308, allocations: 15.64 MB / 0.5369 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003626/0.9312, allocations: 71.31 kB / 0.537 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/0.9332, allocations: 240.3 kB / 0.5372 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006573/0.9398, allocations: 2.481 MB / 0.5396 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04617/0.986, allocations: 13.11 MB / 0.5524 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4247/1.411, allocations: 57.3 MB / 0.6084 GB, free: 135 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03057/1.441, allocations: 6.444 MB / 0.6147 GB, free: 134.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02639/1.468, allocations: 11.42 MB / 0.6258 GB, free: 130.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/1.468, allocations: 68.06 kB / 0.6259 GB, free: 130.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=245): time 6.272e-06/1.468, allocations: 3.719 kB / 0.6259 GB, free: 130.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=338): time 0.2467/1.715, allocations: 40.86 MB / 0.6658 GB, free: 101.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.715, allocations: 243.3 kB / 0.666 GB, free: 100.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.728, allocations: 6.102 MB / 0.672 GB, free: 94.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009784/1.729, allocations: 77.7 kB / 0.672 GB, free: 94.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003737/1.732, allocations: 4.44 MB / 0.6764 GB, free: 90.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002135/1.735, allocations: 1.237 MB / 0.6776 GB, free: 89.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/1.736, allocations: 160 kB / 0.6777 GB, free: 88.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006686/1.737, allocations: 0.653 MB / 0.6784 GB, free: 88.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009454/1.746, allocations: 3.729 MB / 0.682 GB, free: 84.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/1.759, allocations: 8.219 MB / 0.69 GB, free: 74.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.771, allocations: 5.425 MB / 0.6953 GB, free: 68.83 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/1.771, allocations: 51.95 kB / 0.6954 GB, free: 68.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=1064) (initialization): time 0.05211/1.823, allocations: 15.36 MB / 0.7104 GB, free: 53.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.824, allocations: 72 kB / 0.7105 GB, free: 53.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002083/1.824, allocations: 158.4 kB / 0.7106 GB, free: 53.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02346/1.847, allocations: 4.121 MB / 0.7146 GB, free: 49.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01059/1.858, allocations: 1.797 MB / 0.7164 GB, free: 47.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04697/1.905, allocations: 20.28 MB / 0.7362 GB, free: 26.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009606/1.915, allocations: 0.4902 MB / 0.7367 GB, free: 26.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002015/1.917, allocations: 464 kB / 0.7371 GB, free: 25.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 714 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (963): * Single equations (assignments): 959 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008415/1.925, allocations: 3.119 MB / 0.7402 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.927, allocations: 0.5284 MB / 0.7407 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03643/1.963, allocations: 9.592 MB / 0.75 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.765e-05/1.963, allocations: 32 kB / 0.7501 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/1.963, allocations: 16 kB / 0.7501 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.915e-05/1.964, allocations: 15.94 kB / 0.7501 GB, free: 12.49 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 postOpt removeSimpleEquations (simulation): time 0.06765/2.031, allocations: 19.78 MB / 0.7694 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-05/2.031, allocations: 12.45 kB / 0.7694 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004664/2.036, allocations: 495.9 kB / 0.7699 GB, free: 8.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02401/2.06, allocations: 3.665 MB / 0.7735 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009048/2.061, allocations: 57.25 kB / 0.7735 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3489/2.41, allocations: 17.83 MB / 0.791 GB, free: 163.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/2.41, allocations: 11.5 kB / 0.791 GB, free: 163.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04634/2.456, allocations: 15.16 MB / 0.8058 GB, free: 156.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004441/2.461, allocations: 1.159 MB / 0.8069 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/2.463, allocations: 64.25 kB / 0.807 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006041/2.469, allocations: 229.1 kB / 0.8072 GB, free: 156.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/2.471, allocations: 218 kB / 0.8074 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008817/2.472, allocations: 88.19 kB / 0.8075 GB, free: 156.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009624/2.481, allocations: 3.93 MB / 0.8113 GB, free: 154.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.41e-07/2.482, allocations: 0 / 0.8113 GB, free: 154.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01091/2.492, allocations: 1.728 MB / 0.813 GB, free: 154.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (revolute.phi,revolute.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 (256): * Single equations (assignments): 252 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04709/2.54, allocations: 17.17 MB / 0.8298 GB, free: 142.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02151/2.561, allocations: 9.18 MB / 0.8387 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.561, allocations: 4 kB / 0.8387 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009061/2.57, allocations: 3.623 MB / 0.8423 GB, free: 130.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00641/2.577, allocations: 0.6869 MB / 0.8429 GB, free: 129.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3713/2.948, allocations: 136.8 MB / 0.9765 GB, free: 151.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01243/2.961, allocations: 4.966 MB / 0.9814 GB, free: 150.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01408/2.975, allocations: 2.599 MB / 0.9839 GB, free: 150.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007283/2.982, allocations: 3.07 MB / 0.9869 GB, free: 150.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/2.982, allocations: 0 / 0.9869 GB, free: 150.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2978/3.28, allocations: 134.2 MB / 1.118 GB, free: 32.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/3.28, allocations: 212.5 kB / 1.118 GB, free: 32.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/10.58, allocations: 0 / 1.118 GB, free: 32.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat