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.Directions.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.Directions,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.000653, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3481, allocations: 48.7 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4837, allocations: 75.61 MB / 407 MB, free: 2.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.484, allocations: 67.97 kB / 407 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.509, allocations: 5.826 MB / 412.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.741e-06/0.5091, allocations: 4 kB / 412.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.5091, allocations: 4 kB / 412.9 MB, free: 12.8 MB / 346.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.001337/0.5105, allocations: 0.622 MB / 413.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5105, allocations: 8.031 kB / 413.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.5106, allocations: 74.53 kB / 413.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.5108, allocations: 47.48 kB / 413.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.5112, allocations: 278 kB / 413.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.5113, allocations: 28.98 kB / 413.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.5114, allocations: 40 kB / 414 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.5124, allocations: 385 kB / 414.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.5125, allocations: 7.891 kB / 414.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.5125, allocations: 16 kB / 414.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5126, allocations: 12 kB / 414.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.5135, allocations: 259.8 kB / 414.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.5158, allocations: 1.101 MB / 415.7 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.5168, allocations: 365.7 kB / 416.1 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.5168, allocations: 4 kB / 416.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.5169, allocations: 46.5 kB / 416.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.297e-06/0.5169, allocations: 0 / 416.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.006204/0.5231, allocations: 2.476 MB / 418.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/0.5232, allocations: 110.8 kB / 418.7 MB, free: 6.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.5236, allocations: 217.9 kB / 418.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.5236, allocations: 37.7 kB / 419 MB, free: 6.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.5238, allocations: 239 kB / 419.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.5241, allocations: 201.1 kB / 419.4 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.5241, allocations: 12 kB / 419.4 MB, free: 5.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5243, allocations: 334.8 kB / 419.7 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.5248, allocations: 133.1 kB / 419.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.5254, allocations: 239.8 kB / 420.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.5259, allocations: 167.8 kB / 420.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.526, allocations: 0 / 420.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001709/0.5277, allocations: 0.5425 MB / 420.8 MB, free: 4.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.5277, allocations: 11.94 kB / 420.8 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5277, allocations: 3.953 kB / 420.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.5283, allocations: 130.9 kB / 420.9 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.529, allocations: 99.88 kB / 421 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.5348, allocations: 4.703 MB / 425.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.5353, allocations: 20 kB / 425.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.5354, allocations: 19.98 kB / 425.8 MB, free: 14.9 MB / 362.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 () * Number of clocked 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.0003198/0.5357, allocations: 169.8 kB / 426 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5359, allocations: 39.53 kB / 426 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.536, allocations: 58.11 kB / 426 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.536, allocations: 4 kB / 426.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.536, allocations: 4 kB / 426.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5361, allocations: 3.984 kB / 426.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.5393, allocations: 1.34 MB / 427.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5394, allocations: 8.406 kB / 427.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.5402, allocations: 99.88 kB / 427.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.5407, allocations: 98.47 kB / 427.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.5407, allocations: 8 kB / 427.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004518/0.5452, allocations: 4.147 MB / 431.8 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5453, allocations: 3.938 kB / 431.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.5476, allocations: 1.006 MB / 432.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.5478, allocations: 140.7 kB / 432.9 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.5479, allocations: 16.12 kB / 432.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.5484, allocations: 19.98 kB / 432.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.5485, allocations: 47.88 kB / 433 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.5486, allocations: 16 kB / 433 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.5488, allocations: 174 kB / 433.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5489, allocations: 0 / 433.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009786/0.5498, allocations: 120 kB / 433.3 MB, free: 6.812 MB / 362.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 () * Number of clocked 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.00279/0.5526, allocations: 1.909 MB / 435.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.5546, allocations: 0.7813 MB / 436 MB, free: 4.023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5546, allocations: 4.188 kB / 436 MB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.5559, allocations: 0.5701 MB / 436.6 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.5566, allocations: 50.95 kB / 436.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.5639, allocations: 4.387 MB / 441 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.5645, allocations: 0.8319 MB / 441.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.5648, allocations: 131.4 kB / 441.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5648, allocations: 4 kB / 442 MB, free: 13.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.018/3.583, allocations: 10.47 MB / 452.4 MB, free: 3.359 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat