Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.209e-05, allocations: 7.984 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3698, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5282, allocations: 82.69 MB / 440.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5285, allocations: 63.97 kB / 440.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06329/0.5918, allocations: 12.89 MB / 453.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5918, allocations: 0 / 453.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.5919, allocations: 0 / 453.8 MB, free: 15.09 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007065/0.5926, allocations: 449.9 kB / 454.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5926, allocations: 12.03 kB / 454.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.5927, allocations: 79.23 kB / 454.3 MB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5928, allocations: 238.3 kB / 454.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/0.5929, allocations: 158.6 kB / 454.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.593, allocations: 154.5 kB / 454.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.857e-05/0.5931, allocations: 158.5 kB / 455 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.5931, allocations: 105 kB / 455.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5932, allocations: 75.28 kB / 455.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.5932, allocations: 154.6 kB / 455.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.5933, allocations: 154.5 kB / 455.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.5936, allocations: 422.5 kB / 455.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.344e-05/0.5937, allocations: 169.1 kB / 456 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.5937, allocations: 84.14 kB / 456.1 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.5938, allocations: 83.27 kB / 456.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/0.5938, allocations: 131.5 kB / 456.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.5939, allocations: 0 / 456.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.473e-05/0.5939, allocations: 29.7 kB / 456.4 MB, free: 12.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.594, allocations: 77.11 kB / 456.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.33e-05/0.594, allocations: 85 kB / 456.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.5941, allocations: 25.7 kB / 456.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.5941, allocations: 154.6 kB / 456.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.5941, allocations: 0 / 456.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-07/0.5942, allocations: 0 / 456.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5943, allocations: 318.8 kB / 457 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.5943, allocations: 0 / 457 MB, free: 11.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.5943, allocations: 3.938 kB / 457 MB, free: 11.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.5944, allocations: 75.28 kB / 457.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.517e-05/0.5944, allocations: 75.28 kB / 457.2 MB, free: 11.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.349e-05/0.5945, allocations: 37.72 kB / 457.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.5945, allocations: 83.28 kB / 457.3 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.5946, allocations: 79.33 kB / 457.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.597e-05/0.5946, allocations: 161.2 kB / 457.5 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.536e-05/0.5947, allocations: 75.28 kB / 457.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.221e-05/0.5947, allocations: 150.6 kB / 457.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.5948, allocations: 83.22 kB / 457.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.5949, allocations: 79.28 kB / 457.9 MB, free: 10.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001224/0.595, allocations: 259.5 kB / 458.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.246e-05/0.5951, allocations: 138.6 kB / 458.3 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.5952, allocations: 101 kB / 458.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.5952, allocations: 112.7 kB / 458.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.868e-05/0.5953, allocations: 192.1 kB / 458.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/0.5954, allocations: 176.3 kB / 458.8 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.434e-05/0.5955, allocations: 176.3 kB / 459 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.5957, allocations: 389.7 kB / 459.4 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.059e-05/0.5958, allocations: 105 kB / 459.5 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.5958, allocations: 101 kB / 459.6 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.559e-05/0.5959, allocations: 184.2 kB / 459.8 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.596, allocations: 184.3 kB / 460 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.173e-05/0.596, allocations: 180.3 kB / 460.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.079e-05/0.5961, allocations: 180.2 kB / 460.3 MB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.5963, allocations: 307.8 kB / 460.6 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.5963, allocations: 182.4 kB / 460.8 MB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/0.5964, allocations: 184.3 kB / 461 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.5965, allocations: 109 kB / 461.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.5966, allocations: 180.2 kB / 461.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.5967, allocations: 113 kB / 461.4 MB, free: 7.027 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.984e-05/0.5967, allocations: 75.28 kB / 461.4 MB, free: 6.953 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5967, allocations: 0 / 461.4 MB, free: 6.953 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009527/0.5977, allocations: 167.7 kB / 461.6 MB, free: 6.789 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001487/0.5992, allocations: 1.087 MB / 462.7 MB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.657e-05/0.5993, allocations: 4 kB / 462.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5993, allocations: 0 / 462.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.5993, allocations: 0 / 462.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.5996, allocations: 0.5302 MB / 463.2 MB, free: 5.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.6002, allocations: 266.3 kB / 463.5 MB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.6004, allocations: 0.669 MB / 464.1 MB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.6005, allocations: 11.44 kB / 464.2 MB, free: 4.129 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6005, allocations: 0 / 464.2 MB, free: 4.129 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.61/3.21, allocations: 3.088 MB / 467.2 MB, free: 1.039 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat