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_SteadyState.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_SteadyState,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.059/2.059, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004419, allocations: 20 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4018, allocations: 48.69 MB / 331.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5537, allocations: 83.7 MB / 415 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.554, allocations: 63.97 kB / 415.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1502/0.7043, allocations: 20.02 MB / 435.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7043, allocations: 4 kB / 435.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001152/0.7045, allocations: 16 kB / 435.2 MB, free: 6.438 MB / 362.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.005964/0.7105, allocations: 1.063 MB / 436.2 MB, free: 5.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/0.7106, allocations: 8.031 kB / 436.2 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003859/0.711, allocations: 86.52 kB / 436.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.7114, allocations: 87.02 kB / 436.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.7142, allocations: 0.5579 MB / 437 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/0.7143, allocations: 37 kB / 437 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.7146, allocations: 55.91 kB / 437 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.7175, allocations: 0.5491 MB / 437.6 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.7176, allocations: 8 kB / 437.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.7177, allocations: 20 kB / 437.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.7178, allocations: 8 kB / 437.6 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002971/0.7207, allocations: 469.9 kB / 438.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008538/0.7293, allocations: 1.928 MB / 440 MB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.7325, allocations: 0.5901 MB / 440.6 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.503e-05/0.7327, allocations: 8.453 kB / 440.6 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.7327, allocations: 42.5 kB / 440.7 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 6.292e-06/0.7328, allocations: 7.922 kB / 440.7 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.006733/0.7395, allocations: 1.16 MB / 441.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.7397, allocations: 166.2 kB / 442 MB, free: 15.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.7418, allocations: 0.523 MB / 442.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.742, allocations: 37.7 kB / 442.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.7425, allocations: 338.8 kB / 442.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.7429, allocations: 169.5 kB / 443 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.743, allocations: 8 kB / 443 MB, free: 14.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.7433, allocations: 338.8 kB / 443.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.7451, allocations: 265 kB / 443.6 MB, free: 13.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.7471, allocations: 401.7 kB / 444 MB, free: 13.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.7491, allocations: 303.9 kB / 444.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.7491, allocations: 0 / 444.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004561/0.7537, allocations: 0.7493 MB / 445.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.7538, allocations: 4.625 kB / 445.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.7538, allocations: 4 kB / 445.1 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000601/0.7544, allocations: 56.81 kB / 445.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/0.757, allocations: 200 kB / 445.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.7591, allocations: 1.499 MB / 446.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7604, allocations: 99.8 kB / 446.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7605, allocations: 20 kB / 447 MB, free: 10.13 MB / 378.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 (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.0006117/0.7612, allocations: 197.7 kB / 447.1 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.7615, allocations: 67.16 kB / 447.2 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.7617, allocations: 85.62 kB / 447.3 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.7618, allocations: 12 kB / 447.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7618, allocations: 0 / 447.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7618, allocations: 0 / 447.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.7637, allocations: 0.8257 MB / 448.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7638, allocations: 0 / 448.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.7652, allocations: 115.9 kB / 448.2 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.7652, allocations: 4 kB / 448.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/0.7653, allocations: 8 kB / 448.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.7653, allocations: 4 kB / 448.3 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/0.7653, allocations: 0 / 448.3 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.7692, allocations: 1.225 MB / 449.5 MB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/0.7697, allocations: 192.4 kB / 449.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.7699, allocations: 8 kB / 449.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.771, allocations: 75.88 kB / 449.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.7712, allocations: 31.95 kB / 449.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.733e-05/0.7712, allocations: 15.98 kB / 449.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.7723, allocations: 431 kB / 450.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7723, allocations: 0 / 450.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009471/0.7733, allocations: 119.9 kB / 450.3 MB, free: 6.621 MB / 378.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.004462/0.7778, allocations: 1.916 MB / 452.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.7818, allocations: 0.7374 MB / 453 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7819, allocations: 0 / 453 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.784, allocations: 307.6 kB / 453.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.7865, allocations: 153.6 kB / 453.4 MB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/0.8033, allocations: 6.268 MB / 459.7 MB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.8041, allocations: 0.945 MB / 460.7 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007873/0.805, allocations: 239.3 kB / 460.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.805, allocations: 0 / 460.9 MB, free: 11.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.377/4.182, allocations: 11.92 MB / 472.8 MB, free: 114.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat