Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 110.8 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2462/0.2462, allocations: 46.89 MB / 358.1 MB, free: 10.62 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 87.86 kB / 0.4924 GB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1722, allocations: 65.98 MB / 0.5568 GB, free: 6 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.003564/0.1757, allocations: 1.727 MB / 0.5585 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004894/0.1762, allocations: 159.6 kB / 0.5586 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1763, allocations: 3.938 kB / 0.5586 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.1764, allocations: 11.86 kB / 0.5586 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.1765, allocations: 11.88 kB / 0.5587 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.1769, allocations: 91.88 kB / 0.5587 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.1772, allocations: 111.7 kB / 0.5588 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1774, allocations: 25.39 kB / 0.5589 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.1775, allocations: 39.84 kB / 0.5589 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.1775, allocations: 47.77 kB / 0.559 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1776, allocations: 8 kB / 0.559 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/0.1776, allocations: 12 kB / 0.559 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.1776, allocations: 19.92 kB / 0.559 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.1777, allocations: 47.72 kB / 0.559 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1779, allocations: 83.64 kB / 0.5591 GB, free: 3.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.1779, allocations: 4 kB / 0.5591 GB, free: 3.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1779, allocations: 0 / 0.5591 GB, free: 3.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1779, allocations: 0 / 0.5591 GB, free: 3.586 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008967/0.1788, allocations: 446.9 kB / 0.5596 GB, free: 3.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1788, allocations: 8.031 kB / 0.5596 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.1789, allocations: 16.84 kB / 0.5596 GB, free: 3.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1792, allocations: 204.2 kB / 0.5598 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1792, allocations: 8.375 kB / 0.5598 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.1793, allocations: 8.375 kB / 0.5598 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.1797, allocations: 156.3 kB / 0.5599 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1797, allocations: 192 / 0.5599 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1797, allocations: 3.938 kB / 0.5599 GB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1797, allocations: 4 kB / 0.5599 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.1801, allocations: 115.8 kB / 0.5601 GB, free: 2.527 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.181, allocations: 0.5399 MB / 0.5606 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.1814, allocations: 130.4 kB / 0.5607 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.1816, allocations: 64.83 kB / 0.5608 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1816, allocations: 0 / 0.5608 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1817, allocations: 38.5 kB / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.1817, allocations: 0 / 0.5608 GB, free: 1.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006568/0.1823, allocations: 189.5 kB / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.1824, allocations: 102.8 kB / 0.5611 GB, free: 1.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1826, allocations: 144.5 kB / 0.5612 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1826, allocations: 25.7 kB / 0.5612 GB, free: 1.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1827, allocations: 104 kB / 0.5613 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1827, allocations: 32 kB / 0.5614 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.1828, allocations: 33.7 kB / 0.5614 GB, free: 1.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1829, allocations: 322.8 kB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1831, allocations: 47.95 kB / 0.5618 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.1833, allocations: 88.23 kB / 0.5618 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.1837, allocations: 110.4 kB / 0.5619 GB, free: 424 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1837, allocations: 4.031 kB / 0.562 GB, free: 420 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004298/0.1841, allocations: 149.5 kB / 0.5621 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1841, allocations: 4 kB / 0.5621 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1842, allocations: 4 kB / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1842, allocations: 0 / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.1843, allocations: 32.03 kB / 0.5621 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1843, allocations: 4 kB / 0.5621 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1845, allocations: 31.86 kB / 0.5622 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1845, allocations: 0 / 0.5622 GB, free: 188 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001191/0.1846, allocations: 137.7 kB / 0.5623 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.1846, allocations: 7.953 kB / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.1847, allocations: 16.72 kB / 0.5623 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1847, allocations: 0 / 0.5623 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1847, allocations: 0 / 0.5623 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1847, allocations: 3.938 kB / 0.5623 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.185, allocations: 205.6 kB / 0.5625 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.185, allocations: 4 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1851, allocations: 19.97 kB / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1851, allocations: 0 / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1851, allocations: 4 kB / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1851, allocations: 0 / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1851, allocations: 4.391 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1856, allocations: 243.4 kB / 0.5628 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.1856, allocations: 85.06 kB / 0.5629 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.1856, allocations: 15.92 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1858, allocations: 27.97 kB / 0.5629 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.1859, allocations: 8 kB / 0.5629 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1859, allocations: 11.86 kB / 0.5629 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.186, allocations: 105.7 kB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.186, allocations: 0 / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1862, allocations: 16 kB / 0.563 GB, free: 15.19 MB / 430.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: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00015/0.1863, allocations: 103.2 kB / 0.5631 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.1868, allocations: 115.8 kB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1868, allocations: 0 / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.187, allocations: 56.02 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1873, allocations: 25.53 kB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.1879, allocations: 247.6 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1883, allocations: 0.7002 MB / 0.5642 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.1884, allocations: 15.44 kB / 0.5643 GB, free: 13.88 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1884, allocations: 0 / 0.5643 GB, free: 13.88 MB / 430.1 MB Notification: Performance of Templates: time 0.003646/0.192, allocations: 1.421 MB / 0.5657 GB, free: 12.46 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.509569179965183] Failed to read output from testmodel.py, exit status != 0: 0.19962740107439458 0.214161611 0.033481699000000004 Calling exit ...