Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces2",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.01177/0.01177, allocations: 104.4 kB / 15.05 MB, free: 6.023 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.001259/0.001259, allocations: 169.1 kB / 15.93 MB, free: 5.965 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.679/1.679, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.3765/0.3765, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005784, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1409, allocations: 48.7 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.508/0.649, allocations: 82.67 MB / 455 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05511/0.7041, allocations: 18.57 MB / 473.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02196/0.7262, allocations: 413 kB / 473.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01525/0.7415, allocations: 4.265 MB / 478.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04855/0.7901, allocations: 11.83 MB / 490 MB, free: 13.24 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008025/0.7981, allocations: 1.019 MB / 491 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.09125/0.8895, allocations: 26.1 MB / 0.505 GB, free: 3.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01751/0.907, allocations: 7.369 MB / 0.5122 GB, free: 11.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.9122, allocations: 1.721 MB / 0.5139 GB, free: 9.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005947/0.9182, allocations: 2.391 MB / 0.5162 GB, free: 7.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001968/0.9202, allocations: 240 kB / 0.5165 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.9252, allocations: 1.155 MB / 0.5176 GB, free: 6.113 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005534/0.9308, allocations: 2.759 MB / 0.5203 GB, free: 3.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003368/0.9343, allocations: 1.384 MB / 0.5216 GB, free: 1.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01623/0.9505, allocations: 9.395 MB / 0.5308 GB, free: 8.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9506, allocations: 0 / 0.5308 GB, free: 8.531 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.9506, allocations: 0 / 0.5308 GB, free: 8.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004436/0.9511, allocations: 0 / 0.5308 GB, free: 8.531 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.02926/0.9803, allocations: 7.214 MB / 0.5379 GB, free: 1.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.9804, allocations: 8.031 kB / 0.5379 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004314/0.9847, allocations: 1.112 MB / 0.539 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1371/1.122, allocations: 11.17 MB / 0.5499 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01962/1.142, allocations: 5.621 MB / 0.5553 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006377/1.142, allocations: 389.9 kB / 0.5557 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002893/1.145, allocations: 0.5113 MB / 0.5562 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04863/1.194, allocations: 15.77 MB / 0.5716 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003944/1.194, allocations: 75.31 kB / 0.5717 GB, free: 13.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002098/1.197, allocations: 247.8 kB / 0.5719 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007642/1.204, allocations: 2.751 MB / 0.5746 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04422/1.248, allocations: 12.9 MB / 0.5872 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7171/1.966, allocations: 59.83 MB / 0.6456 GB, free: 130.6 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02411/1.99, allocations: 5.912 MB / 0.6514 GB, free: 127.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/1.99, allocations: 58.55 kB / 0.6515 GB, free: 127.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/1.99, allocations: 61.75 kB / 0.6515 GB, free: 127.2 MB / 458.8 MB Notification: Performance of pre-optimization done (n=242): time 7.114e-06/1.99, allocations: 0 / 0.6515 GB, free: 127.2 MB / 458.8 MB Notification: Performance of matching and sorting (n=260): time 0.1039/2.094, allocations: 23.45 MB / 0.6744 GB, free: 108.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/2.094, allocations: 257.2 kB / 0.6747 GB, free: 107.9 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0176/2.112, allocations: 7.322 MB / 0.6818 GB, free: 100.6 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007836/2.113, allocations: 61.7 kB / 0.6819 GB, free: 100.5 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004711/2.118, allocations: 4.852 MB / 0.6866 GB, free: 95.66 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001812/2.12, allocations: 0.9977 MB / 0.6876 GB, free: 94.67 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/2.121, allocations: 169.2 kB / 0.6878 GB, free: 94.51 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006755/2.122, allocations: 0.6613 MB / 0.6884 GB, free: 93.84 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008007/2.13, allocations: 2.955 MB / 0.6913 GB, free: 90.88 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01186/2.142, allocations: 8.039 MB / 0.6991 GB, free: 80.39 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/2.153, allocations: 4.773 MB / 0.7038 GB, free: 75.62 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001887/2.153, allocations: 52 kB / 0.7038 GB, free: 75.57 MB / 458.8 MB Notification: Performance of matching and sorting (n=1090) (initialization): time 0.03207/2.185, allocations: 11.51 MB / 0.7151 GB, free: 64.05 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/2.186, allocations: 80 kB / 0.7152 GB, free: 63.97 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002673/2.186, allocations: 180 kB / 0.7153 GB, free: 63.79 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/2.19, allocations: 1.027 MB / 0.7163 GB, free: 62.76 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01242/2.203, allocations: 2.016 MB / 0.7183 GB, free: 60.74 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/2.219, allocations: 9.591 MB / 0.7277 GB, free: 50.78 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009984/2.229, allocations: 472.6 kB / 0.7281 GB, free: 50.32 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/2.231, allocations: 0.4961 MB / 0.7286 GB, free: 49.82 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1027): * Single equations (assignments): 1021 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00821/2.239, allocations: 3.193 MB / 0.7317 GB, free: 46.61 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/2.24, allocations: 0.5784 MB / 0.7323 GB, free: 46.03 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/2.255, allocations: 4.704 MB / 0.7369 GB, free: 41.3 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/2.255, allocations: 28 kB / 0.7369 GB, free: 41.27 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.448e-05/2.255, allocations: 11.95 kB / 0.7369 GB, free: 41.26 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-05/2.255, allocations: 11.95 kB / 0.7369 GB, free: 41.25 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03423/2.289, allocations: 11.84 MB / 0.7485 GB, free: 29.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/2.289, allocations: 4 kB / 0.7485 GB, free: 29.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005128/2.294, allocations: 0.507 MB / 0.749 GB, free: 28.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003524/2.298, allocations: 0.7127 MB / 0.7497 GB, free: 28.17 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006035/2.299, allocations: 56.92 kB / 0.7497 GB, free: 28.12 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/2.313, allocations: 8.657 MB / 0.7582 GB, free: 19.07 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/2.313, allocations: 5.25 kB / 0.7582 GB, free: 19.06 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/2.336, allocations: 8.204 MB / 0.7662 GB, free: 10.76 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005176/2.341, allocations: 1.048 MB / 0.7672 GB, free: 9.684 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002534/2.344, allocations: 48 kB / 0.7673 GB, free: 9.637 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007304/2.351, allocations: 151.8 kB / 0.7674 GB, free: 9.488 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/2.352, allocations: 145.7 kB / 0.7676 GB, free: 9.344 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000634/2.353, allocations: 73.55 kB / 0.7676 GB, free: 9.273 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01591/2.369, allocations: 4.724 MB / 0.7722 GB, free: 4.57 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.72e-07/2.369, allocations: 4 kB / 0.7723 GB, free: 4.566 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01503/2.384, allocations: 1.553 MB / 0.7738 GB, free: 3.016 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.338/2.722, allocations: 9.061 MB / 0.7826 GB, free: 153.4 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02101/2.743, allocations: 7.439 MB / 0.7899 GB, free: 150.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/2.743, allocations: 0 / 0.7899 GB, free: 150.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006774/2.75, allocations: 2.536 MB / 0.7924 GB, free: 149.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007116/2.757, allocations: 0.7527 MB / 0.7931 GB, free: 149.4 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5061/3.263, allocations: 186.5 MB / 0.9753 GB, free: 142.8 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01155/3.275, allocations: 5.029 MB / 0.9802 GB, free: 138.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01342/3.289, allocations: 2.76 MB / 0.9829 GB, free: 136.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007879/3.296, allocations: 3.236 MB / 0.986 GB, free: 133 MB / 458.8 MB Notification: Performance of SimCode: time 2.144e-06/3.297, allocations: 0 / 0.986 GB, free: 133 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6057/3.902, allocations: 125.6 MB / 1.109 GB, free: 112.6 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/3.903, allocations: 198.5 kB / 1.109 GB, free: 112.4 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/11.6, allocations: 1.859 kB / 1.109 GB, free: 112.4 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat