Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3.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.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque3",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.01136/0.01137, allocations: 104.5 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.0012/0.0012, allocations: 173 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.775/1.775, allocations: 170.9 MB / 187.5 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.2741/0.2741, allocations: 38.1 MB / 265.1 MB, free: 3.957 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006623, allocations: 15.98 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1206, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.5802/0.7008, allocations: 143.5 MB / 0.5037 GB, free: 4.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.09321/0.7941, allocations: 30.85 MB / 0.5338 GB, free: 5.438 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03246/0.8266, allocations: 0.6937 MB / 0.5345 GB, free: 4.742 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02966/0.8563, allocations: 7.419 MB / 0.5418 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09207/0.9485, allocations: 20.12 MB / 0.5614 GB, free: 9.113 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.9628, allocations: 1.564 MB / 0.5629 GB, free: 7.551 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1139/1.077, allocations: 35.8 MB / 0.5979 GB, free: 3.715 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.486/1.563, allocations: 14.6 MB / 0.6122 GB, free: 38.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009651/1.572, allocations: 2.821 MB / 0.6149 GB, free: 38.19 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/1.584, allocations: 3.935 MB / 0.6187 GB, free: 38.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004316/1.588, allocations: 435 kB / 0.6192 GB, free: 38.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007516/1.596, allocations: 1.175 MB / 0.6203 GB, free: 38.18 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01063/1.606, allocations: 4.681 MB / 0.6249 GB, free: 38.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007678/1.614, allocations: 2.351 MB / 0.6272 GB, free: 38.14 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03014/1.644, allocations: 16.06 MB / 0.6429 GB, free: 33.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.644, allocations: 0 / 0.6429 GB, free: 33.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.017e-06/1.644, allocations: 0 / 0.6429 GB, free: 33.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009287/1.645, allocations: 1.859 kB / 0.6429 GB, free: 33.79 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 0.05542/1.701, allocations: 12.38 MB / 0.655 GB, free: 26.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.701, allocations: 16.77 kB / 0.655 GB, free: 26.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008557/1.71, allocations: 1.961 MB / 0.6569 GB, free: 26.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.196/1.906, allocations: 14.81 MB / 0.6713 GB, free: 16.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02843/1.934, allocations: 8.58 MB / 0.6797 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009746/1.935, allocations: 0.7061 MB / 0.6804 GB, free: 9.938 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005772/1.941, allocations: 0.9475 MB / 0.6813 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09209/2.033, allocations: 28.23 MB / 0.7089 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009061/2.034, allocations: 107.4 kB / 0.709 GB, free: 3.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005514/2.04, allocations: 443.6 kB / 0.7094 GB, free: 3.633 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01289/2.052, allocations: 4.732 MB / 0.7141 GB, free: 15.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09066/2.143, allocations: 23.8 MB / 0.7373 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7783/2.922, allocations: 103.2 MB / 0.8381 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06712/2.989, allocations: 14.22 MB / 0.852 GB, free: 48.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004182/2.993, allocations: 2.348 MB / 0.8543 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/2.993, allocations: 96.81 kB / 0.8544 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=559): time 1.023e-05/2.993, allocations: 0 / 0.8544 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=643): time 0.3393/3.333, allocations: 66.24 MB / 0.9191 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/3.333, allocations: 331.3 kB / 0.9194 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02921/3.362, allocations: 10.74 MB / 0.9299 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002449/3.365, allocations: 122 kB / 0.93 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.008005/3.373, allocations: 7.703 MB / 0.9375 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004827/3.377, allocations: 2.338 MB / 0.9398 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003755/3.381, allocations: 286.6 kB / 0.9401 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001913/3.383, allocations: 0.91 MB / 0.941 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0222/3.406, allocations: 6.674 MB / 0.9475 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03103/3.437, allocations: 14.19 MB / 0.9613 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/3.465, allocations: 9.547 MB / 0.9707 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004079/3.466, allocations: 76 kB / 0.9707 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1853) (initialization): time 0.08674/3.552, allocations: 23.85 MB / 0.994 GB, free: 3.207 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002948/3.553, allocations: 124 kB / 0.9941 GB, free: 3.086 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005444/3.553, allocations: 264 kB / 0.9944 GB, free: 2.828 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01787/3.571, allocations: 3.478 MB / 0.9978 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02781/3.599, allocations: 3.417 MB / 1.001 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.456/4.055, allocations: 24.52 MB / 1.025 GB, free: 253 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02035/4.076, allocations: 0.8575 MB / 1.026 GB, free: 253 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00554/4.081, allocations: 0.806 MB / 1.027 GB, free: 253 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1193 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1733): * Single equations (assignments): 1726 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02149/4.103, allocations: 5.329 MB / 1.032 GB, free: 251.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005469/4.108, allocations: 0.9433 MB / 1.033 GB, free: 251.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1002/4.208, allocations: 15.03 MB / 1.048 GB, free: 246.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001287/4.209, allocations: 62.25 kB / 1.048 GB, free: 246.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/4.209, allocations: 20.94 kB / 1.048 GB, free: 246.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002004/4.209, allocations: 28.88 kB / 1.048 GB, free: 246.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1151/4.324, allocations: 32 MB / 1.079 GB, free: 235.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001075/4.324, allocations: 11.44 kB / 1.079 GB, free: 235.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01219/4.337, allocations: 1.15 MB / 1.08 GB, free: 235.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01414/4.351, allocations: 3.06 MB / 1.083 GB, free: 234 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002248/4.353, allocations: 124.2 kB / 1.083 GB, free: 233.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04681/4.4, allocations: 23 MB / 1.106 GB, free: 213.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/4.4, allocations: 9.156 kB / 1.106 GB, free: 213.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06799/4.468, allocations: 24.64 MB / 1.13 GB, free: 190.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009026/4.477, allocations: 2.097 MB / 1.132 GB, free: 188.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004755/4.482, allocations: 112 kB / 1.132 GB, free: 188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01181/4.494, allocations: 487.7 kB / 1.132 GB, free: 187.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003118/4.497, allocations: 387.3 kB / 1.133 GB, free: 187.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001391/4.498, allocations: 164.5 kB / 1.133 GB, free: 187 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01862/4.517, allocations: 6.96 MB / 1.14 GB, free: 180 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.82e-07/4.517, allocations: 3.906 kB / 1.14 GB, free: 180 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02034/4.537, allocations: 2.985 MB / 1.142 GB, free: 177.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (554): * Single equations (assignments): 547 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06826/4.606, allocations: 25.85 MB / 1.168 GB, free: 151 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04242/4.648, allocations: 16.56 MB / 1.184 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/4.648, allocations: 4 kB / 1.184 GB, free: 134.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02287/4.671, allocations: 7.328 MB / 1.191 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01251/4.684, allocations: 1.195 MB / 1.192 GB, free: 126.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7255/5.409, allocations: 308.4 MB / 1.493 GB, free: 107.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02055/5.43, allocations: 8.298 MB / 1.502 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02481/5.455, allocations: 4.721 MB / 1.506 GB, free: 102 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01616/5.471, allocations: 5.882 MB / 1.512 GB, free: 96.55 MB / 0.5886 GB Notification: Performance of SimCode: time 1.673e-06/5.471, allocations: 0 / 1.512 GB, free: 96.55 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8163/6.287, allocations: 225.7 MB / 1.732 GB, free: 172.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/6.288, allocations: 197.5 kB / 1.732 GB, free: 172.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/19.47, allocations: 0 / 1.732 GB, free: 172.6 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat