Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 105.7 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 191.8 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2301/0.2301, allocations: 43.51 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003014/0.003014, allocations: 77.44 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1483, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001667/0.15, allocations: 0.5025 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.1535, allocations: 2.218 MB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-06/0.1536, allocations: 0 / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.508e-06/0.1536, allocations: 0 / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.473e-06/0.1536, allocations: 0 / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.1558, allocations: 0.6155 MB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.1559, allocations: 8 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.1559, allocations: 4 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.156, allocations: 15.92 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.1561, allocations: 7.984 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-06/0.1561, allocations: 0 / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1573, allocations: 0.6397 MB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.1573, allocations: 4 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.1573, allocations: 0 / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.1581, allocations: 427.1 kB / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1581, allocations: 0 / 0.4917 GB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1581, allocations: 3.938 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1581, allocations: 0 / 0.4917 GB, free: 7.859 MB / 382.1 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.0005626/0.1587, allocations: 428.4 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.1587, allocations: 15.89 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.319e-05/0.1588, allocations: 110 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.1589, allocations: 76.22 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1591, allocations: 239.7 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1592, allocations: 154.9 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/0.1593, allocations: 162.5 kB / 0.4928 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/0.1594, allocations: 105 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.1594, allocations: 79.28 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/0.1595, allocations: 150.6 kB / 0.4932 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.999e-05/0.1596, allocations: 154.5 kB / 0.4933 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.1597, allocations: 150.6 kB / 0.4935 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1601, allocations: 449.9 kB / 0.4939 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1603, allocations: 173.1 kB / 0.4941 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.1603, allocations: 80.14 kB / 0.4941 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.249e-05/0.1604, allocations: 75.28 kB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/0.1605, allocations: 135.5 kB / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.1605, allocations: 0 / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001028/0.1606, allocations: 41.64 kB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.1608, allocations: 160.3 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.1608, allocations: 93.86 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1609, allocations: 25.7 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.1609, allocations: 84.14 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1609, allocations: 0 / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.161, allocations: 13.72 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1611, allocations: 310.8 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.1611, allocations: 4.047 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.1612, allocations: 4 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/0.1612, allocations: 79.28 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-05/0.1613, allocations: 75.28 kB / 0.4952 GB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.189e-05/0.1613, allocations: 33.62 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.1614, allocations: 87.22 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/0.1614, allocations: 75.28 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.069e-05/0.1615, allocations: 154.6 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.1616, allocations: 83.22 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.726e-05/0.1617, allocations: 154.6 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.1617, allocations: 79.22 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.1618, allocations: 75.28 kB / 0.4959 GB, free: 3.312 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.1619, allocations: 272.3 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.162, allocations: 104.9 kB / 0.4962 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.1621, allocations: 112 kB / 0.4964 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000107/0.1622, allocations: 180.3 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-05/0.1623, allocations: 180.2 kB / 0.4967 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.942e-05/0.1624, allocations: 180.2 kB / 0.4969 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1627, allocations: 405.2 kB / 0.4973 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.616e-05/0.1627, allocations: 108.9 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1628, allocations: 101 kB / 0.4975 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-05/0.1629, allocations: 184.2 kB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.163, allocations: 184.3 kB / 0.4978 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-05/0.1631, allocations: 176.3 kB / 0.498 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-05/0.1631, allocations: 184.2 kB / 0.4982 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1634, allocations: 311.7 kB / 0.4985 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1635, allocations: 178.1 kB / 0.4986 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.1636, allocations: 180.3 kB / 0.4988 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1637, allocations: 112.9 kB / 0.4989 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1638, allocations: 192.2 kB / 0.4991 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.1639, allocations: 104.9 kB / 0.4992 GB, free: 15.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.919e-05/0.1639, allocations: 75.28 kB / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 3.938 kB / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005802/0.1645, allocations: 127.7 kB / 0.4994 GB, free: 15.5 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.1659, allocations: 1.041 MB / 0.5004 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.1659, allocations: 7.938 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.166, allocations: 4 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.166, allocations: 0 / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1664, allocations: 459.7 kB / 0.5008 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.1669, allocations: 237.5 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1673, allocations: 0.669 MB / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.324e-06/0.1673, allocations: 4 kB / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.1673, allocations: 11.44 kB / 0.5017 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1673, allocations: 0 / 0.5017 GB, free: 12.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.1955, allocations: 3.966 MB / 0.5056 GB, free: 9.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.151, allocations: 7.656 kB / 0.5056 GB, free: 9.012 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)