Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005128, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2935, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.4718, allocations: 97.79 MB / 406.4 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004746/0.4723, allocations: 95.95 kB / 406.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8462/1.319, allocations: 110.3 MB / 0.5047 GB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.319, allocations: 0 / 0.5047 GB, free: 8.289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004501/1.319, allocations: 108 kB / 0.5048 GB, free: 8.184 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.02717/1.346, allocations: 5.36 MB / 0.51 GB, free: 2.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/1.346, allocations: 12.02 kB / 0.51 GB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005737/1.352, allocations: 1.032 MB / 0.511 GB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05813/1.41, allocations: 6.9 MB / 0.5178 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02805/1.438, allocations: 6.788 MB / 0.5244 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006652/1.439, allocations: 386.3 kB / 0.5248 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/1.442, allocations: 0.5192 MB / 0.5253 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0462/1.489, allocations: 12.64 MB / 0.5376 GB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003963/1.489, allocations: 59.47 kB / 0.5377 GB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/1.492, allocations: 247.8 kB / 0.5379 GB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/1.495, allocations: 1.047 MB / 0.5389 GB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03895/1.534, allocations: 10.52 MB / 0.5492 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3771/1.911, allocations: 50.12 MB / 0.5982 GB, free: 41.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/1.932, allocations: 4.803 MB / 0.6028 GB, free: 41.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01728/1.949, allocations: 7.042 MB / 0.6097 GB, free: 39.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/1.949, allocations: 56.88 kB / 0.6098 GB, free: 39.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 6.512e-06/1.95, allocations: 0 / 0.6098 GB, free: 39.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.1238/2.073, allocations: 20.3 MB / 0.6296 GB, free: 35.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/2.073, allocations: 208.8 kB / 0.6298 GB, free: 35.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009242/2.083, allocations: 3.91 MB / 0.6336 GB, free: 35.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005234/2.083, allocations: 59.61 kB / 0.6337 GB, free: 35.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003397/2.087, allocations: 3.566 MB / 0.6372 GB, free: 33.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/2.088, allocations: 0.8326 MB / 0.638 GB, free: 32.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007729/2.089, allocations: 130.6 kB / 0.6381 GB, free: 32.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004052/2.089, allocations: 0.575 MB / 0.6387 GB, free: 31.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005578/2.095, allocations: 2.164 MB / 0.6408 GB, free: 31.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00842/2.103, allocations: 5.891 MB / 0.6465 GB, free: 25.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008334/2.112, allocations: 3.516 MB / 0.65 GB, free: 24.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/2.112, allocations: 37.72 kB / 0.65 GB, free: 24.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02595/2.138, allocations: 8.758 MB / 0.6585 GB, free: 21.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/2.138, allocations: 64 kB / 0.6586 GB, free: 21.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/2.138, allocations: 132 kB / 0.6587 GB, free: 21.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005633/2.144, allocations: 1.042 MB / 0.6598 GB, free: 20.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008403/2.152, allocations: 1.414 MB / 0.6611 GB, free: 19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/2.168, allocations: 7.113 MB / 0.6681 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007156/2.175, allocations: 341.1 kB / 0.6684 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/2.177, allocations: 379.8 kB / 0.6688 GB, free: 12.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 764 * 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%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006783/2.184, allocations: 2.49 MB / 0.6712 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/2.185, allocations: 398.8 kB / 0.6716 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/2.198, allocations: 3.661 MB / 0.6752 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.857e-05/2.198, allocations: 24 kB / 0.6752 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/2.198, allocations: 8 kB / 0.6752 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/2.198, allocations: 10.45 kB / 0.6752 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03216/2.23, allocations: 9.905 MB / 0.6849 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.465e-05/2.23, allocations: 8 kB / 0.6849 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003357/2.234, allocations: 352.2 kB / 0.6852 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005399/2.239, allocations: 0.7962 MB / 0.686 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004809/2.24, allocations: 55.36 kB / 0.686 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/2.255, allocations: 5.828 MB / 0.6917 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/2.255, allocations: 8 kB / 0.6917 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/2.275, allocations: 7.006 MB / 0.6986 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003048/2.278, allocations: 0.7125 MB / 0.6993 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.28, allocations: 43.95 kB / 0.6993 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003615/2.283, allocations: 101.2 kB / 0.6994 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000782/2.284, allocations: 147.2 kB / 0.6996 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002537/2.284, allocations: 60 kB / 0.6996 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01208/2.297, allocations: 2.99 MB / 0.7025 GB, free: 15.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.297, allocations: 0 / 0.7025 GB, free: 15.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008458/2.305, allocations: 1.175 MB / 0.7037 GB, free: 13.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.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 (176): * Single equations (assignments): 172 * 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%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02155/2.327, allocations: 8.96 MB / 0.7124 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3143/2.641, allocations: 5.381 MB / 0.7177 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/2.641, allocations: 1.062 kB / 0.7177 GB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00481/2.646, allocations: 1.793 MB / 0.7194 GB, free: 103.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/2.65, allocations: 0.5148 MB / 0.7199 GB, free: 103.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06725/2.718, allocations: 113.2 MB / 0.8305 GB, free: 13.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00962/2.727, allocations: 3.981 MB / 0.8344 GB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009464/2.737, allocations: 1.933 MB / 0.8363 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005611/2.743, allocations: 2.319 MB / 0.8385 GB, free: 12.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/2.743, allocations: 0 / 0.8385 GB, free: 12.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5258/3.268, allocations: 88.94 MB / 0.9254 GB, free: 110.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/3.269, allocations: 213.5 kB / 0.9256 GB, free: 110.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.243/9.512, allocations: 0 / 0.9256 GB, free: 110.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat does not exist to compare? outputFormat=mat