Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01112/0.01113, allocations: 107.7 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001243/0.001243, allocations: 181.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.073/2.073, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2722/0.2722, allocations: 40.03 MB / 296.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005227, allocations: 8 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 54.89 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.000821/0.1333, allocations: 224.4 kB / 416.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.1364, allocations: 1.325 MB / 417.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1365, allocations: 4 kB / 417.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1365, allocations: 0 / 417.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-06/0.1365, allocations: 0 / 417.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.1372, allocations: 95.58 kB / 417.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.41e-05/0.1372, allocations: 0 / 417.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.1373, allocations: 0 / 417.7 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.1373, allocations: 4 kB / 417.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.602e-05/0.1374, allocations: 0 / 417.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.1374, allocations: 4 kB / 417.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1376, allocations: 39.95 kB / 417.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1376, allocations: 3.984 kB / 417.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.1377, allocations: 25.7 kB / 417.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.1378, allocations: 27.91 kB / 417.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1378, allocations: 0 / 417.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1378, allocations: 0 / 417.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1378, allocations: 0 / 417.8 MB, free: 0.7734 MB / 346.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.0003322/0.1382, allocations: 345.1 kB / 418.1 MB, free: 392 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1382, allocations: 12.03 kB / 418.1 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1383, allocations: 34.55 kB / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.1383, allocations: 0 / 418.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1384, allocations: 159.1 kB / 418.3 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1385, allocations: 7.891 kB / 418.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1385, allocations: 0 / 418.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.1386, allocations: 33.69 kB / 418.3 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1386, allocations: 3.938 kB / 418.4 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1386, allocations: 0 / 418.4 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1386, allocations: 4 kB / 418.4 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.1387, allocations: 8 kB / 418.4 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.1389, allocations: 141.7 kB / 418.5 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.1389, allocations: 22.47 kB / 418.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.1389, allocations: 96 / 418.5 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.139, allocations: 64.25 kB / 418.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 3.587e-06/0.139, allocations: 4 kB / 418.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001947/0.1392, allocations: 63.41 kB / 418.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1393, allocations: 77.11 kB / 418.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.1393, allocations: 89.86 kB / 418.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1394, allocations: 25.7 kB / 418.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.1394, allocations: 80.14 kB / 418.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1395, allocations: 3.984 kB / 418.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1395, allocations: 4 kB / 418.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1396, allocations: 311 kB / 419.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.1396, allocations: 4 kB / 419.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.1397, allocations: 7.938 kB / 419.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.1397, allocations: 33.64 kB / 419.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1397, allocations: 0 / 419.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.054e-05/0.1398, allocations: 59.31 kB / 419.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.1399, allocations: 41.64 kB / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1399, allocations: 0 / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1399, allocations: 0 / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.1399, allocations: 96 / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.14, allocations: 4 kB / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.14, allocations: 0 / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.14, allocations: 4 kB / 419.4 MB, free: 14.89 MB / 362.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 () * Number of clocked 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 0.0001046/0.1401, allocations: 131.5 kB / 419.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1401, allocations: 4 kB / 419.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.1402, allocations: 11.03 kB / 419.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1402, allocations: 4 kB / 419.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1402, allocations: 3.984 kB / 419.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1402, allocations: 0 / 419.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.1404, allocations: 145.7 kB / 419.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1404, allocations: 0 / 419.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.1404, allocations: 3.938 kB / 419.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1404, allocations: 4 kB / 419.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1404, allocations: 0 / 419.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1404, allocations: 3.953 kB / 419.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1404, allocations: 0 / 419.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1406, allocations: 102.8 kB / 419.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.1406, allocations: 77.11 kB / 419.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1407, allocations: 0 / 419.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.1407, allocations: 3.984 kB / 419.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.1407, allocations: 3.953 kB / 419.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1407, allocations: 4 kB / 419.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.704e-05/0.1408, allocations: 75.28 kB / 419.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1408, allocations: 0 / 419.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.1411, allocations: 12 kB / 420 MB, free: 14.21 MB / 362.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) * Number of clocked states: 0 () * 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.0007135/0.1418, allocations: 0.6672 MB / 420.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1419, allocations: 59.41 kB / 420.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1419, allocations: 4 kB / 420.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.142, allocations: 59.5 kB / 420.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.1421, allocations: 7.891 kB / 420.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.1425, allocations: 120.6 kB / 420.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.1428, allocations: 0.6692 MB / 421.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.678e-06/0.1428, allocations: 3.984 kB / 421.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.1428, allocations: 11.44 kB / 421.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.1428, allocations: 0 / 421.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1592, allocations: 1.197 MB / 422.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.1596, allocations: 206.8 kB / 423 MB, free: 11.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.452, allocations: 0 / 423 MB, free: 11.12 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat