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.001012/0.001012, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 175.4 kB / 16.56 MB, free: 6.379 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.85/1.85, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4311/0.4311, allocations: 43.54 MB / 314.5 MB, free: 8.816 MB / 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.0005822/0.0005825, allocations: 16 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0007058/0.1615, allocations: 224.4 kB / 443.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.166, allocations: 2.057 MB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.166, allocations: 0 / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.913e-06/0.1661, allocations: 0 / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.794e-06/0.1661, allocations: 3.938 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.1686, allocations: 0.4949 MB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.147e-05/0.1687, allocations: 11.97 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.1687, allocations: 4 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.1688, allocations: 8 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.144e-05/0.1689, allocations: 11.98 kB / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-06/0.1689, allocations: 0 / 445.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.1697, allocations: 0.5071 MB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-06/0.1697, allocations: 0 / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.1698, allocations: 29.7 kB / 446.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.1702, allocations: 295.6 kB / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1702, allocations: 0 / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1703, allocations: 0 / 446.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1703, allocations: 0 / 446.5 MB, free: 9.32 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.0003911/0.1707, allocations: 417 kB / 446.9 MB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.1707, allocations: 12.03 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.635e-05/0.1708, allocations: 105.8 kB / 447 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.1709, allocations: 79.23 kB / 447.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.171, allocations: 238.3 kB / 447.3 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.1711, allocations: 154.6 kB / 447.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.1711, allocations: 158.5 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.1712, allocations: 109 kB / 447.7 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.1713, allocations: 75.28 kB / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.1714, allocations: 150.6 kB / 447.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-05/0.1715, allocations: 154.6 kB / 448.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.1715, allocations: 158.5 kB / 448.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1719, allocations: 442 kB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.172, allocations: 169.1 kB / 448.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.1721, allocations: 83.27 kB / 448.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.1722, allocations: 135.5 kB / 449 MB, free: 6.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1722, allocations: 0 / 449 MB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.376e-05/0.1723, allocations: 29.7 kB / 449.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1724, allocations: 156.3 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.1725, allocations: 89.86 kB / 449.3 MB, free: 6.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1725, allocations: 25.7 kB / 449.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.1726, allocations: 84.14 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-06/0.1726, allocations: 3.938 kB / 449.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.1726, allocations: 7.938 kB / 449.4 MB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1728, allocations: 318.8 kB / 449.7 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.1728, allocations: 0 / 449.7 MB, free: 5.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.1728, allocations: 0 / 449.7 MB, free: 5.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.1729, allocations: 75.28 kB / 449.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-05/0.1729, allocations: 75.28 kB / 449.9 MB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.162e-05/0.173, allocations: 37.72 kB / 449.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/0.173, allocations: 83.28 kB / 450 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/0.1731, allocations: 83.22 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.859e-05/0.1732, allocations: 150.6 kB / 450.2 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.1732, allocations: 79.22 kB / 450.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-05/0.1733, allocations: 150.6 kB / 450.5 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.1734, allocations: 79.42 kB / 450.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.1734, allocations: 87.22 kB / 450.6 MB, free: 4.895 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.1736, allocations: 272.3 kB / 450.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.1737, allocations: 105 kB / 451 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.1737, allocations: 108 kB / 451.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-05/0.1738, allocations: 180.3 kB / 451.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.027e-05/0.1739, allocations: 184.2 kB / 451.5 MB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/0.174, allocations: 180.2 kB / 451.6 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1742, allocations: 405.2 kB / 452 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/0.1742, allocations: 104.9 kB / 452.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.1743, allocations: 105 kB / 452.2 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.1744, allocations: 184.3 kB / 452.4 MB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/0.1744, allocations: 180.2 kB / 452.6 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.679e-05/0.1745, allocations: 180.3 kB / 452.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001085/0.1746, allocations: 184.2 kB / 452.9 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1748, allocations: 311.7 kB / 453.3 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.1749, allocations: 178.1 kB / 453.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/0.175, allocations: 184.3 kB / 453.6 MB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.1751, allocations: 104.9 kB / 453.7 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.1752, allocations: 180.2 kB / 453.9 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.1752, allocations: 108.9 kB / 454 MB, free: 1.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.58e-05/0.1753, allocations: 75.28 kB / 454.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1753, allocations: 4 kB / 454.1 MB, free: 1.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005239/0.1758, allocations: 124 kB / 454.2 MB, free: 1.105 MB / 382.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 (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.001307/0.1771, allocations: 1.057 MB / 455.2 MB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.189e-05/0.1772, allocations: 4 kB / 455.3 MB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1772, allocations: 0 / 455.3 MB, free: 28 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.1772, allocations: 7.938 kB / 455.3 MB, free: 20 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3052/0.4824, allocations: 0.5155 MB / 455.8 MB, free: 46.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.483, allocations: 232.9 kB / 456 MB, free: 46.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.4832, allocations: 0.6723 MB / 456.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.338e-06/0.4832, allocations: 0 / 456.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.4832, allocations: 7.438 kB / 456.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4832, allocations: 0 / 456.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.5004, allocations: 3.753 MB / 460.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/0.5008, allocations: 196.4 kB / 460.6 MB, free: 45.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.373, allocations: 0 / 460.6 MB, free: 45.12 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1) Environment - environmentSimulation: