Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008114/0.0008117, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2896, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1349/0.4245, allocations: 73.16 MB / 381.7 MB, free: 3.391 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.4249, allocations: 75.95 kB / 381.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02335/0.4483, allocations: 3.667 MB / 385.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4483, allocations: 0 / 385.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.4484, allocations: 12 kB / 385.5 MB, free: 15.62 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001412/0.4498, allocations: 482.9 kB / 385.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.906e-05/0.4499, allocations: 12.03 kB / 386 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.4501, allocations: 54.53 kB / 386 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4502, allocations: 27.72 kB / 386 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.4508, allocations: 235.3 kB / 386.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.4509, allocations: 16.44 kB / 386.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.451, allocations: 27.91 kB / 386.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.4519, allocations: 213.4 kB / 386.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/0.452, allocations: 3.938 kB / 386.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.4521, allocations: 4 kB / 386.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.4521, allocations: 12 kB / 386.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.4529, allocations: 125.7 kB / 386.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.4555, allocations: 0.7132 MB / 387.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.4562, allocations: 150.5 kB / 387.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.4563, allocations: 4.344 kB / 387.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/0.4563, allocations: 38.52 kB / 387.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 4.989e-06/0.4564, allocations: 0 / 387.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.003655/0.46, allocations: 0.9002 MB / 388.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.4602, allocations: 59.36 kB / 388.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.4606, allocations: 149.8 kB / 388.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.4607, allocations: 29.7 kB / 388.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.4608, allocations: 140.3 kB / 388.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.461, allocations: 90.73 kB / 388.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.461, allocations: 8 kB / 388.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.4613, allocations: 330.8 kB / 389.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.4616, allocations: 51.98 kB / 389.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.462, allocations: 106.8 kB / 389.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.4623, allocations: 75.94 kB / 389.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/0.4624, allocations: 3.984 kB / 389.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001003/0.4634, allocations: 246.1 kB / 389.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.4634, allocations: 15.94 kB / 389.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4635, allocations: 3.938 kB / 389.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.4638, allocations: 28.84 kB / 389.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.4643, allocations: 51.97 kB / 389.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.4666, allocations: 1.394 MB / 391.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.467, allocations: 8 kB / 391.2 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.467, allocations: 11.94 kB / 391.2 MB, free: 9.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.4673, allocations: 133.9 kB / 391.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.4674, allocations: 19.77 kB / 391.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.4675, allocations: 29.86 kB / 391.4 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.4676, allocations: 4 kB / 391.4 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4676, allocations: 0 / 391.4 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4676, allocations: 0 / 391.4 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.4695, allocations: 0.6569 MB / 392.1 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4696, allocations: 0 / 392.1 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.4701, allocations: 39.98 kB / 392.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.4704, allocations: 40.89 kB / 392.2 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.4704, allocations: 7.938 kB / 392.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.4726, allocations: 1.394 MB / 393.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4726, allocations: 3.938 kB / 393.6 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4737, allocations: 433.5 kB / 394 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4738, allocations: 100.9 kB / 394.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4738, allocations: 7.938 kB / 394.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.4741, allocations: 8 kB / 394.1 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.4741, allocations: 15.97 kB / 394.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.4742, allocations: 12 kB / 394.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.4743, allocations: 127.2 kB / 394.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4744, allocations: 0 / 394.2 MB, free: 6.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004856/0.4749, allocations: 60 kB / 394.3 MB, free: 6.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/0.4763, allocations: 1.106 MB / 395.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.4772, allocations: 286.5 kB / 395.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4773, allocations: 0 / 395.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.4778, allocations: 218.4 kB / 395.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.4783, allocations: 36.36 kB / 395.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.4823, allocations: 2.131 MB / 398.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4828, allocations: 0.7563 MB / 398.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.483, allocations: 21.94 kB / 398.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.4833, allocations: 67.41 kB / 398.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4833, allocations: 0 / 398.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08815/0.5714, allocations: 4.218 MB / 403.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003889/0.5719, allocations: 207.8 kB / 403.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.26, allocations: 0 / 403.3 MB, free: 12.83 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat