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.Elementary.Pendulum.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.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.419/2.419, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001102, allocations: 12 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3796, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5496, allocations: 84.81 MB / 393.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004048/0.5501, allocations: 87.95 kB / 393.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5897/1.14, allocations: 56.73 MB / 450.2 MB, free: 74.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.14, allocations: 0 / 450.2 MB, free: 74.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001028/1.14, allocations: 47.53 kB / 450.2 MB, free: 74.21 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: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.009401/1.149, allocations: 2.647 MB / 452.9 MB, free: 71.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/1.149, allocations: 12.03 kB / 452.9 MB, free: 71.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/1.151, allocations: 489.2 kB / 453.4 MB, free: 71.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/1.166, allocations: 1.967 MB / 455.3 MB, free: 69.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/1.178, allocations: 3.294 MB / 458.6 MB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/1.179, allocations: 176.6 kB / 458.8 MB, free: 65.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009591/1.18, allocations: 235.8 kB / 459 MB, free: 65.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/1.195, allocations: 6.793 MB / 465.8 MB, free: 57.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/1.196, allocations: 47.62 kB / 465.9 MB, free: 57.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005958/1.196, allocations: 131.9 kB / 466 MB, free: 57.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/1.198, allocations: 0.6994 MB / 466.7 MB, free: 56.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/1.213, allocations: 5.837 MB / 472.5 MB, free: 50.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04332/1.256, allocations: 33.3 MB / 0.494 GB, free: 16.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/1.263, allocations: 2.302 MB / 0.4962 GB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/1.264, allocations: 8.75 kB / 0.4962 GB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.264, allocations: 50.44 kB / 0.4963 GB, free: 14.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 6.823e-06/1.264, allocations: 0 / 0.4963 GB, free: 14.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.03298/1.297, allocations: 8.714 MB / 0.5048 GB, free: 5.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/1.297, allocations: 140.5 kB / 0.5049 GB, free: 4.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005417/1.302, allocations: 2.537 MB / 0.5074 GB, free: 2.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002845/1.303, allocations: 33.7 kB / 0.5074 GB, free: 2.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.304, allocations: 2.067 MB / 0.5095 GB, free: 240 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007671/1.305, allocations: 442.6 kB / 0.5099 GB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/1.305, allocations: 88 kB / 0.51 GB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004533/1.306, allocations: 499.5 kB / 0.5104 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00434/1.31, allocations: 1.41 MB / 0.5118 GB, free: 13.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007771/1.318, allocations: 4.194 MB / 0.5159 GB, free: 8.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006947/1.325, allocations: 2.386 MB / 0.5182 GB, free: 5.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.325, allocations: 28 kB / 0.5183 GB, free: 5.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.02118/1.346, allocations: 6.066 MB / 0.5242 GB, free: 15.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.346, allocations: 48 kB / 0.5242 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/1.347, allocations: 100.9 kB / 0.5243 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/1.351, allocations: 0.8045 MB / 0.5251 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/1.357, allocations: 0.9903 MB / 0.5261 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/1.368, allocations: 4.2 MB / 0.5302 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005491/1.373, allocations: 283.6 kB / 0.5305 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.374, allocations: 275.9 kB / 0.5307 GB, free: 8.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (528): * Single equations (assignments): 524 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004025/1.378, allocations: 1.37 MB / 0.5321 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007199/1.379, allocations: 229 kB / 0.5323 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007213/1.386, allocations: 1.845 MB / 0.5341 GB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.688e-05/1.387, allocations: 16 kB / 0.5341 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.387, allocations: 4.656 kB / 0.5341 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/1.387, allocations: 3.984 kB / 0.5341 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.403, allocations: 4.801 MB / 0.5388 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/1.403, allocations: 0 / 0.5388 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.404, allocations: 143.7 kB / 0.5389 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004139/1.408, allocations: 0.6405 MB / 0.5396 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/1.409, allocations: 31.98 kB / 0.5396 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008708/1.418, allocations: 3.725 MB / 0.5432 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.418, allocations: 0 / 0.5432 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/1.436, allocations: 3.775 MB / 0.5469 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.438, allocations: 445.9 kB / 0.5473 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/1.438, allocations: 15.95 kB / 0.5474 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.44, allocations: 75.89 kB / 0.5474 GB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/1.441, allocations: 55.86 kB / 0.5475 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.441, allocations: 31.98 kB / 0.5475 GB, free: 7.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005445/1.446, allocations: 1.765 MB / 0.5492 GB, free: 5.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.446, allocations: 0 / 0.5492 GB, free: 5.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005308/1.452, allocations: 0.6484 MB / 0.5499 GB, free: 4.922 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01186/1.464, allocations: 4.707 MB / 0.5545 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2989/1.763, allocations: 3.387 MB / 0.5578 GB, free: 116 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.763, allocations: 3.875 kB / 0.5578 GB, free: 116 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/1.765, allocations: 0.9338 MB / 0.5587 GB, free: 115.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.767, allocations: 231.8 kB / 0.5589 GB, free: 115.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07262/1.839, allocations: 89.31 MB / 0.6461 GB, free: 36.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/1.844, allocations: 2.232 MB / 0.6483 GB, free: 35.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008166/1.853, allocations: 1.395 MB / 0.6497 GB, free: 35.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003375/1.856, allocations: 1.041 MB / 0.6507 GB, free: 34.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/1.856, allocations: 0 / 0.6507 GB, free: 34.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/2.043, allocations: 48.54 MB / 0.6981 GB, free: 9.57 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/2.043, allocations: 222.2 kB / 0.6983 GB, free: 9.316 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.415/6.458, allocations: 3.938 kB / 0.6983 GB, free: 9.312 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat