Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8412/0.8412, allocations: 134 MB / 447.2 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 69.47 kB / 0.6197 GB, free: 6.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1658, allocations: 85.91 MB / 0.7036 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003189/0.169, allocations: 1.786 MB / 0.7053 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1702, allocations: 0.5416 MB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1703, allocations: 7.938 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1704, allocations: 23.73 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.1705, allocations: 31.73 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1707, allocations: 71.8 kB / 0.706 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.171, allocations: 171.5 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1711, allocations: 37.73 kB / 0.7062 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.1712, allocations: 59.78 kB / 0.7063 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.416e-05/0.1713, allocations: 55.62 kB / 0.7063 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1714, allocations: 12 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.455e-05/0.1714, allocations: 8 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.1714, allocations: 23.92 kB / 0.7064 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.1715, allocations: 59.61 kB / 0.7064 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1717, allocations: 131.4 kB / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1717, allocations: 0 / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.053e-06/0.1717, allocations: 4 kB / 0.7065 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.1717, allocations: 0 / 0.7065 GB, free: 13.53 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007695/0.1725, allocations: 435 kB / 0.707 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1725, allocations: 8.031 kB / 0.707 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.1726, allocations: 24.83 kB / 0.707 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.173, allocations: 178.2 kB / 0.7072 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.173, allocations: 8.375 kB / 0.7072 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.173, allocations: 16.33 kB / 0.7072 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.1733, allocations: 150.2 kB / 0.7073 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1733, allocations: 0 / 0.7073 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1734, allocations: 4 kB / 0.7073 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1734, allocations: 3.938 kB / 0.7073 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.1736, allocations: 79.88 kB / 0.7074 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.1745, allocations: 0.6454 MB / 0.708 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1746, allocations: 50.5 kB / 0.7081 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1748, allocations: 32.83 kB / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1748, allocations: 0 / 0.7081 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.175, allocations: 130.9 kB / 0.7082 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.175, allocations: 0 / 0.7082 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005022/0.1755, allocations: 173.3 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.1756, allocations: 128.5 kB / 0.7085 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1758, allocations: 191.4 kB / 0.7087 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.1758, allocations: 29.95 kB / 0.7087 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1759, allocations: 136 kB / 0.7089 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.176, allocations: 39.7 kB / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.176, allocations: 37.7 kB / 0.7089 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1762, allocations: 330.8 kB / 0.7093 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.1763, allocations: 43.91 kB / 0.7093 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1765, allocations: 134.6 kB / 0.7094 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.1769, allocations: 210.2 kB / 0.7096 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1769, allocations: 4 kB / 0.7096 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004036/0.1773, allocations: 205.5 kB / 0.7098 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1773, allocations: 8 kB / 0.7098 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1773, allocations: 4 kB / 0.7098 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1773, allocations: 4 kB / 0.7098 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1774, allocations: 32.16 kB / 0.7099 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.1774, allocations: 11.92 kB / 0.7099 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1776, allocations: 23.94 kB / 0.7099 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1776, allocations: 8 kB / 0.7099 GB, free: 9.727 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001338/0.1777, allocations: 149.8 kB / 0.7101 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1778, allocations: 15.91 kB / 0.7101 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.1778, allocations: 21.39 kB / 0.7101 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1778, allocations: 4 kB / 0.7101 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1778, allocations: 0 / 0.7101 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1778, allocations: 0 / 0.7101 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.1786, allocations: 457.2 kB / 0.7105 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1786, allocations: 0 / 0.7105 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1787, allocations: 23.92 kB / 0.7106 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.1787, allocations: 4 kB / 0.7106 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1787, allocations: 0 / 0.7106 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1787, allocations: 4 kB / 0.7106 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1787, allocations: 0 / 0.7106 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.1793, allocations: 360 kB / 0.7109 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.1793, allocations: 27.78 kB / 0.7109 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1793, allocations: 12.03 kB / 0.711 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.1795, allocations: 15.98 kB / 0.711 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1795, allocations: 11.92 kB / 0.711 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1796, allocations: 4 kB / 0.711 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001168/0.1797, allocations: 132.4 kB / 0.7111 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1797, allocations: 4 kB / 0.7111 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003256/0.18, allocations: 27.95 kB / 0.7111 GB, free: 8.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001137/0.1801, allocations: 99.25 kB / 0.7112 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.1804, allocations: 115.7 kB / 0.7113 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1804, allocations: 0 / 0.7113 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1806, allocations: 49.03 kB / 0.7114 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.1811, allocations: 64.56 kB / 0.7115 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.1818, allocations: 397.7 kB / 0.7118 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1819, allocations: 108.1 kB / 0.7119 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.182, allocations: 19.44 kB / 0.712 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.182, allocations: 0 / 0.712 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of Templates: time 0.004132/0.1861, allocations: 2.137 MB / 0.714 GB, free: 5.383 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.826334637124091] Failed to read output from testmodel.py, exit status != 0: 0.19354045670479536 0.20903069300000002 0.034220151000000004 Calling exit ...