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_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.695/2.695, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006498/0.0006499, allocations: 16 kB / 314.5 MB, free: 9.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3467, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.5176, allocations: 90.05 MB / 459.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5179, allocations: 75.8 kB / 459.5 MB, free: 368 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4481/0.966, allocations: 26.29 MB / 485.8 MB, free: 93.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.9661, allocations: 0 / 485.8 MB, free: 93.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.656e-05/0.9662, allocations: 14.28 kB / 485.8 MB, free: 93.88 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.004235/0.9704, allocations: 1.044 MB / 486.8 MB, free: 93.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.9705, allocations: 11.5 kB / 486.8 MB, free: 93.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002698/0.9708, allocations: 76.66 kB / 486.9 MB, free: 93.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/0.9711, allocations: 85.34 kB / 487 MB, free: 93.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.9733, allocations: 0.5442 MB / 487.5 MB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.9734, allocations: 36.41 kB / 487.6 MB, free: 92.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.9736, allocations: 51 kB / 487.6 MB, free: 92.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.9758, allocations: 0.5462 MB / 488.2 MB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.9759, allocations: 3.906 kB / 488.2 MB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.915e-05/0.976, allocations: 19.25 kB / 488.2 MB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.9761, allocations: 7.094 kB / 488.2 MB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.9785, allocations: 477.8 kB / 488.7 MB, free: 92.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.9851, allocations: 1.964 MB / 490.6 MB, free: 91.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.9878, allocations: 0.5843 MB / 491.2 MB, free: 91.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.9879, allocations: 3.969 kB / 491.2 MB, free: 91.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.988, allocations: 42.88 kB / 491.3 MB, free: 90.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 6.262e-06/0.988, allocations: 0 / 491.3 MB, free: 90.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.005495/0.9935, allocations: 1.17 MB / 492.4 MB, free: 90.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.9936, allocations: 143 kB / 492.6 MB, free: 90.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.9952, allocations: 0.5232 MB / 493.1 MB, free: 90.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.9954, allocations: 33.7 kB / 493.1 MB, free: 90.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.9957, allocations: 339.4 kB / 493.5 MB, free: 89.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.996, allocations: 171.1 kB / 493.6 MB, free: 89.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.9961, allocations: 11.5 kB / 493.6 MB, free: 89.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.9962, allocations: 329.5 kB / 494 MB, free: 89.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.9977, allocations: 281.1 kB / 494.2 MB, free: 89.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.9992, allocations: 392.5 kB / 494.6 MB, free: 88.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.001, allocations: 303.8 kB / 494.9 MB, free: 88.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.001, allocations: 0 / 494.9 MB, free: 88.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003287/1.004, allocations: 0.73 MB / 495.6 MB, free: 88.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/1.004, allocations: 1.051 MB / 496.7 MB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.004, allocations: 3.625 kB / 496.7 MB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/1.004, allocations: 7.719 kB / 496.7 MB, free: 87.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.006, allocations: 149.6 kB / 496.9 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/1.006, allocations: 3.062 kB / 496.9 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.007, allocations: 94.09 kB / 496.9 MB, free: 87.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/1.007, allocations: 20 kB / 497 MB, free: 87.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.008, allocations: 6.031 kB / 497 MB, free: 87.16 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003089/1.011, allocations: 0.6569 MB / 497.6 MB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.011, allocations: 8.062 kB / 497.6 MB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.011, allocations: 7.938 kB / 497.6 MB, free: 86.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.012, allocations: 139.7 kB / 497.8 MB, free: 86.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/1.012, allocations: 11.94 kB / 497.8 MB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/1.013, allocations: 71.64 kB / 497.9 MB, free: 86.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/1.013, allocations: 16 kB / 497.9 MB, free: 86.26 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 (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0005428/1.013, allocations: 276.9 kB / 498.2 MB, free: 85.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/1.013, allocations: 71.16 kB / 498.2 MB, free: 85.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/1.014, allocations: 85.62 kB / 498.3 MB, free: 85.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.014, allocations: 4 kB / 498.3 MB, free: 85.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.014, allocations: 0 / 498.3 MB, free: 85.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.014, allocations: 4 kB / 498.3 MB, free: 85.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/1.015, allocations: 0.8138 MB / 499.1 MB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.015, allocations: 7.938 kB / 499.1 MB, free: 84.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/1.017, allocations: 118.6 kB / 499.2 MB, free: 84.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.017, allocations: 4 kB / 499.3 MB, free: 84.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/1.017, allocations: 15.98 kB / 499.3 MB, free: 84.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/1.017, allocations: 4 kB / 499.3 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.017, allocations: 7.938 kB / 499.3 MB, free: 84.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/1.02, allocations: 1.203 MB / 0.4888 GB, free: 83.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/1.021, allocations: 188.3 kB / 0.4889 GB, free: 83.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/1.021, allocations: 19.94 kB / 0.489 GB, free: 83.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.022, allocations: 63.94 kB / 0.489 GB, free: 83.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.022, allocations: 35.89 kB / 0.489 GB, free: 83.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/1.022, allocations: 15.98 kB / 0.4891 GB, free: 83.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009315/1.023, allocations: 427 kB / 0.4895 GB, free: 82.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.023, allocations: 0 / 0.4895 GB, free: 82.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0011/1.024, allocations: 195.9 kB / 0.4897 GB, free: 82.62 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.003666/1.028, allocations: 1.911 MB / 0.4915 GB, free: 80.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003443/1.031, allocations: 0.9688 MB / 0.4925 GB, free: 79.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.031, allocations: 0 / 0.4925 GB, free: 79.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.033, allocations: 295.8 kB / 0.4928 GB, free: 79.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.034, allocations: 157.8 kB / 0.4929 GB, free: 79.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.046, allocations: 6.262 MB / 0.499 GB, free: 72.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/1.046, allocations: 0.9416 MB / 0.4999 GB, free: 71.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/1.047, allocations: 239.4 kB / 0.5002 GB, free: 71.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/1.047, allocations: 0 / 0.5002 GB, free: 71.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.967, allocations: 10.76 MB / 0.5107 GB, free: 61 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat