Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01108/0.01109, allocations: 106 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.001198/0.001198, allocations: 166.4 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.56/1.56, allocations: 170.9 MB / 187.5 MB, free: 0.8555 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.2475/0.2475, allocations: 38.1 MB / 265.1 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006291/0.0006293, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09206, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4009/0.493, allocations: 73.77 MB / 446.1 MB, free: 9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04667/0.5397, allocations: 16.58 MB / 462.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01886/0.5586, allocations: 370 kB / 463 MB, free: 7.754 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01534/0.574, allocations: 3.785 MB / 466.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04207/0.6162, allocations: 10.55 MB / 477.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00687/0.6231, allocations: 0.9099 MB / 478.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05336/0.6765, allocations: 18.34 MB / 496.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01597/0.6926, allocations: 7.356 MB / 0.4921 GB, free: 144 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/0.6971, allocations: 1.608 MB / 0.4937 GB, free: 14.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005274/0.7025, allocations: 2.177 MB / 0.4958 GB, free: 12.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.7042, allocations: 228 kB / 0.496 GB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004294/0.7086, allocations: 1.034 MB / 0.4971 GB, free: 11.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004879/0.7135, allocations: 2.572 MB / 0.4996 GB, free: 8.508 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.7164, allocations: 1.306 MB / 0.5008 GB, free: 7.191 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.7308, allocations: 8.707 MB / 0.5093 GB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7309, allocations: 0 / 0.5093 GB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7309, allocations: 0 / 0.5093 GB, free: 14.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003849/0.7313, allocations: 0 / 0.5093 GB, free: 14.46 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: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02739/0.7587, allocations: 7.041 MB / 0.5162 GB, free: 7.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.7588, allocations: 8.031 kB / 0.5162 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003948/0.7627, allocations: 1.099 MB / 0.5173 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09118/0.854, allocations: 8.249 MB / 0.5254 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/0.8709, allocations: 4.77 MB / 0.53 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006371/0.8716, allocations: 373.6 kB / 0.5304 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/0.8743, allocations: 499.7 kB / 0.5308 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04891/0.9233, allocations: 15.82 MB / 0.5463 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003453/0.9237, allocations: 79.19 kB / 0.5464 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002126/0.9258, allocations: 231.8 kB / 0.5466 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00767/0.9335, allocations: 2.774 MB / 0.5493 GB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04645/0.98, allocations: 13.35 MB / 0.5623 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4384/1.418, allocations: 60.69 MB / 0.6216 GB, free: 134 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03409/1.453, allocations: 7.718 MB / 0.6291 GB, free: 133.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02306/1.476, allocations: 9.708 MB / 0.6386 GB, free: 128.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/1.476, allocations: 62.34 kB / 0.6387 GB, free: 128.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=273): time 8.026e-06/1.476, allocations: 0 / 0.6387 GB, free: 128.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=315): time 0.1417/1.618, allocations: 33.96 MB / 0.6719 GB, free: 102 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/1.618, allocations: 243.3 kB / 0.6721 GB, free: 101.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.631, allocations: 7.088 MB / 0.679 GB, free: 94.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008938/1.632, allocations: 73.7 kB / 0.6791 GB, free: 94.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003773/1.636, allocations: 4.664 MB / 0.6836 GB, free: 89.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.638, allocations: 1.185 MB / 0.6848 GB, free: 88.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/1.639, allocations: 176.8 kB / 0.685 GB, free: 88.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005358/1.64, allocations: 0.6896 MB / 0.6856 GB, free: 87.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009039/1.649, allocations: 3.64 MB / 0.6892 GB, free: 84.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/1.661, allocations: 8.752 MB / 0.6977 GB, free: 73.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.673, allocations: 5.534 MB / 0.7031 GB, free: 67.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.673, allocations: 52 kB / 0.7032 GB, free: 67.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03623/1.709, allocations: 13.74 MB / 0.7166 GB, free: 53.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/1.71, allocations: 84 kB / 0.7167 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/1.71, allocations: 180 kB / 0.7169 GB, free: 53.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007574/1.717, allocations: 1.794 MB / 0.7186 GB, free: 51.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01306/1.731, allocations: 2.102 MB / 0.7207 GB, free: 49.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/1.753, allocations: 12.19 MB / 0.7326 GB, free: 37.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/1.764, allocations: 0.5241 MB / 0.7331 GB, free: 36.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/1.766, allocations: 0.5234 MB / 0.7336 GB, free: 36.25 MB / 458.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.007599/1.773, allocations: 3.147 MB / 0.7367 GB, free: 33.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/1.775, allocations: 0.5793 MB / 0.7372 GB, free: 32.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/1.794, allocations: 7.009 MB / 0.7441 GB, free: 25.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-05/1.794, allocations: 33.8 kB / 0.7441 GB, free: 25.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-05/1.794, allocations: 8 kB / 0.7441 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.753e-05/1.794, allocations: 19.94 kB / 0.7441 GB, free: 25.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04184/1.836, allocations: 15.54 MB / 0.7593 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/1.836, allocations: 4 kB / 0.7593 GB, free: 9.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005383/1.842, allocations: 0.56 MB / 0.7598 GB, free: 9.277 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006821/1.849, allocations: 1.514 MB / 0.7613 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000766/1.849, allocations: 59.98 kB / 0.7614 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3243/2.174, allocations: 11.38 MB / 0.7725 GB, free: 152 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.331e-05/2.174, allocations: 9.469 kB / 0.7725 GB, free: 152 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04366/2.217, allocations: 12.24 MB / 0.7845 GB, free: 147.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005984/2.224, allocations: 1.186 MB / 0.7856 GB, free: 147.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002813/2.226, allocations: 59.66 kB / 0.7857 GB, free: 147.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007868/2.234, allocations: 214.7 kB / 0.7859 GB, free: 147.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001741/2.236, allocations: 196.8 kB / 0.7861 GB, free: 147.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005409/2.237, allocations: 81.38 kB / 0.7861 GB, free: 147.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0149/2.252, allocations: 4.585 MB / 0.7906 GB, free: 145.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.462e-06/2.252, allocations: 0 / 0.7906 GB, free: 145.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01695/2.269, allocations: 1.661 MB / 0.7922 GB, free: 145.4 MB / 458.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.03352/2.302, allocations: 13.62 MB / 0.8055 GB, free: 138.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01992/2.322, allocations: 8.937 MB / 0.8143 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/2.322, allocations: 0 / 0.8143 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009576/2.332, allocations: 3.555 MB / 0.8177 GB, free: 129.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/2.338, allocations: 0.7039 MB / 0.8184 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4052/2.743, allocations: 158.7 MB / 0.9735 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01086/2.754, allocations: 4.925 MB / 0.9783 GB, free: 111.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01422/2.768, allocations: 2.952 MB / 0.9811 GB, free: 111.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007335/2.776, allocations: 3.14 MB / 0.9842 GB, free: 111.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/2.776, allocations: 3.938 kB / 0.9842 GB, free: 111.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5762/3.352, allocations: 130.3 MB / 1.112 GB, free: 118.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/3.352, allocations: 199.4 kB / 1.112 GB, free: 118.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/11.32, allocations: 1.203 kB / 1.112 GB, free: 118.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat