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.First.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.First,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_First",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005442, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3054, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4378, allocations: 73.15 MB / 381.7 MB, free: 3.398 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.4382, allocations: 67.97 kB / 381.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.4547, allocations: 3.834 MB / 385.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4548, allocations: 0 / 385.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.4548, allocations: 4 kB / 385.6 MB, free: 15.48 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008844/0.4557, allocations: 498.9 kB / 386.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4557, allocations: 8.031 kB / 386.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/0.4558, allocations: 58.55 kB / 386.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.4559, allocations: 31.61 kB / 386.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.4563, allocations: 243.3 kB / 386.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.4563, allocations: 20.44 kB / 386.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.4564, allocations: 16 kB / 386.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.4569, allocations: 198.8 kB / 386.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.457, allocations: 0 / 386.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.457, allocations: 16 kB / 386.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.457, allocations: 4 kB / 386.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/0.4575, allocations: 145.7 kB / 386.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.4588, allocations: 0.6191 MB / 387.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.4593, allocations: 182.5 kB / 387.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.4594, allocations: 4 kB / 387.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4594, allocations: 34.56 kB / 387.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.224e-06/0.4594, allocations: 8 kB / 387.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002849/0.4623, allocations: 1.074 MB / 388.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4624, allocations: 63.34 kB / 388.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.4626, allocations: 162.2 kB / 389 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.4626, allocations: 29.7 kB / 389 MB, free: 11.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.4627, allocations: 132.8 kB / 389.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4629, allocations: 114.3 kB / 389.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.4629, allocations: 8 kB / 389.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.463, allocations: 334.8 kB / 389.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.4633, allocations: 67.97 kB / 389.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.4636, allocations: 104.3 kB / 389.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.4639, allocations: 89.39 kB / 389.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4639, allocations: 0 / 389.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007979/0.4647, allocations: 299.9 kB / 390.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4647, allocations: 6.5 kB / 390.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4647, allocations: 4 kB / 390.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/0.465, allocations: 44.89 kB / 390.2 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.4654, allocations: 59.91 kB / 390.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.4675, allocations: 1.581 MB / 391.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.4677, allocations: 16.02 kB / 391.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.4678, allocations: 8 kB / 391.8 MB, free: 8.805 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.468, allocations: 141.7 kB / 392 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.4681, allocations: 23.78 kB / 392 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.4682, allocations: 34.64 kB / 392 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4682, allocations: 4 kB / 392 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4682, allocations: 0 / 392 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4682, allocations: 0 / 392 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.4699, allocations: 0.7938 MB / 392.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4699, allocations: 0 / 392.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.4704, allocations: 59.91 kB / 392.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.4706, allocations: 40.92 kB / 392.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4707, allocations: 8 kB / 392.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.4722, allocations: 1.386 MB / 394.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4722, allocations: 4.031 kB / 394.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4733, allocations: 0.5116 MB / 394.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.4734, allocations: 96.86 kB / 394.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.4735, allocations: 8 kB / 394.9 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.4737, allocations: 12.03 kB / 395 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.4738, allocations: 31.84 kB / 395 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.4738, allocations: 16 kB / 395 MB, free: 5.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.474, allocations: 131.5 kB / 395.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.474, allocations: 0 / 395.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005179/0.4746, allocations: 68 kB / 395.2 MB, free: 5.152 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.001527/0.4761, allocations: 1.274 MB / 396.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.4771, allocations: 342.5 kB / 396.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4771, allocations: 0 / 396.8 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.4776, allocations: 242.7 kB / 397 MB, free: 3.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.4782, allocations: 35.92 kB / 397.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.4821, allocations: 1.979 MB / 399.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.4825, allocations: 0.7717 MB / 399.8 MB, free: 356 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.4827, allocations: 22.28 kB / 399.9 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.4828, allocations: 71.42 kB / 399.9 MB, free: 260 kB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4829, allocations: 0 / 399.9 MB, free: 260 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.5105, allocations: 4.688 MB / 404.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/0.5109, allocations: 186.5 kB / 404.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.314, allocations: 0 / 404.8 MB, free: 11.38 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First_res.mat does not exist to compare? outputFormat=mat