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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.284/2.284, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.19e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3362, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.4829, allocations: 81.22 MB / 439.3 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.4833, allocations: 67.95 kB / 439.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.5082, allocations: 5.755 MB / 445.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.22e-05/0.5083, allocations: 0 / 445.2 MB, free: 7.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.5084, allocations: 8 kB / 445.2 MB, free: 7.676 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.001254/0.5096, allocations: 0.5825 MB / 445.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.5097, allocations: 12.03 kB / 445.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.5098, allocations: 39.53 kB / 445.8 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.5103, allocations: 271.4 kB / 446.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.5103, allocations: 15.98 kB / 446.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.5104, allocations: 35.89 kB / 446.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006075/0.5111, allocations: 193.4 kB / 446.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.5118, allocations: 298.4 kB / 446.6 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.5119, allocations: 4 kB / 446.6 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.5119, allocations: 0 / 446.6 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.5119, allocations: 8 kB / 446.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.5142, allocations: 1.011 MB / 447.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.515, allocations: 311.5 kB / 447.9 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.5153, allocations: 150.5 kB / 448.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.5154, allocations: 8.75 kB / 448.1 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5154, allocations: 34.56 kB / 448.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 6.933e-06/0.5154, allocations: 4 kB / 448.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.00489/0.5203, allocations: 2.132 MB / 450.2 MB, free: 2.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.5205, allocations: 114.8 kB / 450.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.5207, allocations: 155.2 kB / 450.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.5208, allocations: 25.7 kB / 450.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.521, allocations: 247.5 kB / 450.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.5213, allocations: 193.1 kB / 451 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.5213, allocations: 0 / 451 MB, free: 1.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5215, allocations: 334.8 kB / 451.3 MB, free: 1.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.5219, allocations: 101.1 kB / 451.4 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.5225, allocations: 198.7 kB / 451.6 MB, free: 0.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.523, allocations: 135.9 kB / 451.7 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.523, allocations: 4 kB / 451.7 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001801/0.5249, allocations: 459.3 kB / 452.2 MB, free: 108 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.5249, allocations: 8.094 kB / 452.2 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.525, allocations: 7.984 kB / 452.2 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007566/0.5257, allocations: 118.5 kB / 452.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/0.5267, allocations: 96.06 kB / 452.4 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006636/0.5333, allocations: 4.49 MB / 456.9 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.534, allocations: 11.98 kB / 456.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.5341, allocations: 19.94 kB / 456.9 MB, free: 11 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.0002097/0.5343, allocations: 116.9 kB / 457 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001778/0.5361, allocations: 428 kB / 457.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.5363, allocations: 35.58 kB / 457.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.5365, allocations: 33.97 kB / 457.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.5366, allocations: 8 kB / 457.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.5366, allocations: 7.984 kB / 457.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.5366, allocations: 0 / 457.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004134/0.5408, allocations: 1.193 MB / 458.7 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5408, allocations: 192 / 458.7 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.542, allocations: 107.8 kB / 458.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006382/0.5427, allocations: 90.52 kB / 458.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.5428, allocations: 4 kB / 458.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005214/0.548, allocations: 3.942 MB / 462.9 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.5481, allocations: 4.031 kB / 462.9 MB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.5504, allocations: 0.8771 MB / 463.7 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5506, allocations: 108.7 kB / 463.8 MB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.766e-05/0.5507, allocations: 7.953 kB / 463.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.5513, allocations: 11.98 kB / 463.9 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.5515, allocations: 44 kB / 463.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.5516, allocations: 16 kB / 463.9 MB, free: 3.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.5518, allocations: 127.4 kB / 464.1 MB, free: 3.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5519, allocations: 0 / 464.1 MB, free: 3.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001541/0.5534, allocations: 100 kB / 464.1 MB, free: 3.25 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.002974/0.5564, allocations: 1.786 MB / 465.9 MB, free: 1.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.5584, allocations: 0.6656 MB / 466.6 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.5584, allocations: 4 kB / 466.6 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.5598, allocations: 0.5272 MB / 467.1 MB, free: 144 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009475/0.5608, allocations: 36.09 kB / 467.2 MB, free: 108 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2933/0.8541, allocations: 0.9729 MB / 468.1 MB, free: 99.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.8546, allocations: 0.8385 MB / 469 MB, free: 98.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.855, allocations: 132.5 kB / 469.1 MB, free: 98.57 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.855, allocations: 0 / 469.1 MB, free: 98.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.962/3.817, allocations: 10.32 MB / 479.4 MB, free: 95.87 MB / 394.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