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: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 106.4 kB / 16.41 MB, free: 6.445 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.001082/0.001082, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.69/1.69, 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.2203/0.2203, allocations: 43.52 MB / 314.1 MB, free: 452 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.001613/0.001613, allocations: 73.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.002002/0.144, allocations: 0.4986 MB / 0.4883 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.1478, allocations: 2.226 MB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.255e-06/0.1479, allocations: 0 / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-06/0.1479, allocations: 0 / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.773e-06/0.1479, allocations: 0 / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1502, allocations: 0.6156 MB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.1503, allocations: 8 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.1503, allocations: 4 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.1504, allocations: 11.98 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.1504, allocations: 7.984 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.1505, allocations: 0 / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.1515, allocations: 0.6359 MB / 0.4918 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-06/0.1515, allocations: 0 / 0.4918 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.1516, allocations: 4 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.1524, allocations: 435.3 kB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1524, allocations: 0 / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1524, allocations: 0 / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1524, allocations: 0 / 0.4922 GB, free: 7.344 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.0004917/0.1529, allocations: 425.2 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1529, allocations: 11.89 kB / 0.4926 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.153, allocations: 80.22 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1531, allocations: 235.7 kB / 0.4929 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.1532, allocations: 154.9 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.1533, allocations: 154.7 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.1534, allocations: 108.9 kB / 0.4933 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.1534, allocations: 75.28 kB / 0.4934 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.1535, allocations: 150.6 kB / 0.4935 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.1535, allocations: 154.6 kB / 0.4937 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.1536, allocations: 158.6 kB / 0.4938 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.1539, allocations: 438 kB / 0.4942 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.154, allocations: 169.1 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.154, allocations: 84.08 kB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.1541, allocations: 87.22 kB / 0.4946 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.027e-05/0.1541, allocations: 135.5 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1541, allocations: 0 / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9.91e-05/0.1543, allocations: 37.62 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.1543, allocations: 152.4 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.1544, allocations: 93.86 kB / 0.495 GB, free: 4.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1544, allocations: 25.7 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.1545, allocations: 84.14 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.1545, allocations: 0 / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1545, allocations: 13.72 kB / 0.4951 GB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1546, allocations: 314.8 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-06/0.1547, allocations: 0 / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.1547, allocations: 4.047 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.1547, allocations: 83.28 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-05/0.1548, allocations: 75.28 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.883e-05/0.1548, allocations: 41.66 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.1549, allocations: 79.28 kB / 0.4957 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.1549, allocations: 83.22 kB / 0.4957 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.41e-05/0.155, allocations: 150.6 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.437e-05/0.155, allocations: 79.28 kB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.434e-05/0.1551, allocations: 154.5 kB / 0.4961 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.1552, allocations: 79.28 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.1552, allocations: 87.2 kB / 0.4963 GB, free: 2.918 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.000128/0.1553, allocations: 264.3 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.1554, allocations: 108.9 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.1555, allocations: 104.1 kB / 0.4967 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.086e-05/0.1556, allocations: 184.2 kB / 0.4969 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-05/0.1556, allocations: 180.2 kB / 0.4971 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-05/0.1557, allocations: 188.2 kB / 0.4972 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1559, allocations: 393.2 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.791e-05/0.156, allocations: 104.9 kB / 0.4977 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.156, allocations: 112.9 kB / 0.4978 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.357e-05/0.1561, allocations: 180.3 kB / 0.498 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.1562, allocations: 188.2 kB / 0.4982 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.528e-05/0.1563, allocations: 176.3 kB / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-05/0.1563, allocations: 184.2 kB / 0.4985 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.1565, allocations: 311.8 kB / 0.4988 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1566, allocations: 190 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.1567, allocations: 176.3 kB / 0.4992 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.1568, allocations: 105 kB / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.1569, allocations: 184.2 kB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.1569, allocations: 101 kB / 0.4995 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.157, allocations: 79.28 kB / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.157, allocations: 0 / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.1575, allocations: 132 kB / 0.4997 GB, free: 15.12 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.0009173/0.1584, allocations: 412.6 kB / 0.5001 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.177e-05/0.1585, allocations: 8.453 kB / 0.5001 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1585, allocations: 0 / 0.5001 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.1585, allocations: 0 / 0.5001 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1589, allocations: 459.6 kB / 0.5006 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.1591, allocations: 156.1 kB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1593, allocations: 0.6729 MB / 0.5014 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.075e-06/0.1593, allocations: 0 / 0.5014 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.1594, allocations: 11.44 kB / 0.5014 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1594, allocations: 0 / 0.5014 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.007979/0.1674, allocations: 3.079 MB / 0.5044 GB, free: 10.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestNonlinear.pipe 2>&1)