Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.663/1.663, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003495, allocations: 16 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08053/0.08092, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.4757, allocations: 92.05 MB / 364.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.4761, allocations: 94.89 kB / 364.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7409/1.217, allocations: 110.4 MB / 474.6 MB, free: 73.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.217, allocations: 0 / 474.6 MB, free: 73.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00035/1.217, allocations: 105.3 kB / 474.7 MB, free: 73.18 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.0215/1.239, allocations: 5.366 MB / 480.1 MB, free: 70.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.239, allocations: 10.34 kB / 480.1 MB, free: 70.9 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004654/1.244, allocations: 1.041 MB / 481.2 MB, free: 70.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04952/1.293, allocations: 6.884 MB / 488 MB, free: 69.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02479/1.318, allocations: 6.791 MB / 494.8 MB, free: 66.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005029/1.319, allocations: 387 kB / 495.2 MB, free: 65.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002958/1.322, allocations: 0.5123 MB / 495.7 MB, free: 65.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04058/1.362, allocations: 12.65 MB / 0.4964 GB, free: 51.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003375/1.363, allocations: 63.36 kB / 0.4965 GB, free: 51.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002349/1.365, allocations: 245.2 kB / 0.4967 GB, free: 51.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/1.367, allocations: 1.047 MB / 0.4978 GB, free: 50.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03359/1.401, allocations: 10.52 MB / 0.508 GB, free: 39.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08026/1.481, allocations: 50.12 MB / 0.557 GB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3154/1.797, allocations: 4.796 MB / 0.5617 GB, free: 82.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01904/1.816, allocations: 7.044 MB / 0.5686 GB, free: 80.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/1.816, allocations: 54.41 kB / 0.5686 GB, free: 80.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 6.331e-06/1.816, allocations: 0 / 0.5686 GB, free: 80.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=224): time 0.1238/1.94, allocations: 20.32 MB / 0.5884 GB, free: 77.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/1.94, allocations: 203 kB / 0.5886 GB, free: 77.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008781/1.949, allocations: 3.92 MB / 0.5925 GB, free: 77.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005075/1.949, allocations: 58.14 kB / 0.5925 GB, free: 77.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/1.952, allocations: 3.559 MB / 0.596 GB, free: 75.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.954, allocations: 0.8434 MB / 0.5968 GB, free: 74.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/1.954, allocations: 121 kB / 0.5969 GB, free: 74.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003963/1.955, allocations: 0.5763 MB / 0.5975 GB, free: 74.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005463/1.96, allocations: 2.159 MB / 0.5996 GB, free: 73.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008004/1.968, allocations: 5.886 MB / 0.6054 GB, free: 68.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/1.976, allocations: 3.522 MB / 0.6088 GB, free: 66.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/1.976, allocations: 41.92 kB / 0.6088 GB, free: 66.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.026/2.002, allocations: 8.755 MB / 0.6174 GB, free: 63.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/2.003, allocations: 62.69 kB / 0.6174 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/2.003, allocations: 133.7 kB / 0.6176 GB, free: 63.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005634/2.008, allocations: 1.04 MB / 0.6186 GB, free: 63.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008472/2.017, allocations: 1.423 MB / 0.62 GB, free: 63.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/2.033, allocations: 7.11 MB / 0.6269 GB, free: 59.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/2.04, allocations: 338.2 kB / 0.6272 GB, free: 59.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/2.041, allocations: 382.4 kB / 0.6276 GB, free: 59.25 MB / 362.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.006581/2.048, allocations: 2.479 MB / 0.63 GB, free: 57.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/2.049, allocations: 405.5 kB / 0.6304 GB, free: 56.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/2.061, allocations: 3.662 MB / 0.634 GB, free: 53.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/2.061, allocations: 24 kB / 0.634 GB, free: 53.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/2.061, allocations: 8 kB / 0.634 GB, free: 53.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.449e-05/2.061, allocations: 11.86 kB / 0.634 GB, free: 53.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02952/2.091, allocations: 9.876 MB / 0.6437 GB, free: 45.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-05/2.091, allocations: 4 kB / 0.6437 GB, free: 45.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/2.094, allocations: 363.2 kB / 0.644 GB, free: 45.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/2.099, allocations: 0.795 MB / 0.6448 GB, free: 44.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/2.1, allocations: 45.95 kB / 0.6449 GB, free: 44.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/2.113, allocations: 5.826 MB / 0.6505 GB, free: 39.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/2.113, allocations: 7.938 kB / 0.6506 GB, free: 39.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/2.13, allocations: 7.003 MB / 0.6574 GB, free: 32.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/2.133, allocations: 0.7109 MB / 0.6581 GB, free: 32.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/2.135, allocations: 44 kB / 0.6581 GB, free: 32.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/2.138, allocations: 105.2 kB / 0.6582 GB, free: 32.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000713/2.139, allocations: 144.7 kB / 0.6584 GB, free: 32.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/2.139, allocations: 64.86 kB / 0.6584 GB, free: 32.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007835/2.147, allocations: 2.759 MB / 0.6611 GB, free: 29.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.147, allocations: 0 / 0.6611 GB, free: 29.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008489/2.156, allocations: 1.176 MB / 0.6623 GB, free: 28.6 MB / 362.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.01834/2.174, allocations: 8.973 MB / 0.671 GB, free: 20.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01242/2.186, allocations: 5.387 MB / 0.6763 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/2.187, allocations: 0 / 0.6763 GB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004011/2.191, allocations: 1.784 MB / 0.678 GB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/2.195, allocations: 0.5163 MB / 0.6785 GB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3251/2.52, allocations: 113.2 MB / 0.7891 GB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/2.53, allocations: 3.975 MB / 0.793 GB, free: 35.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.009644/2.54, allocations: 1.938 MB / 0.7949 GB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005452/2.545, allocations: 2.316 MB / 0.7971 GB, free: 35.13 MB / 410.7 MB Notification: Performance of SimCode: time 2.755e-06/2.545, allocations: 0 / 0.7971 GB, free: 35.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5187/3.064, allocations: 88.95 MB / 0.884 GB, free: 108.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/3.064, allocations: 217.8 kB / 0.8842 GB, free: 107.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.83/8.894, allocations: 0 / 0.8842 GB, free: 107.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat does not exist to compare? outputFormat=mat