Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithMass",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.01671/0.01671, allocations: 110.8 kB / 15.06 MB, free: 5.988 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.001273/0.001272, allocations: 176 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.982/1.982, 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.2829/0.2829, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000514/0.0005142, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.469/0.6011, allocations: 52.41 MB / 468.4 MB, free: 30.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04781/0.649, allocations: 12.58 MB / 481 MB, free: 26.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01284/0.6619, allocations: 267.7 kB / 481.3 MB, free: 26.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009501/0.6714, allocations: 2.635 MB / 483.9 MB, free: 25.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03045/0.7019, allocations: 7.545 MB / 491.4 MB, free: 23.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.7079, allocations: 0.9961 MB / 492.4 MB, free: 23.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05495/0.7629, allocations: 17.99 MB / 0.4985 GB, free: 18.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.7746, allocations: 5.528 MB / 0.5039 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/0.7789, allocations: 1.493 MB / 0.5053 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004666/0.7836, allocations: 2.011 MB / 0.5073 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001602/0.7853, allocations: 201.2 kB / 0.5075 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004464/0.7898, allocations: 1.18 MB / 0.5086 GB, free: 12.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003722/0.7935, allocations: 2.216 MB / 0.5108 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.7958, allocations: 1.096 MB / 0.5119 GB, free: 9.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.8065, allocations: 7.559 MB / 0.5192 GB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8065, allocations: 0 / 0.5192 GB, free: 2.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.8065, allocations: 0 / 0.5192 GB, free: 2.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003292/0.8069, allocations: 0 / 0.5192 GB, free: 2.051 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02733/0.8342, allocations: 6.168 MB / 0.5253 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.8343, allocations: 16.03 kB / 0.5253 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003743/0.8381, allocations: 0.9138 MB / 0.5262 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3486/1.187, allocations: 14.68 MB / 0.5405 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/1.203, allocations: 4.545 MB / 0.5449 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/1.204, allocations: 304 kB / 0.5452 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/1.207, allocations: 427.6 kB / 0.5456 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04605/1.253, allocations: 13.92 MB / 0.5592 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/1.253, allocations: 51.53 kB / 0.5593 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/1.255, allocations: 195.8 kB / 0.5595 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006584/1.262, allocations: 2.416 MB / 0.5618 GB, free: 5.367 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04393/1.306, allocations: 11.76 MB / 0.5733 GB, free: 9.598 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/1.416, allocations: 53.27 MB / 0.6253 GB, free: 2.855 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3706/1.787, allocations: 5.826 MB / 0.631 GB, free: 151.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03729/1.824, allocations: 14.95 MB / 0.6456 GB, free: 145.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/1.824, allocations: 66.98 kB / 0.6457 GB, free: 145.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=226): time 6.933e-06/1.824, allocations: 0 / 0.6457 GB, free: 145.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=263): time 0.1536/1.978, allocations: 26.64 MB / 0.6717 GB, free: 136.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.978, allocations: 262 kB / 0.672 GB, free: 136.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/1.991, allocations: 5.297 MB / 0.6771 GB, free: 134.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007412/1.992, allocations: 67.64 kB / 0.6772 GB, free: 134.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003855/1.996, allocations: 3.948 MB / 0.6811 GB, free: 131.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.998, allocations: 0.9851 MB / 0.682 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008914/1.999, allocations: 145.9 kB / 0.6822 GB, free: 130.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005915/1.999, allocations: 0.6129 MB / 0.6828 GB, free: 130.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007281/2.007, allocations: 2.695 MB / 0.6854 GB, free: 129.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/2.017, allocations: 7.005 MB / 0.6922 GB, free: 122.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/2.028, allocations: 4.225 MB / 0.6964 GB, free: 120.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/2.028, allocations: 44 kB / 0.6964 GB, free: 120.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.02898/2.057, allocations: 10.02 MB / 0.7062 GB, free: 111.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/2.057, allocations: 68 kB / 0.7062 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002809/2.058, allocations: 155.8 kB / 0.7064 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/2.061, allocations: 0.727 MB / 0.7071 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/2.073, allocations: 1.758 MB / 0.7088 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/2.084, allocations: 6.466 MB / 0.7151 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00918/2.093, allocations: 399.5 kB / 0.7155 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/2.095, allocations: 440 kB / 0.7159 GB, free: 101.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (909): * Single equations (assignments): 904 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007895/2.103, allocations: 2.63 MB / 0.7185 GB, free: 99.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/2.105, allocations: 473.9 kB / 0.719 GB, free: 98.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/2.118, allocations: 4.367 MB / 0.7232 GB, free: 94.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.845e-05/2.118, allocations: 28 kB / 0.7232 GB, free: 94.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-05/2.118, allocations: 4 kB / 0.7232 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.52e-05/2.118, allocations: 15.95 kB / 0.7233 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03491/2.153, allocations: 10.84 MB / 0.7339 GB, free: 83.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-05/2.154, allocations: 4 kB / 0.7339 GB, free: 83.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005172/2.159, allocations: 499.3 kB / 0.7343 GB, free: 82.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/2.161, allocations: 499.5 kB / 0.7348 GB, free: 82.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006572/2.162, allocations: 44 kB / 0.7348 GB, free: 82.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009881/2.172, allocations: 5.815 MB / 0.7405 GB, free: 76.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.172, allocations: 0 / 0.7405 GB, free: 76.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/2.191, allocations: 7.671 MB / 0.748 GB, free: 68.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003685/2.195, allocations: 0.858 MB / 0.7489 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001883/2.197, allocations: 38.34 kB / 0.7489 GB, free: 67.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004992/2.202, allocations: 171.8 kB / 0.7491 GB, free: 67.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/2.203, allocations: 141.8 kB / 0.7492 GB, free: 67.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/2.203, allocations: 75.55 kB / 0.7493 GB, free: 67.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008798/2.212, allocations: 3.352 MB / 0.7525 GB, free: 63.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.212, allocations: 0 / 0.7525 GB, free: 63.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009769/2.222, allocations: 1.328 MB / 0.7538 GB, free: 62.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (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 (224): * Single equations (assignments): 219 * 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 {(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.01995/2.242, allocations: 8.545 MB / 0.7622 GB, free: 53.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01589/2.258, allocations: 6.718 MB / 0.7687 GB, free: 47.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/2.258, allocations: 0 / 0.7687 GB, free: 47.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005714/2.264, allocations: 2.367 MB / 0.7711 GB, free: 44.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/2.269, allocations: 0.5662 MB / 0.7716 GB, free: 44.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4827/2.752, allocations: 151.9 MB / 0.9199 GB, free: 45.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009399/2.761, allocations: 4.216 MB / 0.9241 GB, free: 44.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01241/2.774, allocations: 2.374 MB / 0.9264 GB, free: 43.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006508/2.78, allocations: 2.621 MB / 0.9289 GB, free: 41.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.743e-06/2.78, allocations: 0 / 0.9289 GB, free: 41.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6364/3.417, allocations: 101.2 MB / 1.028 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/3.417, allocations: 205.7 kB / 1.028 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/10.37, allocations: 0 / 1.028 GB, free: 144.4 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat