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.325/2.325, allocations: 235 MB / 248.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.005e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3881, allocations: 54.84 MB / 364.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5547, allocations: 80 MB / 444.6 MB, free: 392 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5551, allocations: 63.97 kB / 444.7 MB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.5661, allocations: 2.543 MB / 447.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5662, allocations: 0 / 447.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.5662, allocations: 1.312 kB / 447.2 MB, free: 13.8 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.0007165/0.5669, allocations: 418.4 kB / 447.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.567, allocations: 8.031 kB / 447.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.15e-05/0.5671, allocations: 50.55 kB / 447.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.5671, allocations: 23.77 kB / 447.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.5674, allocations: 182.9 kB / 447.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.5674, allocations: 12.33 kB / 447.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.5675, allocations: 24.66 kB / 447.9 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.5679, allocations: 161.7 kB / 448.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5679, allocations: 0 / 448.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.5679, allocations: 12 kB / 448.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.568, allocations: 9.828 kB / 448.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.5682, allocations: 83.92 kB / 448.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.5694, allocations: 0.6112 MB / 448.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.5697, allocations: 122.4 kB / 448.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.5699, allocations: 49.72 kB / 449 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.5699, allocations: 4 kB / 449 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.57, allocations: 42.52 kB / 449 MB, free: 11.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.57, allocations: 0 / 449 MB, free: 11.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000537/0.5705, allocations: 148.1 kB / 449.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.5706, allocations: 77.11 kB / 449.2 MB, free: 11.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5707, allocations: 123.5 kB / 449.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.5708, allocations: 33.7 kB / 449.4 MB, free: 11.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5709, allocations: 198.4 kB / 449.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.571, allocations: 59.19 kB / 449.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.571, allocations: 0 / 449.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5711, allocations: 328.3 kB / 450 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.5713, allocations: 35.86 kB / 450 MB, free: 10.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.5714, allocations: 109.3 kB / 450.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5716, allocations: 51.97 kB / 450.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5716, allocations: 0 / 450.2 MB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000572/0.5722, allocations: 212 kB / 450.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5722, allocations: 11.95 kB / 450.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5723, allocations: 0 / 450.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.5726, allocations: 57.33 kB / 450.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.5729, allocations: 39.92 kB / 450.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.5756, allocations: 2.717 MB / 453.2 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.5758, allocations: 15.84 kB / 453.2 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.5759, allocations: 8.938 kB / 453.2 MB, free: 7.254 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 () * 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.0001187/0.576, allocations: 116.9 kB / 453.3 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.5761, allocations: 7.906 kB / 453.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.5761, allocations: 16.77 kB / 453.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5762, allocations: 8.062 kB / 453.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.5762, allocations: 8 kB / 453.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5762, allocations: 0 / 453.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.5766, allocations: 237.4 kB / 453.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5767, allocations: 0 / 453.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.577, allocations: 23.98 kB / 453.6 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.5773, allocations: 49.88 kB / 453.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5773, allocations: 4 kB / 453.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00265/0.58, allocations: 2.716 MB / 456.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.58, allocations: 3.953 kB / 456.4 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.5806, allocations: 382.8 kB / 456.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.5807, allocations: 85.02 kB / 456.8 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.5808, allocations: 4.062 kB / 456.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.5809, allocations: 4 kB / 456.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.581, allocations: 15.92 kB / 456.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.581, allocations: 8 kB / 456.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.238e-05/0.5811, allocations: 101.1 kB / 457 MB, free: 3.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5811, allocations: 0 / 457 MB, free: 3.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005926/0.5817, allocations: 59.97 kB / 457 MB, free: 3.051 MB / 378.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 () * 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.0009626/0.5827, allocations: 0.9827 MB / 458 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007074/0.5834, allocations: 341.8 kB / 458.3 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.5835, allocations: 8.062 kB / 458.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.5839, allocations: 281.1 kB / 458.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.5844, allocations: 24.53 kB / 458.7 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.5867, allocations: 0.6427 MB / 459.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.5872, allocations: 0.7325 MB / 460 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.5874, allocations: 39.42 kB / 460.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5874, allocations: 0 / 460.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.694/3.281, allocations: 3.741 MB / 463.8 MB, free: 12.12 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