Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous.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.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.0004899, allocations: 15.94 kB / 282.7 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1037, allocations: 48.7 MB / 331.4 MB, free: 8.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5005/0.6042, allocations: 83.43 MB / 414.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.6045, allocations: 71.91 kB / 414.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08962/0.6942, allocations: 14.62 MB / 429.5 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6942, allocations: 0 / 429.5 MB, free: 2.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.5e-05/0.6943, allocations: 24.16 kB / 429.5 MB, free: 2.844 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003784/0.6981, allocations: 1.059 MB / 430.6 MB, free: 1.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.6982, allocations: 8.031 kB / 430.6 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.6985, allocations: 86.47 kB / 430.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.6987, allocations: 87.02 kB / 430.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.7007, allocations: 0.5579 MB / 431.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.7008, allocations: 36.94 kB / 431.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.701, allocations: 55.91 kB / 431.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.7028, allocations: 0.553 MB / 431.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7028, allocations: 4 kB / 432 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.7029, allocations: 20 kB / 432 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.703, allocations: 8 kB / 432 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.7049, allocations: 477.8 kB / 432.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006106/0.7111, allocations: 1.963 MB / 434.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.7134, allocations: 0.5818 MB / 435 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.7135, allocations: 4.344 kB / 435 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.7135, allocations: 46.58 kB / 435 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.605e-06/0.7135, allocations: 0 / 435 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004662/0.7182, allocations: 1.16 MB / 436.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.7184, allocations: 170.1 kB / 436.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.7197, allocations: 0.5268 MB / 436.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.7199, allocations: 33.7 kB / 436.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.7203, allocations: 334.9 kB / 437.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.7206, allocations: 173.5 kB / 437.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.7206, allocations: 16 kB / 437.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7208, allocations: 326.8 kB / 437.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.722, allocations: 284.9 kB / 438 MB, free: 9.996 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.7234, allocations: 393.7 kB / 438.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.7248, allocations: 313.2 kB / 438.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7248, allocations: 0 / 438.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002864/0.7277, allocations: 0.7238 MB / 439.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.7277, allocations: 8 kB / 439.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.7278, allocations: 8 kB / 439.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.7278, allocations: 4 kB / 439.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.7291, allocations: 151.9 kB / 439.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.7292, allocations: 8 kB / 439.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.7303, allocations: 87.62 kB / 439.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.7305, allocations: 23.94 kB / 439.7 MB, free: 8.254 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 (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.0005267/0.731, allocations: 201.6 kB / 439.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.7313, allocations: 75.16 kB / 440 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.7315, allocations: 81.58 kB / 440.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.7316, allocations: 4 kB / 440.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7316, allocations: 0 / 440.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.7316, allocations: 7.984 kB / 440.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.7337, allocations: 0.8179 MB / 440.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.7338, allocations: 0 / 440.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.7352, allocations: 119.9 kB / 441 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.7352, allocations: 0 / 441 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.7353, allocations: 19.98 kB / 441 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.7353, allocations: 0 / 441 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7353, allocations: 0 / 441 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.7393, allocations: 1.211 MB / 442.3 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004914/0.7398, allocations: 188.3 kB / 442.4 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.74, allocations: 19.98 kB / 442.5 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.7411, allocations: 63.94 kB / 442.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.7413, allocations: 43.89 kB / 442.6 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.7414, allocations: 12 kB / 442.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.7425, allocations: 427 kB / 443 MB, free: 4.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7425, allocations: 0 / 443 MB, free: 4.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009007/0.7434, allocations: 120 kB / 443.1 MB, free: 4.746 MB / 362.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.004266/0.7477, allocations: 1.913 MB / 445 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002543/0.7503, allocations: 0.614 MB / 445.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.7504, allocations: 0 / 445.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.7517, allocations: 306.4 kB / 445.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.7533, allocations: 150.8 kB / 446.1 MB, free: 1.746 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.7679, allocations: 6.26 MB / 452.3 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.7688, allocations: 0.945 MB / 453.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/0.7696, allocations: 239.4 kB / 453.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.213e-06/0.7696, allocations: 0 / 453.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.035/3.804, allocations: 10.83 MB / 464.4 MB, free: 15.34 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat