Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force",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.01057/0.01058, allocations: 111.8 kB / 15.06 MB, free: 5.984 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.001203/0.001203, allocations: 175.4 kB / 15.95 MB, free: 5.918 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.89/1.89, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2622/0.2622, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004882, allocations: 16 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4104/0.5249, allocations: 73.81 MB / 489.8 MB, free: 21.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04275/0.5677, allocations: 16.59 MB / 0.4946 GB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01964/0.5874, allocations: 363.6 kB / 0.4949 GB, free: 9.895 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.6, allocations: 3.794 MB / 0.4986 GB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03988/0.6399, allocations: 10.55 MB / 0.5089 GB, free: 3.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006338/0.6463, allocations: 0.9019 MB / 0.5098 GB, free: 3.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05325/0.6996, allocations: 18.35 MB / 0.5277 GB, free: 9.324 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.7159, allocations: 7.354 MB / 0.5349 GB, free: 1.945 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/0.7203, allocations: 1.62 MB / 0.5365 GB, free: 328 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005047/0.7254, allocations: 2.177 MB / 0.5386 GB, free: 14.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.727, allocations: 228 kB / 0.5388 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.7312, allocations: 1.042 MB / 0.5398 GB, free: 12.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004812/0.7361, allocations: 2.568 MB / 0.5423 GB, free: 10.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.7391, allocations: 1.31 MB / 0.5436 GB, free: 8.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.7538, allocations: 8.718 MB / 0.5521 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7539, allocations: 0 / 0.5521 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.7539, allocations: 0 / 0.5521 GB, free: 244 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004219/0.7543, allocations: 0 / 0.5521 GB, free: 244 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02715/0.7815, allocations: 7.048 MB / 0.559 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7816, allocations: 8.031 kB / 0.559 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003916/0.7855, allocations: 1.091 MB / 0.5601 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08922/0.8748, allocations: 8.256 MB / 0.5682 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/0.8906, allocations: 4.77 MB / 0.5728 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/0.8911, allocations: 373.6 kB / 0.5732 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/0.8935, allocations: 0.4957 MB / 0.5737 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04777/0.9413, allocations: 15.84 MB / 0.5891 GB, free: 9.168 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003305/0.9417, allocations: 69.08 kB / 0.5892 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001796/0.9435, allocations: 235.8 kB / 0.5894 GB, free: 8.871 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00736/0.9509, allocations: 2.778 MB / 0.5921 GB, free: 6.086 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0453/0.9963, allocations: 13.36 MB / 0.6052 GB, free: 8.688 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4322/1.429, allocations: 60.75 MB / 0.6645 GB, free: 114.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/1.462, allocations: 7.721 MB / 0.672 GB, free: 113.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02472/1.486, allocations: 9.698 MB / 0.6815 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/1.487, allocations: 63.47 kB / 0.6816 GB, free: 109.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=273): time 6.893e-06/1.487, allocations: 0 / 0.6816 GB, free: 109.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=315): time 0.1562/1.643, allocations: 33.97 MB / 0.7147 GB, free: 96.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.643, allocations: 243.1 kB / 0.715 GB, free: 95.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01596/1.659, allocations: 7.084 MB / 0.7219 GB, free: 91.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.66, allocations: 73.7 kB / 0.722 GB, free: 91.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004613/1.665, allocations: 4.668 MB / 0.7265 GB, free: 86.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002334/1.667, allocations: 1.181 MB / 0.7277 GB, free: 85.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/1.669, allocations: 173.4 kB / 0.7278 GB, free: 85.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006367/1.669, allocations: 0.6898 MB / 0.7285 GB, free: 84.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009625/1.679, allocations: 3.65 MB / 0.7321 GB, free: 81.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/1.693, allocations: 8.751 MB / 0.7406 GB, free: 69.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/1.706, allocations: 5.529 MB / 0.746 GB, free: 64.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001594/1.706, allocations: 52 kB / 0.7461 GB, free: 64.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03794/1.744, allocations: 13.74 MB / 0.7595 GB, free: 50.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.744, allocations: 88.25 kB / 0.7596 GB, free: 50.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002397/1.744, allocations: 182.1 kB / 0.7597 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007422/1.752, allocations: 1.79 MB / 0.7615 GB, free: 48.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/1.765, allocations: 2.105 MB / 0.7636 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02347/1.788, allocations: 12.19 MB / 0.7755 GB, free: 33.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/1.799, allocations: 0.5148 MB / 0.776 GB, free: 33.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/1.801, allocations: 0.5234 MB / 0.7765 GB, free: 32.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 60 (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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1079): * Single equations (assignments): 1072 * Array equations: 5 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008461/1.81, allocations: 3.149 MB / 0.7795 GB, free: 29.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/1.811, allocations: 0.5861 MB / 0.7801 GB, free: 29.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02553/1.837, allocations: 7.004 MB / 0.787 GB, free: 22.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.572e-05/1.837, allocations: 35.28 kB / 0.787 GB, free: 22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-05/1.837, allocations: 11.98 kB / 0.787 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/1.837, allocations: 15.95 kB / 0.787 GB, free: 21.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04476/1.882, allocations: 15.52 MB / 0.8022 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/1.882, allocations: 16.05 kB / 0.8022 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005419/1.888, allocations: 0.5538 MB / 0.8027 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006771/1.894, allocations: 1.511 MB / 0.8042 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007209/1.895, allocations: 56 kB / 0.8043 GB, free: 4.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3417/2.237, allocations: 11.4 MB / 0.8154 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/2.237, allocations: 8.375 kB / 0.8154 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03032/2.267, allocations: 12.24 MB / 0.8273 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004688/2.272, allocations: 1.183 MB / 0.8285 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002297/2.274, allocations: 63.77 kB / 0.8286 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005918/2.28, allocations: 213.4 kB / 0.8288 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001443/2.282, allocations: 193.1 kB / 0.8289 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008664/2.283, allocations: 83.55 kB / 0.829 GB, free: 129.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01245/2.295, allocations: 4.578 MB / 0.8335 GB, free: 127.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.295, allocations: 0 / 0.8335 GB, free: 127.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01138/2.307, allocations: 1.66 MB / 0.8351 GB, free: 127.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (260): * Single equations (assignments): 255 * 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 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0335/2.34, allocations: 13.63 MB / 0.8484 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02237/2.363, allocations: 8.93 MB / 0.8572 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.363, allocations: 0 / 0.8572 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.373, allocations: 3.562 MB / 0.8606 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006066/2.379, allocations: 0.6847 MB / 0.8613 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4078/2.787, allocations: 158.8 MB / 1.016 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009524/2.796, allocations: 4.931 MB / 1.021 GB, free: 151.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01251/2.809, allocations: 2.956 MB / 1.024 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007369/2.816, allocations: 3.136 MB / 1.027 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/2.816, allocations: 2.75 kB / 1.027 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3147/3.131, allocations: 130.4 MB / 1.154 GB, free: 52.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/3.131, allocations: 186.8 kB / 1.155 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/11.31, allocations: 0 / 1.155 GB, free: 52.29 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat