Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState.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.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.701/2.701, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004526, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4273, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.6183, allocations: 89.91 MB / 459.3 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6186, allocations: 67.97 kB / 459.3 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4024/1.021, allocations: 19.16 MB / 478.5 MB, free: 92.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.021, allocations: 3.344 kB / 478.5 MB, free: 92.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.406e-05/1.021, allocations: 18.22 kB / 478.5 MB, free: 92.67 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003989/1.025, allocations: 1.044 MB / 479.6 MB, free: 92.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/1.025, allocations: 9.906 kB / 479.6 MB, free: 92.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003098/1.026, allocations: 80.77 kB / 479.6 MB, free: 92.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/1.026, allocations: 84.84 kB / 479.7 MB, free: 92.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.028, allocations: 0.5291 MB / 480.3 MB, free: 91.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/1.028, allocations: 39.36 kB / 480.3 MB, free: 91.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/1.028, allocations: 53.22 kB / 480.3 MB, free: 91.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/1.03, allocations: 0.5516 MB / 480.9 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/1.03, allocations: 6.484 kB / 480.9 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/1.03, allocations: 21.09 kB / 480.9 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/1.03, allocations: 12.91 kB / 480.9 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.032, allocations: 468.8 kB / 481.4 MB, free: 91.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/1.038, allocations: 1.93 MB / 483.3 MB, free: 90.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.04, allocations: 0.5851 MB / 483.9 MB, free: 90.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-05/1.04, allocations: 5.438 kB / 483.9 MB, free: 90.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.04, allocations: 40.25 kB / 484 MB, free: 90.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.006e-06/1.04, allocations: 0 / 484 MB, free: 90.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.00439/1.044, allocations: 1.163 MB / 485.1 MB, free: 90.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/1.045, allocations: 139.2 kB / 485.3 MB, free: 90.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.046, allocations: 0.5249 MB / 485.8 MB, free: 90.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/1.046, allocations: 36.61 kB / 485.8 MB, free: 90.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/1.046, allocations: 340.4 kB / 486.2 MB, free: 89.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/1.046, allocations: 166 kB / 486.3 MB, free: 89.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/1.047, allocations: 8 kB / 486.3 MB, free: 89.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/1.047, allocations: 336.4 kB / 486.6 MB, free: 89.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.048, allocations: 273.3 kB / 486.9 MB, free: 89.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.049, allocations: 382.5 kB / 487.3 MB, free: 89.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.05, allocations: 307.3 kB / 487.6 MB, free: 89.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.05, allocations: 0 / 487.6 MB, free: 89.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002606/1.053, allocations: 0.7436 MB / 488.3 MB, free: 88.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/1.053, allocations: 1.051 MB / 489.4 MB, free: 87.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.053, allocations: 7.25 kB / 489.4 MB, free: 87.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/1.053, allocations: 58.64 kB / 489.4 MB, free: 87.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/1.055, allocations: 199 kB / 489.6 MB, free: 87.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/1.057, allocations: 1.505 MB / 491.1 MB, free: 86.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.058, allocations: 92.97 kB / 491.2 MB, free: 86.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/1.058, allocations: 19.44 kB / 491.3 MB, free: 86.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.058, allocations: 3.875 kB / 491.3 MB, free: 86.3 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002379/1.06, allocations: 0.6856 MB / 491.9 MB, free: 86.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.061, allocations: 7.812 kB / 492 MB, free: 86.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/1.061, allocations: 59.11 kB / 492 MB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.062, allocations: 184.8 kB / 492.2 MB, free: 86.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.062, allocations: 11.59 kB / 492.2 MB, free: 86.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/1.063, allocations: 65.22 kB / 492.3 MB, free: 86.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/1.063, allocations: 23.33 kB / 492.3 MB, free: 86 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005399/1.064, allocations: 274.8 kB / 492.6 MB, free: 85.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.064, allocations: 67.41 kB / 492.6 MB, free: 85.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/1.064, allocations: 87.23 kB / 492.7 MB, free: 85.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/1.064, allocations: 3.031 kB / 492.7 MB, free: 85.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.064, allocations: 3.75 kB / 492.7 MB, free: 85.67 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.064, allocations: 0 / 492.7 MB, free: 85.67 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/1.066, allocations: 0.8213 MB / 493.5 MB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.066, allocations: 0 / 493.5 MB, free: 85.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.067, allocations: 111.6 kB / 493.6 MB, free: 85.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/1.067, allocations: 7.656 kB / 493.7 MB, free: 85.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/1.068, allocations: 10.84 kB / 493.7 MB, free: 85.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.068, allocations: 6.062 kB / 493.7 MB, free: 85.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.068, allocations: 3.953 kB / 493.7 MB, free: 85.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/1.071, allocations: 1.213 MB / 494.9 MB, free: 84.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/1.071, allocations: 191.4 kB / 495.1 MB, free: 84.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.072, allocations: 11.78 kB / 495.1 MB, free: 84.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009948/1.073, allocations: 64.81 kB / 495.1 MB, free: 84.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.073, allocations: 36.7 kB / 495.2 MB, free: 84.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/1.073, allocations: 13.72 kB / 495.2 MB, free: 84.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00097/1.074, allocations: 423.4 kB / 495.6 MB, free: 84.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.382e-06/1.074, allocations: 0 / 495.6 MB, free: 84.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001235/1.075, allocations: 205.5 kB / 495.8 MB, free: 84.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003712/1.079, allocations: 1.91 MB / 497.7 MB, free: 82.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003936/1.083, allocations: 1.171 MB / 498.9 MB, free: 82.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.083, allocations: 0 / 498.9 MB, free: 82.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.084, allocations: 305.8 kB / 499.2 MB, free: 82.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.085, allocations: 149.5 kB / 499.3 MB, free: 82.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.099, allocations: 6.264 MB / 0.4938 GB, free: 76.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.099, allocations: 0.9446 MB / 0.4947 GB, free: 75.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.1, allocations: 235.3 kB / 0.4949 GB, free: 75.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/1.1, allocations: 7.938 kB / 0.4949 GB, free: 75.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.131/4.231, allocations: 11.87 MB / 0.5065 GB, free: 64.52 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat