Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestNonlinear.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.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestNonlinear",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.01052/0.01053, allocations: 106.2 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.001139/0.001139, allocations: 181.7 kB / 15.95 MB, free: 5.953 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.216/2.216, 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.2966/0.2966, allocations: 40.03 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.00052, allocations: 11.94 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0006391/0.1223, allocations: 220.5 kB / 416.2 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.1264, allocations: 2.039 MB / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-06/0.1265, allocations: 0 / 418.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.941e-06/0.1265, allocations: 4 kB / 418.3 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.074e-06/0.1265, allocations: 0 / 418.3 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.1299, allocations: 0.4912 MB / 418.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.13, allocations: 11.97 kB / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.13, allocations: 0 / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1301, allocations: 11.84 kB / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.1302, allocations: 11.98 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1302, allocations: 0 / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.1316, allocations: 0.5072 MB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-06/0.1317, allocations: 0 / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.1317, allocations: 29.7 kB / 419.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007165/0.1325, allocations: 295.5 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1325, allocations: 0 / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1325, allocations: 0 / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1325, allocations: 0 / 419.6 MB, free: 14.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004849/0.133, allocations: 413 kB / 420 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1331, allocations: 16.03 kB / 420 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.078e-05/0.1332, allocations: 109.8 kB / 420.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.1332, allocations: 75.28 kB / 420.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1334, allocations: 238.3 kB / 420.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.1334, allocations: 154.5 kB / 420.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.1335, allocations: 158.6 kB / 420.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.1336, allocations: 112.9 kB / 420.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.1337, allocations: 75.28 kB / 420.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.1337, allocations: 150.6 kB / 421.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/0.1338, allocations: 154.5 kB / 421.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.1339, allocations: 150.6 kB / 421.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.1342, allocations: 450 kB / 421.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.1343, allocations: 169.1 kB / 422 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1344, allocations: 79.27 kB / 422.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.092e-05/0.1344, allocations: 139.5 kB / 422.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.1345, allocations: 0 / 422.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.042e-05/0.1346, allocations: 29.7 kB / 422.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.1347, allocations: 156.4 kB / 422.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/0.1347, allocations: 89.86 kB / 422.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1347, allocations: 25.7 kB / 422.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.1348, allocations: 84.14 kB / 422.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.1348, allocations: 0 / 422.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-07/0.1348, allocations: 0 / 422.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1349, allocations: 310.8 kB / 422.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-06/0.135, allocations: 0 / 422.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.135, allocations: 4.047 kB / 422.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.1351, allocations: 83.28 kB / 423 MB, free: 11.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/0.1351, allocations: 75.28 kB / 423 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.351e-05/0.1352, allocations: 33.62 kB / 423.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.1352, allocations: 87.23 kB / 423.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.1353, allocations: 79.28 kB / 423.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.566e-05/0.1354, allocations: 154.5 kB / 423.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.965e-05/0.1354, allocations: 79.31 kB / 423.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-05/0.1355, allocations: 154.5 kB / 423.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.1356, allocations: 79.28 kB / 423.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.1356, allocations: 79.27 kB / 423.8 MB, free: 10.51 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001461/0.1358, allocations: 264.4 kB / 424 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.1359, allocations: 108.9 kB / 424.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.1359, allocations: 112 kB / 424.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.178e-05/0.136, allocations: 192.2 kB / 424.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-05/0.1361, allocations: 176.3 kB / 424.6 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.1362, allocations: 180.2 kB / 424.8 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1365, allocations: 409.1 kB / 425.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.1366, allocations: 105 kB / 425.3 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1366, allocations: 108.9 kB / 425.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-05/0.1367, allocations: 176.3 kB / 425.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.1368, allocations: 184.3 kB / 425.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.36e-05/0.1369, allocations: 184.2 kB / 425.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.751e-05/0.137, allocations: 188.2 kB / 426.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.1371, allocations: 303.8 kB / 426.4 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-05/0.1372, allocations: 178.1 kB / 426.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.1373, allocations: 188.2 kB / 426.8 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1374, allocations: 101 kB / 426.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.1375, allocations: 192.1 kB / 427.1 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.1376, allocations: 105 kB / 427.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.879e-05/0.1377, allocations: 75.28 kB / 427.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1377, allocations: 0 / 427.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007513/0.1384, allocations: 128 kB / 427.4 MB, free: 6.707 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.001544/0.14, allocations: 1.046 MB / 428.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.835e-05/0.1401, allocations: 0 / 428.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1401, allocations: 0 / 428.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.46e-06/0.1401, allocations: 8 kB / 428.4 MB, free: 5.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.1405, allocations: 0.5224 MB / 428.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.1411, allocations: 231.6 kB / 429.2 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1414, allocations: 0.677 MB / 429.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.105e-06/0.1414, allocations: 0 / 429.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1414, allocations: 11.44 kB / 429.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1414, allocations: 4 kB / 429.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.1702, allocations: 3.748 MB / 433.6 MB, free: 448 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000381/0.1706, allocations: 204 kB / 433.8 MB, free: 200 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/2.637, allocations: 0 / 433.8 MB, free: 200 kB / 362.7 MB