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.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,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.786e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3826, allocations: 54.85 MB / 364.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.5538, allocations: 89.57 MB / 454.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5541, allocations: 64.66 kB / 454.2 MB, free: 6.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06768/0.6218, allocations: 13.74 MB / 468 MB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6218, allocations: 0 / 468 MB, free: 9.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.693e-05/0.6219, allocations: 20 kB / 468 MB, free: 8.984 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.6247, allocations: 0.9114 MB / 468.9 MB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.6248, allocations: 8.031 kB / 468.9 MB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.625, allocations: 79.27 kB / 469 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.6253, allocations: 83.06 kB / 469.1 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.6268, allocations: 0.5188 MB / 469.6 MB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.6269, allocations: 32.78 kB / 469.6 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.627, allocations: 55.86 kB / 469.7 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6283, allocations: 480 kB / 470.2 MB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.6284, allocations: 4 kB / 470.2 MB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.6285, allocations: 19.98 kB / 470.2 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.6285, allocations: 9.406 kB / 470.2 MB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.6296, allocations: 342.1 kB / 470.5 MB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.6352, allocations: 1.967 MB / 472.5 MB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.6367, allocations: 464 kB / 472.9 MB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.6372, allocations: 194.6 kB / 473.1 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.281e-05/0.6373, allocations: 4 kB / 473.1 MB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.6373, allocations: 47.41 kB / 473.2 MB, free: 3.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/0.6373, allocations: 0 / 473.2 MB, free: 3.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.00222/0.6396, allocations: 0.7535 MB / 473.9 MB, free: 2.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6397, allocations: 144.4 kB / 474.1 MB, free: 2.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6407, allocations: 0.4926 MB / 474.6 MB, free: 2.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.154e-05/0.6408, allocations: 33.8 kB / 474.6 MB, free: 2.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.6412, allocations: 346.8 kB / 474.9 MB, free: 1.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.6414, allocations: 165.6 kB / 475.1 MB, free: 1.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.6415, allocations: 12 kB / 475.1 MB, free: 1.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.6416, allocations: 330.8 kB / 475.4 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.6423, allocations: 197 kB / 475.6 MB, free: 1.047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.643, allocations: 312.9 kB / 475.9 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.6436, allocations: 237.2 kB / 476.2 MB, free: 484 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6437, allocations: 0 / 476.2 MB, free: 484 kB / 394.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001625/0.6453, allocations: 0.5613 MB / 476.7 MB, free: 15.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004872/0.6458, allocations: 1.055 MB / 477.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6458, allocations: 4 kB / 477.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.6459, allocations: 7.953 kB / 477.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.6472, allocations: 151.8 kB / 477.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.6472, allocations: 5.219 kB / 477.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.6483, allocations: 87.62 kB / 478 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.6483, allocations: 20 kB / 478.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6484, allocations: 4 kB / 478.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001488/0.6499, allocations: 0.5267 MB / 478.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6499, allocations: 8.297 kB / 478.6 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6499, allocations: 12 kB / 478.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.6511, allocations: 139.8 kB / 478.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.6511, allocations: 4 kB / 478.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.6517, allocations: 67.66 kB / 478.8 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.6518, allocations: 20 kB / 478.8 MB, free: 13.72 MB / 410.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 (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.0002165/0.652, allocations: 144.1 kB / 479 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.6523, allocations: 67.16 kB / 479 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.6526, allocations: 85.36 kB / 479.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.6527, allocations: 8 kB / 479.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.6527, allocations: 0 / 479.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6527, allocations: 7.984 kB / 479.1 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.6545, allocations: 0.7867 MB / 479.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6546, allocations: 4 kB / 479.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.6559, allocations: 115.9 kB / 480 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.6559, allocations: 0 / 480 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.412e-05/0.656, allocations: 19.98 kB / 480.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.656, allocations: 0 / 480.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.656, allocations: 8 kB / 480.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.6581, allocations: 0.9657 MB / 481 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.6586, allocations: 192.3 kB / 481.2 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.6587, allocations: 12 kB / 481.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6598, allocations: 67.88 kB / 481.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.66, allocations: 39.89 kB / 481.3 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.66, allocations: 12 kB / 481.3 MB, free: 11.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007894/0.6608, allocations: 399.2 kB / 481.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6608, allocations: 0 / 481.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00107/0.6619, allocations: 191.9 kB / 481.9 MB, free: 10.52 MB / 410.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.002574/0.6645, allocations: 1.679 MB / 483.6 MB, free: 8.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.6667, allocations: 0.7297 MB / 484.3 MB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6667, allocations: 0 / 484.3 MB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.6674, allocations: 222.8 kB / 484.6 MB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6688, allocations: 149.3 kB / 484.7 MB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.673, allocations: 1.356 MB / 486.1 MB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.6738, allocations: 0.9416 MB / 487 MB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/0.6745, allocations: 243.3 kB / 487.2 MB, free: 5.086 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6745, allocations: 0 / 487.2 MB, free: 5.086 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.797/3.471, allocations: 10.68 MB / 497.9 MB, free: 10.42 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat