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.ConnectionPossibilities.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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.0006249, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.416, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.5751, allocations: 80.09 MB / 449.4 MB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5754, allocations: 67.8 kB / 449.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.586, allocations: 2.528 MB / 452 MB, free: 7.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.586, allocations: 0 / 452 MB, free: 7.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.586, allocations: 4 kB / 452 MB, free: 7.816 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006887/0.5867, allocations: 423.2 kB / 452.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5868, allocations: 8.031 kB / 452.5 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.878e-05/0.5869, allocations: 54.48 kB / 452.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.587, allocations: 23.67 kB / 452.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.5871, allocations: 178.9 kB / 452.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.5872, allocations: 12.33 kB / 452.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.5872, allocations: 16 kB / 452.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.5877, allocations: 165.6 kB / 452.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.5877, allocations: 11.91 kB / 452.9 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.5877, allocations: 8 kB / 452.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.5878, allocations: 4 kB / 452.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.588, allocations: 99.77 kB / 453 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.5892, allocations: 0.6112 MB / 453.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.5896, allocations: 125.2 kB / 453.8 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.5896, allocations: 8.125 kB / 453.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.5897, allocations: 42.5 kB / 453.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.5897, allocations: 0 / 453.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001158/0.5909, allocations: 381.2 kB / 454.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.591, allocations: 81.09 kB / 454.3 MB, free: 5.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.5911, allocations: 117.3 kB / 454.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5911, allocations: 29.7 kB / 454.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.5913, allocations: 190.4 kB / 454.6 MB, free: 4.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.5913, allocations: 59.19 kB / 454.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.5914, allocations: 4 kB / 454.7 MB, free: 4.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5915, allocations: 326.8 kB / 455 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.5916, allocations: 39.84 kB / 455 MB, free: 4.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.5918, allocations: 101.1 kB / 455.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.592, allocations: 56 kB / 455.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.592, allocations: 0 / 455.2 MB, free: 4.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005818/0.5926, allocations: 219.4 kB / 455.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5926, allocations: 6.031 kB / 455.4 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.5927, allocations: 8.047 kB / 455.4 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/0.593, allocations: 53.62 kB / 455.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.5932, allocations: 35.92 kB / 455.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.5961, allocations: 2.721 MB / 458.2 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.5963, allocations: 11.84 kB / 458.2 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.5963, allocations: 12 kB / 458.2 MB, free: 1.016 MB / 378.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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.5965, allocations: 141.9 kB / 458.4 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.5966, allocations: 7.906 kB / 458.4 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.5967, allocations: 16.72 kB / 458.4 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.5967, allocations: 4 kB / 458.4 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5967, allocations: 4 kB / 458.4 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5967, allocations: 0 / 458.4 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.5971, allocations: 241.4 kB / 458.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5972, allocations: 0 / 458.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.5975, allocations: 23.98 kB / 458.7 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.5977, allocations: 49.7 kB / 458.7 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5978, allocations: 4 kB / 458.7 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.6006, allocations: 2.732 MB / 461.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6006, allocations: 0 / 461.4 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.6012, allocations: 385.8 kB / 461.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.6013, allocations: 89.19 kB / 461.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.6014, allocations: 8 kB / 461.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.6016, allocations: 4.062 kB / 461.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.6016, allocations: 7.984 kB / 461.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.6017, allocations: 4.125 kB / 461.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.999e-05/0.6018, allocations: 101.1 kB / 462 MB, free: 12.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6018, allocations: 0 / 462 MB, free: 12.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006309/0.6024, allocations: 59.97 kB / 462.1 MB, free: 12.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.6034, allocations: 0.9908 MB / 463.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007537/0.6042, allocations: 361.4 kB / 463.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6042, allocations: 0 / 463.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.6047, allocations: 281.8 kB / 463.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.6052, allocations: 32.86 kB / 463.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.6089, allocations: 2.72 MB / 466.5 MB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.6093, allocations: 0.7281 MB / 467.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.6095, allocations: 43.42 kB / 467.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6095, allocations: 0 / 467.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.783/3.392, allocations: 3.729 MB / 471 MB, free: 3.699 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat