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/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.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.356/2.356, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.492e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4213, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.5966, allocations: 89.15 MB / 447.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.5969, allocations: 67.91 kB / 447.3 MB, free: 5.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09275/0.6897, allocations: 19.02 MB / 466.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6897, allocations: 0 / 466.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.525e-05/0.6898, allocations: 19.94 kB / 466.4 MB, free: 2.422 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.002776/0.6926, allocations: 0.902 MB / 467.3 MB, free: 1.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.6927, allocations: 12.02 kB / 467.3 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.693, allocations: 86.97 kB / 467.4 MB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.6949, allocations: 0.511 MB / 467.9 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.695, allocations: 12 kB / 467.9 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002821/0.6953, allocations: 39.86 kB / 467.9 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001669/0.697, allocations: 313.5 kB / 468.2 MB, free: 476 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.6991, allocations: 426.4 kB / 468.7 MB, free: 24 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.6992, allocations: 4 kB / 468.7 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.6993, allocations: 0 / 468.7 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.6993, allocations: 8 kB / 468.7 MB, free: 12 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3144/1.014, allocations: 1.841 MB / 470.5 MB, free: 94.67 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.015, allocations: 455.7 kB / 471 MB, free: 94.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/1.016, allocations: 184.1 kB / 471.1 MB, free: 94.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.701e-05/1.016, allocations: 5.312 kB / 471.1 MB, free: 94.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/1.016, allocations: 41.3 kB / 471.2 MB, free: 94.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.888e-06/1.016, allocations: 0 / 471.2 MB, free: 94.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.002151/1.018, allocations: 0.7245 MB / 471.9 MB, free: 94.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/1.018, allocations: 141.8 kB / 472 MB, free: 94.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008172/1.019, allocations: 453.6 kB / 472.5 MB, free: 93.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-05/1.019, allocations: 26.41 kB / 472.5 MB, free: 93.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/1.019, allocations: 341.7 kB / 472.8 MB, free: 93.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.02, allocations: 164.2 kB / 473 MB, free: 93.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/1.02, allocations: 0 / 473 MB, free: 93.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/1.02, allocations: 331.1 kB / 473.3 MB, free: 93.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/1.02, allocations: 181.7 kB / 473.5 MB, free: 93.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/1.021, allocations: 278.5 kB / 473.8 MB, free: 93.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/1.021, allocations: 209.4 kB / 474 MB, free: 93.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.021, allocations: 5.797 kB / 474 MB, free: 93.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001607/1.023, allocations: 0.545 MB / 474.5 MB, free: 93.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/1.023, allocations: 1.048 MB / 475.6 MB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.023, allocations: 2.719 kB / 475.6 MB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/1.024, allocations: 60.69 kB / 475.6 MB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.026, allocations: 195.1 kB / 475.8 MB, free: 92.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/1.027, allocations: 1.438 MB / 477.3 MB, free: 90.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.028, allocations: 80.62 kB / 477.4 MB, free: 90.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/1.029, allocations: 24.31 kB / 477.4 MB, free: 90.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.029, allocations: 10.33 kB / 477.4 MB, free: 90.89 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001435/1.03, allocations: 493.4 kB / 477.9 MB, free: 90.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.03, allocations: 2.344 kB / 477.9 MB, free: 90.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/1.03, allocations: 57.3 kB / 477.9 MB, free: 90.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.032, allocations: 197.1 kB / 478.1 MB, free: 90.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.032, allocations: 2.688 kB / 478.1 MB, free: 90.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/1.033, allocations: 61.88 kB / 478.2 MB, free: 90.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/1.033, allocations: 15.34 kB / 478.2 MB, free: 90.85 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 (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.0001979/1.033, allocations: 116.7 kB / 478.3 MB, free: 90.75 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001126/1.034, allocations: 450.7 kB / 478.7 MB, free: 90.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/1.034, allocations: 65.12 kB / 478.8 MB, free: 90.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/1.034, allocations: 74.59 kB / 478.9 MB, free: 90.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.034, allocations: 3.969 kB / 478.9 MB, free: 90.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.034, allocations: 7.531 kB / 478.9 MB, free: 90.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.034, allocations: 3.797 kB / 478.9 MB, free: 90.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/1.036, allocations: 0.7195 MB / 479.6 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.036, allocations: 0 / 479.6 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.037, allocations: 121.1 kB / 479.7 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/1.037, allocations: 2.719 kB / 479.7 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/1.037, allocations: 11.56 kB / 479.8 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/1.037, allocations: 3.281 kB / 479.8 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.037, allocations: 0 / 479.8 MB, free: 90.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.039, allocations: 0.9402 MB / 480.7 MB, free: 89.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/1.039, allocations: 185.8 kB / 480.9 MB, free: 89.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.04, allocations: 3.906 kB / 480.9 MB, free: 89.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.041, allocations: 64.22 kB / 480.9 MB, free: 89.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.041, allocations: 38.72 kB / 481 MB, free: 89.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/1.041, allocations: 23.03 kB / 481 MB, free: 89.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005531/1.041, allocations: 346.7 kB / 481.3 MB, free: 89.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.041, allocations: 0 / 481.3 MB, free: 89.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001184/1.043, allocations: 166.1 kB / 481.5 MB, free: 89.46 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 () * 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.001945/1.045, allocations: 1.628 MB / 483.1 MB, free: 88.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/1.047, allocations: 0.8892 MB / 484 MB, free: 87.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.047, allocations: 0 / 484 MB, free: 87.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/1.047, allocations: 205 kB / 484.2 MB, free: 87.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/1.049, allocations: 145.1 kB / 484.4 MB, free: 87.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/1.053, allocations: 1.338 MB / 485.7 MB, free: 87.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/1.053, allocations: 0.945 MB / 486.6 MB, free: 86.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006039/1.054, allocations: 238.3 kB / 486.9 MB, free: 86.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/1.054, allocations: 0 / 486.9 MB, free: 86.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.314/4.368, allocations: 11.67 MB / 498.6 MB, free: 80.32 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