Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 235 MB / 248.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.461e-05, allocations: 4 kB / 309.8 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.392, allocations: 54.85 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.5429, allocations: 81.88 MB / 446.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.5432, allocations: 75.94 kB / 446.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02614/0.5694, allocations: 5.81 MB / 452.4 MB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5695, allocations: 4 kB / 452.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.5695, allocations: 4 kB / 452.4 MB, free: 8.758 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001336/0.5709, allocations: 0.5805 MB / 453 MB, free: 8.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.5709, allocations: 8.031 kB / 453 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.5711, allocations: 74.53 kB / 453.1 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.5712, allocations: 43.53 kB / 453.1 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.5717, allocations: 276.8 kB / 453.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.5718, allocations: 28.78 kB / 453.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.5719, allocations: 47.86 kB / 453.4 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/0.5728, allocations: 354.2 kB / 453.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.5729, allocations: 11.98 kB / 453.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.5729, allocations: 20 kB / 453.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5729, allocations: 8 kB / 453.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.5736, allocations: 204 kB / 454 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.576, allocations: 1.104 MB / 455.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.5769, allocations: 328.8 kB / 455.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.5773, allocations: 165.4 kB / 455.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.5774, allocations: 12 kB / 455.6 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5774, allocations: 34.56 kB / 455.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 4.228e-06/0.5774, allocations: 0 / 455.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005132/0.5826, allocations: 2.277 MB / 457.9 MB, free: 2.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.5827, allocations: 110.8 kB / 458 MB, free: 2.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.5831, allocations: 214.9 kB / 458.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.5831, allocations: 33.64 kB / 458.3 MB, free: 2.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5833, allocations: 239.1 kB / 458.5 MB, free: 2.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.5835, allocations: 193.1 kB / 458.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.5836, allocations: 12 kB / 458.7 MB, free: 1.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5837, allocations: 334.8 kB / 459 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.5841, allocations: 117.1 kB / 459.2 MB, free: 1.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.5845, allocations: 215.3 kB / 459.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.5849, allocations: 145.5 kB / 459.5 MB, free: 1.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.5849, allocations: 3.984 kB / 459.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001505/0.5865, allocations: 0.5042 MB / 460 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5865, allocations: 7.938 kB / 460 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.5865, allocations: 12.08 kB / 460 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.5872, allocations: 122.7 kB / 460.2 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/0.5879, allocations: 95.89 kB / 460.3 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.5934, allocations: 4.66 MB / 464.9 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.5939, allocations: 19.98 kB / 464.9 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.594, allocations: 23.98 kB / 465 MB, free: 11.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.5942, allocations: 136.9 kB / 465.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.5943, allocations: 31.62 kB / 465.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.5945, allocations: 49.95 kB / 465.2 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5945, allocations: 4 kB / 465.2 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.5945, allocations: 4.25 kB / 465.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.5946, allocations: 7.984 kB / 465.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.5975, allocations: 1.302 MB / 466.5 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5975, allocations: 4 kB / 466.5 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.5984, allocations: 99.88 kB / 466.6 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.5989, allocations: 94.56 kB / 466.7 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.5989, allocations: 12 kB / 466.7 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004339/0.6033, allocations: 4.1 MB / 470.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6033, allocations: 3.953 kB / 470.8 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6053, allocations: 0.9404 MB / 471.7 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.6054, allocations: 112.7 kB / 471.9 MB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.6055, allocations: 15.98 kB / 471.9 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.606, allocations: 12 kB / 471.9 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.6061, allocations: 55.83 kB / 471.9 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.6062, allocations: 16 kB / 471.9 MB, free: 3.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.6064, allocations: 167.1 kB / 472.1 MB, free: 3.461 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6065, allocations: 0 / 472.1 MB, free: 3.461 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009204/0.6074, allocations: 124 kB / 472.2 MB, free: 3.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002428/0.6098, allocations: 1.836 MB / 474.1 MB, free: 1.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.6116, allocations: 0.7251 MB / 474.8 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.6116, allocations: 3.938 kB / 474.8 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6128, allocations: 0.5426 MB / 475.3 MB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.6135, allocations: 59.34 kB / 475.4 MB, free: 44 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.6164, allocations: 1.046 MB / 476.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.617, allocations: 0.8281 MB / 477.3 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.6173, allocations: 135.4 kB / 477.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6173, allocations: 4 kB / 477.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.942/3.559, allocations: 10.51 MB / 487.9 MB, free: 3.418 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat