Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestScalarFunctions.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.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 235 MB / 248 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.249e-05, allocations: 4 kB / 309.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4163, allocations: 54.85 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5696, allocations: 80.59 MB / 445.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.57, allocations: 63.97 kB / 445.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03108/0.6011, allocations: 6.327 MB / 451.6 MB, free: 9.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6011, allocations: 0 / 451.6 MB, free: 9.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.6011, allocations: 4 kB / 451.6 MB, free: 9.551 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004239/0.6016, allocations: 368.6 kB / 452 MB, free: 9.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.6016, allocations: 8.031 kB / 452 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.6017, allocations: 34.56 kB / 452 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.6017, allocations: 3.953 kB / 452 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6019, allocations: 159.1 kB / 452.2 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.6019, allocations: 0 / 452.2 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.6019, allocations: 4 kB / 452.2 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.602, allocations: 33.69 kB / 452.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.602, allocations: 0 / 452.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.602, allocations: 1.312 kB / 452.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6021, allocations: 0 / 452.2 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.6021, allocations: 7.891 kB / 452.2 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.6023, allocations: 153.6 kB / 452.4 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.478e-05/0.6023, allocations: 14.58 kB / 452.4 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.6024, allocations: 12.95 kB / 452.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.6024, allocations: 0 / 452.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.6024, allocations: 60.25 kB / 452.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.914e-06/0.6025, allocations: 0 / 452.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.6026, allocations: 67.34 kB / 452.5 MB, free: 8.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.6027, allocations: 77.11 kB / 452.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.449e-05/0.6028, allocations: 85 kB / 452.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.6028, allocations: 29.73 kB / 452.7 MB, free: 8.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.6029, allocations: 150.6 kB / 452.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.6029, allocations: 0.6562 kB / 452.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.6029, allocations: 0 / 452.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6031, allocations: 318.8 kB / 453.2 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.6031, allocations: 3.984 kB / 453.2 MB, free: 7.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.6031, allocations: 0 / 453.2 MB, free: 7.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.426e-05/0.6032, allocations: 33.7 kB / 453.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6032, allocations: 4.062 kB / 453.2 MB, free: 7.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.799e-05/0.6033, allocations: 60.56 kB / 453.3 MB, free: 7.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.6033, allocations: 33.7 kB / 453.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6033, allocations: 0 / 453.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6034, allocations: 0 / 453.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-06/0.6034, allocations: 3.984 kB / 453.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6034, allocations: 0 / 453.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.6034, allocations: 0 / 453.3 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6034, allocations: 4 kB / 453.3 MB, free: 7.598 MB / 378.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.715e-05/0.6035, allocations: 134.7 kB / 453.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.6036, allocations: 0 / 453.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.6036, allocations: 7.078 kB / 453.4 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6036, allocations: 4 kB / 453.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6036, allocations: 0 / 453.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6036, allocations: 3.938 kB / 453.4 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6038, allocations: 153.6 kB / 453.6 MB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6038, allocations: 7.984 kB / 453.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.6038, allocations: 0 / 453.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6038, allocations: 0 / 453.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6038, allocations: 7.938 kB / 453.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6038, allocations: 4 kB / 453.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6038, allocations: 0 / 453.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.604, allocations: 98.72 kB / 453.7 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.604, allocations: 77.11 kB / 453.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.6041, allocations: 0 / 453.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.6041, allocations: 0 / 453.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.6041, allocations: 0 / 453.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.6041, allocations: 8.031 kB / 453.8 MB, free: 6.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.6042, allocations: 75.28 kB / 453.9 MB, free: 6.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6042, allocations: 0 / 453.9 MB, free: 6.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.6044, allocations: 8 kB / 453.9 MB, free: 6.914 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006553/0.6051, allocations: 0.6504 MB / 454.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.6052, allocations: 63.34 kB / 454.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6053, allocations: 0 / 454.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.6053, allocations: 59.41 kB / 454.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.6054, allocations: 1.547 kB / 454.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.6058, allocations: 104.4 kB / 454.7 MB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.6061, allocations: 0.6694 MB / 455.4 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.6061, allocations: 15.44 kB / 455.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6061, allocations: 0 / 455.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.4/3.006, allocations: 0.5965 MB / 456 MB, free: 4.648 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat