Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexOperations",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.01339/0.01339, allocations: 108.6 kB / 15.06 MB, free: 6.027 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.00199/0.00199, allocations: 184.3 kB / 15.95 MB, free: 5.965 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.078/2.078, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.2698/0.2698, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004808, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1251, allocations: 54.87 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.000764/0.126, allocations: 208.4 kB / 416.2 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005055/0.131, allocations: 2.143 MB / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.1311, allocations: 0 / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1312, allocations: 0 / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.1312, allocations: 4 kB / 418.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003945/0.1351, allocations: 0.8997 MB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.569e-05/0.1352, allocations: 3.984 kB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.1353, allocations: 4 kB / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.1353, allocations: 0 / 419.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.831e-05/0.1353, allocations: 4 kB / 419.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.1354, allocations: 0 / 419.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.1378, allocations: 0.7257 MB / 420 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.1378, allocations: 0 / 420 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.1379, allocations: 25.7 kB / 420 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009095/0.1388, allocations: 259.5 kB / 420.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1388, allocations: 3.938 kB / 420.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1389, allocations: 0 / 420.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1389, allocations: 4 kB / 420.3 MB, free: 14.27 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005842/0.1395, allocations: 425 kB / 420.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1395, allocations: 8.031 kB / 420.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.1396, allocations: 30.56 kB / 420.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1396, allocations: 4 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1398, allocations: 167 kB / 420.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1398, allocations: 0 / 420.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1398, allocations: 3.953 kB / 420.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.14, allocations: 33.7 kB / 420.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.14, allocations: 0 / 420.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.14, allocations: 0 / 420.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.14, allocations: 0 / 420.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.1401, allocations: 4 kB / 420.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.1403, allocations: 149.7 kB / 421.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/0.1403, allocations: 18.52 kB / 421.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.1403, allocations: 0 / 421.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/0.1404, allocations: 64.31 kB / 421.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.1404, allocations: 4 kB / 421.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002339/0.1407, allocations: 67.38 kB / 421.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.1408, allocations: 81.11 kB / 421.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.1409, allocations: 89.86 kB / 421.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1409, allocations: 25.7 kB / 421.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.1409, allocations: 80.14 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.141, allocations: 3.906 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.141, allocations: 8.062 kB / 421.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1412, allocations: 310.8 kB / 421.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.1412, allocations: 4 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.1412, allocations: 4 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.1413, allocations: 25.7 kB / 421.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1413, allocations: 0 / 421.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001596/0.1415, allocations: 63.39 kB / 421.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.1415, allocations: 29.7 kB / 421.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.1416, allocations: 12.03 kB / 422 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1416, allocations: 3.953 kB / 422 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.1416, allocations: 0 / 422 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1416, allocations: 0 / 422 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.1417, allocations: 0 / 422 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1417, allocations: 0 / 422 MB, free: 12.32 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.0001325/0.1418, allocations: 139.8 kB / 422.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1419, allocations: 4 kB / 422.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.1419, allocations: 11.02 kB / 422.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1419, allocations: 11.89 kB / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1419, allocations: 0 / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1419, allocations: 0 / 422.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.1421, allocations: 149.7 kB / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1421, allocations: 0 / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.1421, allocations: 0 / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1421, allocations: 0 / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1421, allocations: 0 / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1421, allocations: 4 kB / 422.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.1422, allocations: 7.953 kB / 422.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.1423, allocations: 90.83 kB / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1424, allocations: 81.05 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1424, allocations: 4 kB / 422.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.1424, allocations: 0 / 422.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.1425, allocations: 0 / 422.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1425, allocations: 3.953 kB / 422.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.738e-05/0.1425, allocations: 75.28 kB / 422.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1425, allocations: 0 / 422.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008186/0.1434, allocations: 140 kB / 422.7 MB, free: 11.51 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.001653/0.1451, allocations: 0.8953 MB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1452, allocations: 63.39 kB / 423.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1453, allocations: 0 / 423.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.1453, allocations: 55.39 kB / 423.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.1455, allocations: 7.938 kB / 423.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.1461, allocations: 176.5 kB / 423.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1465, allocations: 0.6809 MB / 424.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.254e-06/0.1465, allocations: 0 / 424.5 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.1465, allocations: 7.438 kB / 424.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1465, allocations: 0 / 424.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.1779, allocations: 4.879 MB / 429.4 MB, free: 4.695 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003502/0.1783, allocations: 225 kB / 429.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/2.804, allocations: 3.938 kB / 429.7 MB, free: 4.449 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat