Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",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.01079/0.01079, allocations: 103.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.001131/0.001131, allocations: 168.2 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.737/1.737, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2745/0.2745, allocations: 38.1 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004702, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09538, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.09508/0.1905, allocations: 60.03 MB / 432.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3349/0.5254, allocations: 14.12 MB / 446.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01496/0.5405, allocations: 313 kB / 446.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.5525, allocations: 3.017 MB / 449.8 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03453/0.587, allocations: 8.606 MB / 458.4 MB, free: 5.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006779/0.5939, allocations: 1.28 MB / 459.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.05331/0.6472, allocations: 19.08 MB / 478.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01445/0.6618, allocations: 6.353 MB / 485.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006388/0.6682, allocations: 1.849 MB / 486.9 MB, free: 7.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008281/0.6766, allocations: 2.646 MB / 489.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002298/0.6789, allocations: 244 kB / 489.8 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00603/0.685, allocations: 1.207 MB / 491 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006642/0.6917, allocations: 2.766 MB / 493.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003721/0.6955, allocations: 1.309 MB / 495.1 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02016/0.7157, allocations: 8.876 MB / 0.4922 GB, free: 9.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7157, allocations: 0 / 0.4922 GB, free: 9.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7158, allocations: 4 kB / 0.4922 GB, free: 9.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003694/0.7161, allocations: 0 / 0.4922 GB, free: 9.602 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.03836/0.7545, allocations: 7.434 MB / 0.4994 GB, free: 2.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.7546, allocations: 8.031 kB / 0.4994 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003861/0.7585, allocations: 1.073 MB / 0.5005 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3605/1.119, allocations: 15.11 MB / 0.5152 GB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02206/1.141, allocations: 6.197 MB / 0.5213 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005387/1.142, allocations: 370.5 kB / 0.5216 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002896/1.145, allocations: 0.5031 MB / 0.5221 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05166/1.196, allocations: 16.37 MB / 0.5381 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003627/1.197, allocations: 79.27 kB / 0.5382 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/1.199, allocations: 238.8 kB / 0.5384 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007475/1.206, allocations: 2.802 MB / 0.5412 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04903/1.255, allocations: 13.66 MB / 0.5545 GB, free: 13.04 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4269/1.682, allocations: 64.31 MB / 0.6173 GB, free: 130 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04027/1.722, allocations: 7.833 MB / 0.6249 GB, free: 129.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04477/1.767, allocations: 18.83 MB / 0.6433 GB, free: 119.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/1.767, allocations: 67.31 kB / 0.6434 GB, free: 119.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=280): time 7.074e-06/1.767, allocations: 0 / 0.6434 GB, free: 119.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.3467/2.114, allocations: 50.11 MB / 0.6923 GB, free: 75.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/2.114, allocations: 269.7 kB / 0.6926 GB, free: 75.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/2.128, allocations: 6.545 MB / 0.699 GB, free: 68.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/2.129, allocations: 81.7 kB / 0.6991 GB, free: 68.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00421/2.133, allocations: 4.739 MB / 0.7037 GB, free: 63.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002113/2.135, allocations: 1.335 MB / 0.705 GB, free: 62.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/2.137, allocations: 181.1 kB / 0.7052 GB, free: 62.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006301/2.137, allocations: 0.6906 MB / 0.7058 GB, free: 61.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009876/2.147, allocations: 3.883 MB / 0.7096 GB, free: 57.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.16, allocations: 9.066 MB / 0.7185 GB, free: 46.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01271/2.173, allocations: 5.743 MB / 0.7241 GB, free: 40.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/2.173, allocations: 52 kB / 0.7241 GB, free: 40.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.05643/2.229, allocations: 16.9 MB / 0.7406 GB, free: 23.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001251/2.23, allocations: 84.94 kB / 0.7407 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/2.23, allocations: 180 kB / 0.7409 GB, free: 23.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/2.254, allocations: 4.223 MB / 0.745 GB, free: 18.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/2.267, allocations: 2.035 MB / 0.747 GB, free: 16.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06101/2.328, allocations: 23.97 MB / 0.7704 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/2.339, allocations: 0.5071 MB / 0.7709 GB, free: 8.207 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002212/2.341, allocations: 0.5364 MB / 0.7714 GB, free: 7.672 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1076): * Single equations (assignments): 1071 * 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 {(2,100.0%) 43,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008943/2.35, allocations: 3.115 MB / 0.7745 GB, free: 4.543 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/2.352, allocations: 0.5669 MB / 0.775 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3292/2.681, allocations: 10.09 MB / 0.7849 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.14e-05/2.681, allocations: 38.02 kB / 0.7849 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.288e-05/2.681, allocations: 17.19 kB / 0.7849 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.702e-05/2.681, allocations: 22.23 kB / 0.785 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06947/2.751, allocations: 19.73 MB / 0.8042 GB, free: 161.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-05/2.751, allocations: 3.938 kB / 0.8042 GB, free: 161.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005318/2.756, allocations: 0.5194 MB / 0.8047 GB, free: 161 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02264/2.779, allocations: 3.723 MB / 0.8084 GB, free: 160.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008699/2.78, allocations: 62.02 kB / 0.8084 GB, free: 160.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04904/2.829, allocations: 20.82 MB / 0.8288 GB, free: 145 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/2.829, allocations: 4 kB / 0.8288 GB, free: 145 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04676/2.876, allocations: 14.73 MB / 0.8431 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004354/2.88, allocations: 1.156 MB / 0.8443 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001971/2.882, allocations: 53.09 kB / 0.8443 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006201/2.888, allocations: 227.4 kB / 0.8445 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001565/2.89, allocations: 218.2 kB / 0.8448 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004706/2.89, allocations: 101.1 kB / 0.8448 GB, free: 129.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009084/2.899, allocations: 4.163 MB / 0.8489 GB, free: 124.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.9, allocations: 0 / 0.8489 GB, free: 124.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01089/2.91, allocations: 1.865 MB / 0.8507 GB, free: 123.1 MB / 474.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 (263): * Single equations (assignments): 258 * 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 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04803/2.959, allocations: 15.64 MB / 0.866 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02271/2.981, allocations: 9.884 MB / 0.8757 GB, free: 97.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.981, allocations: 0 / 0.8757 GB, free: 97.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009634/2.991, allocations: 3.904 MB / 0.8795 GB, free: 93.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006197/2.997, allocations: 0.7166 MB / 0.8802 GB, free: 93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5126/3.51, allocations: 192.8 MB / 1.068 GB, free: 80.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01304/3.523, allocations: 4.995 MB / 1.073 GB, free: 78.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01285/3.536, allocations: 2.786 MB / 1.076 GB, free: 76.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006887/3.543, allocations: 3.27 MB / 1.079 GB, free: 73.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/3.543, allocations: 0 / 1.079 GB, free: 73.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5944/4.137, allocations: 143.9 MB / 1.22 GB, free: 114.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/4.138, allocations: 202.8 kB / 1.22 GB, free: 114.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/12.45, allocations: 3.938 kB / 1.22 GB, free: 114.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat does not exist to compare? outputFormat=mat