Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.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.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque",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.01145/0.01145, allocations: 107 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.001228/0.001228, allocations: 166.8 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.725/1.725, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.2571/0.2571, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004873, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09387, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4151/0.5091, allocations: 83.62 MB / 455.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05235/0.5615, allocations: 18.56 MB / 474.5 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02043/0.582, allocations: 425 kB / 474.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.5972, allocations: 4.317 MB / 479.2 MB, free: 2.316 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05582/0.6531, allocations: 11.98 MB / 491.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009094/0.6623, allocations: 1.268 MB / 492.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01912/0.6815, allocations: 4.662 MB / 497.1 MB, free: 7.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03046/0.712, allocations: 9.212 MB / 0.4944 GB, free: 13.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007788/0.7199, allocations: 2.145 MB / 0.4965 GB, free: 11.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006487/0.7264, allocations: 2.753 MB / 0.4992 GB, free: 8.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.7287, allocations: 296 kB / 0.4995 GB, free: 8.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.7331, allocations: 0.9598 MB / 0.5005 GB, free: 7.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006095/0.7393, allocations: 3.23 MB / 0.5036 GB, free: 4.441 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003572/0.7429, allocations: 1.602 MB / 0.5052 GB, free: 2.828 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01977/0.7627, allocations: 10.45 MB / 0.5154 GB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7628, allocations: 0 / 0.5154 GB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.562e-06/0.7628, allocations: 4 kB / 0.5154 GB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004665/0.7633, allocations: 4 kB / 0.5154 GB, free: 8.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03501/0.7983, allocations: 8.144 MB / 0.5233 GB, free: 108 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.7984, allocations: 8.031 kB / 0.5233 GB, free: 100 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005882/0.8043, allocations: 1.365 MB / 0.5247 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03116/0.8355, allocations: 3.14 MB / 0.5277 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/0.8532, allocations: 5.725 MB / 0.5333 GB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007176/0.854, allocations: 488 kB / 0.5338 GB, free: 5.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003009/0.857, allocations: 0.6051 MB / 0.5344 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06055/0.9176, allocations: 19.62 MB / 0.5536 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/0.9181, allocations: 79.25 kB / 0.5536 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/0.9209, allocations: 295.7 kB / 0.5539 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01038/0.9313, allocations: 3.636 MB / 0.5575 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09261/1.024, allocations: 15.31 MB / 0.5724 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7544/1.778, allocations: 73.2 MB / 0.6439 GB, free: 117.2 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02755/1.806, allocations: 6.116 MB / 0.6499 GB, free: 115.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02957/1.836, allocations: 11.32 MB / 0.6609 GB, free: 109.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/1.836, allocations: 58.62 kB / 0.661 GB, free: 109.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=250): time 7.124e-06/1.836, allocations: 0 / 0.661 GB, free: 109.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=274): time 0.06881/1.905, allocations: 16.88 MB / 0.6775 GB, free: 99.62 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.905, allocations: 161 kB / 0.6776 GB, free: 99.46 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/1.919, allocations: 7.19 MB / 0.6846 GB, free: 93.91 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005547/1.919, allocations: 67.73 kB / 0.6847 GB, free: 93.84 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004548/1.924, allocations: 5.738 MB / 0.6903 GB, free: 88.1 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.925, allocations: 1.055 MB / 0.6913 GB, free: 87.05 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007145/1.926, allocations: 186.7 kB / 0.6915 GB, free: 86.88 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005099/1.927, allocations: 0.7031 MB / 0.6922 GB, free: 86.16 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006901/1.934, allocations: 2.699 MB / 0.6948 GB, free: 83.46 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/1.944, allocations: 8.53 MB / 0.7032 GB, free: 72.11 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.956, allocations: 4.637 MB / 0.7077 GB, free: 67.47 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002143/1.956, allocations: 60 kB / 0.7078 GB, free: 67.41 MB / 458.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.0292/1.985, allocations: 10.92 MB / 0.7184 GB, free: 56.49 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001646/1.986, allocations: 99.95 kB / 0.7185 GB, free: 56.39 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003317/1.986, allocations: 212 kB / 0.7187 GB, free: 56.19 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/1.986, allocations: 304.7 kB / 0.719 GB, free: 55.89 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/1.999, allocations: 2.185 MB / 0.7211 GB, free: 53.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/1.999, allocations: 406.4 kB / 0.7215 GB, free: 53.3 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009818/2.009, allocations: 470.5 kB / 0.722 GB, free: 52.85 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/2.011, allocations: 0.5717 MB / 0.7225 GB, free: 52.28 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1176): * Single equations (assignments): 1165 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009358/2.02, allocations: 3.745 MB / 0.7262 GB, free: 48.52 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/2.022, allocations: 0.5861 MB / 0.7268 GB, free: 47.93 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008486/2.03, allocations: 2.984 MB / 0.7297 GB, free: 44.92 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-05/2.03, allocations: 28 kB / 0.7297 GB, free: 44.89 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/2.03, allocations: 4 kB / 0.7297 GB, free: 44.89 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.025e-05/2.031, allocations: 11.95 kB / 0.7297 GB, free: 44.88 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0533/2.084, allocations: 25.15 MB / 0.7543 GB, free: 18.85 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001469/2.084, allocations: 60 kB / 0.7543 GB, free: 18.79 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003909/2.088, allocations: 0.6123 MB / 0.7549 GB, free: 18.18 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/2.088, allocations: 95.05 kB / 0.755 GB, free: 18.09 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005576/2.089, allocations: 148.8 kB / 0.7552 GB, free: 17.94 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.494e-05/2.089, allocations: 123.6 kB / 0.7553 GB, free: 17.82 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.424e-05/2.089, allocations: 99.56 kB / 0.7554 GB, free: 17.72 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3345/2.423, allocations: 17.36 MB / 0.7723 GB, free: 147.2 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/2.426, allocations: 0.7378 MB / 0.773 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002104/2.428, allocations: 147.5 kB / 0.7732 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00537/2.434, allocations: 156.7 kB / 0.7733 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/2.435, allocations: 417 kB / 0.7737 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00046/2.435, allocations: 179.1 kB / 0.7739 GB, free: 147.1 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0144/2.45, allocations: 4.556 MB / 0.7784 GB, free: 146.7 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.32e-07/2.45, allocations: 0.7188 kB / 0.7784 GB, free: 146.7 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01319/2.463, allocations: 1.578 MB / 0.7799 GB, free: 146.5 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * 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 (326): * Single equations (assignments): 323 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01904/2.482, allocations: 29.72 MB / 0.8089 GB, free: 117.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01602/2.498, allocations: 6.341 MB / 0.8151 GB, free: 115.4 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.503e-05/2.498, allocations: 7.938 kB / 0.8151 GB, free: 115.4 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/2.502, allocations: 1.637 MB / 0.8167 GB, free: 114.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008424/2.511, allocations: 0.9093 MB / 0.8176 GB, free: 114.6 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4117/2.923, allocations: 180.1 MB / 0.9935 GB, free: 113.9 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01588/2.939, allocations: 5.963 MB / 0.9993 GB, free: 113 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01538/2.954, allocations: 2.895 MB / 1.002 GB, free: 112.9 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007982/2.962, allocations: 3.812 MB / 1.006 GB, free: 111.7 MB / 474.8 MB Notification: Performance of SimCode: time 1.804e-06/2.962, allocations: 2.406 kB / 1.006 GB, free: 111.7 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5753/3.537, allocations: 121.2 MB / 1.124 GB, free: 126.7 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/3.538, allocations: 171.6 kB / 1.124 GB, free: 126.4 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/11.1, allocations: 0 / 1.124 GB, free: 126.4 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat