Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.01512/0.01512, allocations: 107.5 kB / 15.06 MB, free: 6.027 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.002014/0.002014, allocations: 182 kB / 15.95 MB, free: 5.953 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.982/1.982, allocations: 194.5 MB / 211.2 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.2733/0.2733, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 8 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 54.89 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.04829/0.1743, allocations: 28.52 MB / 444.5 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.4332/0.6075, allocations: 7.543 MB / 452.1 MB, free: 30.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005792/0.6133, allocations: 142.2 kB / 452.2 MB, free: 30.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004764/0.6182, allocations: 1.401 MB / 453.6 MB, free: 30.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01581/0.634, allocations: 4.209 MB / 457.8 MB, free: 30.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.6373, allocations: 0.5768 MB / 458.4 MB, free: 30.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02584/0.6632, allocations: 9.431 MB / 467.8 MB, free: 29.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005799/0.669, allocations: 2.971 MB / 470.8 MB, free: 29.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.6714, allocations: 0.9256 MB / 471.7 MB, free: 29.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.6742, allocations: 1.275 MB / 473 MB, free: 29.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008472/0.6751, allocations: 122.4 kB / 473.1 MB, free: 29.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.6779, allocations: 0.9777 MB / 474.1 MB, free: 29.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.6802, allocations: 1.383 MB / 475.5 MB, free: 29.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.6815, allocations: 0.7243 MB / 476.2 MB, free: 29.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009453/0.691, allocations: 4.86 MB / 481.1 MB, free: 28.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6911, allocations: 0 / 481.1 MB, free: 28.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.919e-06/0.6911, allocations: 0.7031 kB / 481.1 MB, free: 28.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002506/0.6914, allocations: 3.141 kB / 481.1 MB, free: 28.88 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: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01726/0.7086, allocations: 3.733 MB / 484.8 MB, free: 27.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.7087, allocations: 9.844 kB / 484.8 MB, free: 27.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003076/0.7118, allocations: 0.6214 MB / 485.5 MB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1767/0.8886, allocations: 8.286 MB / 493.7 MB, free: 24.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009552/0.8982, allocations: 2.604 MB / 496.3 MB, free: 24.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.8986, allocations: 200.6 kB / 496.5 MB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/0.9005, allocations: 269.1 kB / 496.8 MB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02462/0.9251, allocations: 8.585 MB / 0.4935 GB, free: 21.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.9254, allocations: 42.72 kB / 0.4936 GB, free: 21.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.9265, allocations: 124.5 kB / 0.4937 GB, free: 21.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004534/0.931, allocations: 1.681 MB / 0.4953 GB, free: 20.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.9534, allocations: 7.219 MB / 0.5024 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0633/1.017, allocations: 33.96 MB / 0.5356 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/1.033, allocations: 3.46 MB / 0.5389 GB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/1.053, allocations: 7.284 MB / 0.546 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.053, allocations: 51.48 kB / 0.5461 GB, free: 2.352 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 6.232e-06/1.053, allocations: 0 / 0.5461 GB, free: 2.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.1407/1.194, allocations: 20.98 MB / 0.5666 GB, free: 13.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/1.194, allocations: 201.2 kB / 0.5668 GB, free: 13.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/1.207, allocations: 3.833 MB / 0.5705 GB, free: 9.195 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005983/1.208, allocations: 53.7 kB / 0.5706 GB, free: 9.137 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004541/1.212, allocations: 2.819 MB / 0.5733 GB, free: 6.336 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.214, allocations: 0.7081 MB / 0.574 GB, free: 5.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008449/1.215, allocations: 116 kB / 0.5741 GB, free: 5.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007183/1.216, allocations: 0.546 MB / 0.5747 GB, free: 4.965 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008604/1.224, allocations: 2.096 MB / 0.5767 GB, free: 2.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/1.238, allocations: 5.611 MB / 0.5822 GB, free: 11.49 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008996/1.247, allocations: 3.356 MB / 0.5855 GB, free: 8.133 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/1.247, allocations: 43.94 kB / 0.5855 GB, free: 8.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.03462/1.281, allocations: 9.243 MB / 0.5945 GB, free: 14.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.282, allocations: 57.25 kB / 0.5946 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/1.282, allocations: 124 kB / 0.5947 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/1.292, allocations: 1.518 MB / 0.5962 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008369/1.3, allocations: 1.294 MB / 0.5975 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/1.329, allocations: 10.11 MB / 0.6073 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006319/1.335, allocations: 307.6 kB / 0.6076 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009483/1.336, allocations: 368 kB / 0.608 GB, free: 0.9648 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (690): * Single equations (assignments): 686 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005146/1.341, allocations: 1.88 MB / 0.6098 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000918/1.342, allocations: 339.6 kB / 0.6101 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/1.359, allocations: 4.064 MB / 0.6141 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.871e-05/1.359, allocations: 20 kB / 0.6141 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/1.359, allocations: 8 kB / 0.6141 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/1.359, allocations: 7.969 kB / 0.6141 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/1.39, allocations: 8.413 MB / 0.6223 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/1.39, allocations: 3.938 kB / 0.6223 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.393, allocations: 247.6 kB / 0.6226 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00854/1.401, allocations: 1.213 MB / 0.6238 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003909/1.402, allocations: 42.06 kB / 0.6238 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3481/1.75, allocations: 8.295 MB / 0.6319 GB, free: 153.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.75, allocations: 3.062 kB / 0.6319 GB, free: 153.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/1.771, allocations: 6.582 MB / 0.6383 GB, free: 151.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/1.774, allocations: 0.6151 MB / 0.6389 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.775, allocations: 27.22 kB / 0.639 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/1.778, allocations: 95.11 kB / 0.6391 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007227/1.779, allocations: 110.7 kB / 0.6392 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.779, allocations: 57.78 kB / 0.6392 GB, free: 151.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006426/1.785, allocations: 2.407 MB / 0.6416 GB, free: 150.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.463e-06/1.785, allocations: 0 / 0.6416 GB, free: 150.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007412/1.793, allocations: 0.9828 MB / 0.6425 GB, free: 150.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0221/1.815, allocations: 7.468 MB / 0.6498 GB, free: 147.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01317/1.828, allocations: 5.213 MB / 0.6549 GB, free: 145.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.828, allocations: 2.641 kB / 0.6549 GB, free: 145.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.833, allocations: 1.747 MB / 0.6566 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.836, allocations: 354.5 kB / 0.657 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/1.948, allocations: 118.7 MB / 0.7729 GB, free: 35.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005079/1.953, allocations: 3.037 MB / 0.7758 GB, free: 32.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007409/1.96, allocations: 1.807 MB / 0.7776 GB, free: 31.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003722/1.964, allocations: 1.647 MB / 0.7792 GB, free: 29.93 MB / 490.7 MB Notification: Performance of SimCode: time 2.495e-06/1.964, allocations: 0 / 0.7792 GB, free: 29.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5363/2.5, allocations: 75.38 MB / 0.8528 GB, free: 141.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/2.501, allocations: 201.7 kB / 0.853 GB, free: 141.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.173/7.674, allocations: 0 / 0.853 GB, free: 141.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat