Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSR",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.01101/0.01101, allocations: 103.9 kB / 15.05 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.001156/0.001156, allocations: 166.2 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.527/1.527, allocations: 170.9 MB / 187.5 MB, free: 1.012 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.275/0.275, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004587, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08808, allocations: 48.72 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0771/0.1652, allocations: 51.9 MB / 424.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3123/0.4776, allocations: 12.67 MB / 436.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01107/0.4887, allocations: 258.2 kB / 437.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.4999, allocations: 2.629 MB / 439.7 MB, free: 8.645 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03563/0.5356, allocations: 7.535 MB / 447.3 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007224/0.5428, allocations: 1.278 MB / 448.6 MB, free: 7.605 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04592/0.5888, allocations: 12.32 MB / 460.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.6037, allocations: 7.793 MB / 468.7 MB, free: 2.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.609, allocations: 2.024 MB / 470.7 MB, free: 1.793 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005966/0.615, allocations: 2.871 MB / 473.6 MB, free: 224 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002446/0.6175, allocations: 292 kB / 473.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005647/0.6232, allocations: 1.353 MB / 475.2 MB, free: 14.83 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005606/0.6288, allocations: 3.041 MB / 478.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003691/0.6326, allocations: 1.516 MB / 479.8 MB, free: 12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.6503, allocations: 10.6 MB / 490.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6503, allocations: 0 / 490.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.6503, allocations: 0 / 490.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004576/0.6508, allocations: 0 / 490.4 MB, free: 2.781 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02808/0.6789, allocations: 7.864 MB / 498.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.679, allocations: 8.031 kB / 498.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005025/0.684, allocations: 1.422 MB / 499.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06764/0.7517, allocations: 7.419 MB / 0.4952 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0195/0.7712, allocations: 6.008 MB / 0.5011 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005693/0.7719, allocations: 439.9 kB / 0.5015 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003329/0.7752, allocations: 0.6105 MB / 0.5021 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06251/0.8377, allocations: 20.83 MB / 0.5224 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/0.8381, allocations: 79.3 kB / 0.5225 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001633/0.8398, allocations: 272 kB / 0.5227 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01008/0.8499, allocations: 3.704 MB / 0.5264 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06312/0.9131, allocations: 18.38 MB / 0.5443 GB, free: 7.082 MB / 410.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.7308/1.644, allocations: 74.46 MB / 0.617 GB, free: 117.6 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02996/1.674, allocations: 7.459 MB / 0.6243 GB, free: 116.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04462/1.719, allocations: 18.16 MB / 0.642 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/1.719, allocations: 65.78 kB / 0.6421 GB, free: 108.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=332): time 7.584e-06/1.719, allocations: 0 / 0.6421 GB, free: 108.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=413): time 0.2105/1.929, allocations: 35.72 MB / 0.677 GB, free: 83.48 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/1.929, allocations: 200.3 kB / 0.6772 GB, free: 83.25 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01424/1.944, allocations: 6.93 MB / 0.6839 GB, free: 76.33 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009215/1.945, allocations: 82.88 kB / 0.684 GB, free: 76.25 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004821/1.949, allocations: 5.431 MB / 0.6893 GB, free: 70.82 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002256/1.952, allocations: 1.52 MB / 0.6908 GB, free: 69.32 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/1.953, allocations: 213.2 kB / 0.691 GB, free: 69.11 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006605/1.954, allocations: 0.7524 MB / 0.6918 GB, free: 68.35 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01479/1.969, allocations: 4.129 MB / 0.6958 GB, free: 64.22 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01523/1.984, allocations: 9.958 MB / 0.7055 GB, free: 51.49 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.998, allocations: 6.28 MB / 0.7116 GB, free: 45.37 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/1.998, allocations: 60 kB / 0.7117 GB, free: 45.31 MB / 458.8 MB Notification: Performance of matching and sorting (n=1374) (initialization): time 0.05528/2.054, allocations: 15.83 MB / 0.7272 GB, free: 29.45 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003283/2.054, allocations: 95.94 kB / 0.7272 GB, free: 29.36 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005219/2.055, allocations: 204 kB / 0.7274 GB, free: 29.16 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02192/2.076, allocations: 2.346 MB / 0.7297 GB, free: 26.81 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01468/2.091, allocations: 2.39 MB / 0.7321 GB, free: 24.42 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03096/2.122, allocations: 12.09 MB / 0.7439 GB, free: 12.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.134, allocations: 0.5746 MB / 0.7444 GB, free: 11.62 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/2.136, allocations: 0.5911 MB / 0.745 GB, free: 11.03 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1273): * Single equations (assignments): 1266 * Array equations: 6 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009586/2.146, allocations: 3.759 MB / 0.7487 GB, free: 7.258 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/2.147, allocations: 0.5977 MB / 0.7493 GB, free: 6.652 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02997/2.177, allocations: 8.14 MB / 0.7572 GB, free: 14.47 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001452/2.177, allocations: 69.25 kB / 0.7573 GB, free: 14.4 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/2.177, allocations: 8.5 kB / 0.7573 GB, free: 14.39 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-05/2.177, allocations: 23.94 kB / 0.7573 GB, free: 14.37 MB / 474.8 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.4032/2.581, allocations: 18.77 MB / 0.7756 GB, free: 157.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000101/2.581, allocations: 12 kB / 0.7757 GB, free: 157.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006292/2.587, allocations: 0.6102 MB / 0.7763 GB, free: 157.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/2.604, allocations: 1.755 MB / 0.778 GB, free: 157.2 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/2.605, allocations: 79.31 kB / 0.778 GB, free: 157.2 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0286/2.633, allocations: 10.15 MB / 0.788 GB, free: 154.3 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-05/2.633, allocations: 26.59 kB / 0.788 GB, free: 154.3 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04012/2.674, allocations: 14.05 MB / 0.8017 GB, free: 147.2 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005753/2.679, allocations: 1.171 MB / 0.8028 GB, free: 146.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/2.682, allocations: 74.8 kB / 0.8029 GB, free: 146.8 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007452/2.689, allocations: 209 kB / 0.8031 GB, free: 146.8 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001944/2.691, allocations: 253.2 kB / 0.8034 GB, free: 146.8 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000668/2.692, allocations: 114.9 kB / 0.8035 GB, free: 146.7 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01376/2.706, allocations: 4.382 MB / 0.8077 GB, free: 145.3 MB / 474.8 MB Notification: Performance of sort global known variables: time 9.11e-07/2.706, allocations: 7.906 kB / 0.8078 GB, free: 145.3 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01701/2.723, allocations: 1.934 MB / 0.8096 GB, free: 145.1 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * 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 (325): * Single equations (assignments): 318 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03957/2.762, allocations: 17 MB / 0.8262 GB, free: 134.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02244/2.785, allocations: 9.755 MB / 0.8358 GB, free: 125.4 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/2.785, allocations: 0 / 0.8358 GB, free: 125.4 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008141/2.793, allocations: 3.312 MB / 0.839 GB, free: 122.1 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006089/2.799, allocations: 0.7273 MB / 0.8397 GB, free: 121.4 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3759/3.175, allocations: 176.9 MB / 1.012 GB, free: 96.5 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0135/3.189, allocations: 5.748 MB / 1.018 GB, free: 95.59 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01554/3.204, allocations: 3.317 MB / 1.021 GB, free: 95.49 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008607/3.213, allocations: 3.688 MB / 1.025 GB, free: 95.41 MB / 474.8 MB Notification: Performance of SimCode: time 1.292e-06/3.213, allocations: 0 / 1.025 GB, free: 95.41 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6002/3.813, allocations: 141.8 MB / 1.163 GB, free: 141.2 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/3.813, allocations: 204.6 kB / 1.164 GB, free: 141 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/11.71, allocations: 0 / 1.164 GB, free: 141 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat does not exist to compare? outputFormat=mat