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/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.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.552/2.552, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.61e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4147, allocations: 54.84 MB / 364.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.5876, allocations: 83.36 MB / 448 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.5879, allocations: 63.97 kB / 448 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06538/0.6533, allocations: 12.92 MB / 461 MB, free: 140 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6534, allocations: 0 / 461 MB, free: 140 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.6534, allocations: 0 / 461 MB, free: 140 kB / 378.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.0007929/0.6542, allocations: 456.8 kB / 461.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.6543, allocations: 20.02 kB / 461.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.615e-05/0.6544, allocations: 109.8 kB / 461.5 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.6545, allocations: 75.28 kB / 461.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.6546, allocations: 234.4 kB / 461.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.6547, allocations: 154.5 kB / 462 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.6548, allocations: 154.6 kB / 462.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.6549, allocations: 105 kB / 462.2 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.6549, allocations: 75.94 kB / 462.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.088e-05/0.655, allocations: 150.6 kB / 462.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.6551, allocations: 154.5 kB / 462.6 MB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.6552, allocations: 154.6 kB / 462.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.6555, allocations: 453.9 kB / 463.2 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.6556, allocations: 165.1 kB / 463.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.6557, allocations: 80.14 kB / 463.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.6557, allocations: 80.97 kB / 463.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.66e-05/0.6558, allocations: 135.5 kB / 463.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.414e-06/0.6559, allocations: 0 / 463.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.58e-05/0.656, allocations: 36.92 kB / 463.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.6561, allocations: 160.3 kB / 463.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.515e-05/0.6561, allocations: 85 kB / 463.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.6562, allocations: 25.7 kB / 464 MB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.6562, allocations: 154.6 kB / 464.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.6562, allocations: 0 / 464.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-07/0.6563, allocations: 3.938 kB / 464.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6564, allocations: 318.8 kB / 464.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.6564, allocations: 0 / 464.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.6565, allocations: 0 / 464.4 MB, free: 12.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.035e-05/0.6566, allocations: 79.28 kB / 464.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.201e-05/0.6566, allocations: 75.28 kB / 464.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.721e-05/0.6567, allocations: 33.64 kB / 464.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/0.6568, allocations: 83.28 kB / 464.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.251e-05/0.6568, allocations: 79.28 kB / 464.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.468e-05/0.6569, allocations: 155.2 kB / 464.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.657, allocations: 79.22 kB / 465 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.302e-05/0.6571, allocations: 158.5 kB / 465.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.6572, allocations: 79.22 kB / 465.2 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.6572, allocations: 79.23 kB / 465.3 MB, free: 11.54 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.0001528/0.6574, allocations: 263.5 kB / 465.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.6575, allocations: 101 kB / 465.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.6575, allocations: 109.3 kB / 465.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.083e-05/0.6576, allocations: 184.2 kB / 466 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.843e-05/0.6577, allocations: 180.2 kB / 466.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.279e-05/0.6578, allocations: 176.3 kB / 466.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.6582, allocations: 409.2 kB / 466.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-05/0.6582, allocations: 108.9 kB / 466.8 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.6583, allocations: 101 kB / 466.9 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/0.6584, allocations: 184.2 kB / 467.1 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.368e-05/0.6585, allocations: 180.3 kB / 467.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/0.6586, allocations: 184.3 kB / 467.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.683e-05/0.6587, allocations: 180.2 kB / 467.6 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.6589, allocations: 307.7 kB / 467.9 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.659, allocations: 182.1 kB / 468.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6591, allocations: 192.5 kB / 468.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.6592, allocations: 109 kB / 468.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.6593, allocations: 180.3 kB / 468.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.6594, allocations: 105 kB / 468.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.6594, allocations: 79.3 kB / 468.7 MB, free: 7.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6594, allocations: 0 / 468.7 MB, free: 7.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000973/0.6604, allocations: 171.5 kB / 468.9 MB, free: 7.707 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.001758/0.6622, allocations: 1.089 MB / 470 MB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.89e-05/0.6623, allocations: 4 kB / 470 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6623, allocations: 0 / 470 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.6623, allocations: 0 / 470 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.6627, allocations: 0.5185 MB / 470.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.6633, allocations: 271.8 kB / 470.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.6637, allocations: 0.677 MB / 471.5 MB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.6637, allocations: 7.438 kB / 471.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6637, allocations: 0 / 471.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.606/3.27, allocations: 2.998 MB / 474.5 MB, free: 2.066 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