Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.3 MB / 224.8 MB, free: 0.5977 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004646, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3496, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.4786, allocations: 73.4 MB / 404.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4789, allocations: 67.95 kB / 404.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00815/0.4871, allocations: 1.95 MB / 406.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4871, allocations: 0 / 406.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.4872, allocations: 0 / 406.8 MB, free: 2.887 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005432/0.4877, allocations: 383.3 kB / 407.1 MB, free: 2.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4878, allocations: 8.031 kB / 407.2 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.899e-05/0.4878, allocations: 50.48 kB / 407.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.4879, allocations: 11.91 kB / 407.2 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.4881, allocations: 171 kB / 407.4 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4881, allocations: 12.23 kB / 407.4 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.4881, allocations: 15.91 kB / 407.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.4885, allocations: 136.9 kB / 407.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4885, allocations: 0 / 407.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.4885, allocations: 8 kB / 407.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4886, allocations: 0 / 407.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.4887, allocations: 63.97 kB / 407.6 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4898, allocations: 0.541 MB / 408.2 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.4901, allocations: 90.7 kB / 408.2 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4901, allocations: 4 kB / 408.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4901, allocations: 34.56 kB / 408.3 MB, free: 1.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.464e-06/0.4901, allocations: 0 / 408.3 MB, free: 1.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000805/0.491, allocations: 301.5 kB / 408.6 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.491, allocations: 81.11 kB / 408.7 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.4912, allocations: 116.9 kB / 408.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4912, allocations: 25.7 kB / 408.8 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4913, allocations: 186 kB / 409 MB, free: 412 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.4914, allocations: 35.55 kB / 409 MB, free: 376 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.4914, allocations: 3.938 kB / 409 MB, free: 372 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4915, allocations: 325.3 kB / 409.3 MB, free: 40 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.4916, allocations: 27.98 kB / 409.4 MB, free: 12 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.4917, allocations: 76.58 kB / 409.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.4919, allocations: 43.92 kB / 409.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4919, allocations: 4 kB / 409.5 MB, free: 15.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004287/0.4923, allocations: 155.3 kB / 409.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4924, allocations: 11.94 kB / 409.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4924, allocations: 4 kB / 409.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.4926, allocations: 42.06 kB / 409.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4928, allocations: 23.98 kB / 409.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.4953, allocations: 2.553 MB / 412.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4955, allocations: 7.906 kB / 412.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4955, allocations: 4 kB / 412.3 MB, free: 12.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.4957, allocations: 129.7 kB / 412.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.4957, allocations: 7.906 kB / 412.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.4958, allocations: 20.03 kB / 412.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4958, allocations: 4 kB / 412.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4958, allocations: 0 / 412.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4958, allocations: 0 / 412.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.4962, allocations: 201.6 kB / 412.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4962, allocations: 0 / 412.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.4964, allocations: 12 kB / 412.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.4966, allocations: 33.7 kB / 412.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.4966, allocations: 4.438 kB / 412.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.499, allocations: 2.552 MB / 415.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4991, allocations: 3.984 kB / 415.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.4995, allocations: 322.2 kB / 415.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.4996, allocations: 84.95 kB / 415.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.4996, allocations: 4 kB / 415.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.4998, allocations: 4 kB / 415.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4998, allocations: 8.031 kB / 415.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4999, allocations: 8 kB / 415.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.916e-05/0.4999, allocations: 95.2 kB / 415.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5, allocations: 0 / 415.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004924/0.5005, allocations: 32 kB / 415.8 MB, free: 8.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.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 (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008299/0.5013, allocations: 0.9242 MB / 416.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005979/0.5019, allocations: 290.1 kB / 417 MB, free: 7.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5019, allocations: 4.438 kB / 417 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.5024, allocations: 261.6 kB / 417.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.5029, allocations: 20.06 kB / 417.3 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.5058, allocations: 2.392 MB / 419.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.5062, allocations: 0.7122 MB / 420.4 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.5063, allocations: 31.42 kB / 420.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5063, allocations: 3.938 kB / 420.4 MB, free: 4.047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.064/3.571, allocations: 2.898 MB / 423.3 MB, free: 1.145 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat