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.818/2.818, allocations: 234.9 MB / 250.5 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004828, allocations: 12 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4666, allocations: 54.85 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.6512, allocations: 89.65 MB / 459 MB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/0.6516, allocations: 79.83 kB / 459.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08169/0.7333, allocations: 13.77 MB / 472.8 MB, free: 5.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.7334, allocations: 0 / 472.8 MB, free: 5.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.551e-05/0.7335, allocations: 20 kB / 472.9 MB, free: 5.102 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.003854/0.7374, allocations: 1.04 MB / 473.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.7374, allocations: 12.02 kB / 473.9 MB, free: 4 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.7377, allocations: 78.53 kB / 474 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.738, allocations: 82.97 kB / 474.1 MB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.7399, allocations: 0.5385 MB / 474.6 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/0.7401, allocations: 33 kB / 474.6 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.7403, allocations: 55.86 kB / 474.7 MB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.7422, allocations: 0.5482 MB / 475.2 MB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.7423, allocations: 4 kB / 475.2 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.7424, allocations: 16 kB / 475.3 MB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.7424, allocations: 15.94 kB / 475.3 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.7445, allocations: 465.9 kB / 475.7 MB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008444/0.753, allocations: 1.971 MB / 477.7 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.757, allocations: 0.5845 MB / 478.3 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.7571, allocations: 7.984 kB / 478.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.7572, allocations: 38.56 kB / 478.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.887e-06/0.7572, allocations: 0 / 478.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.00727/0.7645, allocations: 1.168 MB / 479.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.7647, allocations: 140.5 kB / 479.6 MB, free: 14.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.7668, allocations: 0.5191 MB / 480.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000223/0.7671, allocations: 33.7 kB / 480.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.7676, allocations: 342.8 kB / 480.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.768, allocations: 165.6 kB / 480.7 MB, free: 12.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.7681, allocations: 12 kB / 480.7 MB, free: 12.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.7683, allocations: 330.8 kB / 481 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.7703, allocations: 285 kB / 481.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.7724, allocations: 392.8 kB / 481.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.7746, allocations: 301.2 kB / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.7747, allocations: 11.94 kB / 482 MB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004568/0.7793, allocations: 0.7252 MB / 482.7 MB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007279/0.78, allocations: 1.044 MB / 483.8 MB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.7801, allocations: 4 kB / 483.8 MB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.326e-05/0.7802, allocations: 7.984 kB / 483.8 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.7823, allocations: 159.8 kB / 483.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/0.7823, allocations: 7.938 kB / 483.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.784, allocations: 87.62 kB / 484 MB, free: 9.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.7843, allocations: 20 kB / 484 MB, free: 9.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.7844, allocations: 4 kB / 484 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004213/0.7886, allocations: 0.6644 MB / 484.7 MB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.7887, allocations: 4 kB / 484.7 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.7887, allocations: 4 kB / 484.7 MB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.7907, allocations: 140.1 kB / 484.9 MB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/0.7908, allocations: 11.94 kB / 484.9 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.7918, allocations: 75.59 kB / 484.9 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.7919, allocations: 23.98 kB / 485 MB, free: 8.57 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 () * 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.0007495/0.7927, allocations: 272.9 kB / 485.2 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.793, allocations: 67.16 kB / 485.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.7933, allocations: 81.62 kB / 485.4 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7933, allocations: 4 kB / 485.4 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.7933, allocations: 4 kB / 485.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.7934, allocations: 4 kB / 485.4 MB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.7954, allocations: 0.8102 MB / 486.2 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7955, allocations: 96 / 486.2 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.7968, allocations: 115.9 kB / 486.3 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.7969, allocations: 7.984 kB / 486.3 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.7969, allocations: 19.98 kB / 486.3 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.797, allocations: 0 / 486.3 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.797, allocations: 0 / 486.3 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.8008, allocations: 1.203 MB / 487.5 MB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.8014, allocations: 192.3 kB / 487.7 MB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.8016, allocations: 12 kB / 487.7 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8026, allocations: 71.86 kB / 487.8 MB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.8028, allocations: 35.91 kB / 487.8 MB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.8029, allocations: 19.98 kB / 487.9 MB, free: 5.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001102/0.804, allocations: 423 kB / 488.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.804, allocations: 0 / 488.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001339/0.8054, allocations: 192 kB / 488.5 MB, free: 4.945 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 () * 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.004581/0.81, allocations: 1.921 MB / 490.4 MB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.8141, allocations: 0.9687 MB / 491.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.8141, allocations: 4 kB / 491.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.8154, allocations: 293 kB / 491.6 MB, free: 1.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.817, allocations: 154.1 kB / 491.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02133/0.8384, allocations: 6.247 MB / 498 MB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.8395, allocations: 0.9494 MB / 499 MB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.8406, allocations: 235.4 kB / 499.2 MB, free: 10.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.8406, allocations: 0 / 499.2 MB, free: 10.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.312/4.152, allocations: 10.75 MB / 0.498 GB, free: 120.8 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