Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.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.000977/0.000977, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001106/0.001106, allocations: 165.6 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9984/0.9984, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.408e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007094/0.007118, allocations: 7.04 MB / 280.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1339/0.141, allocations: 10.19 MB / 290.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.1424, allocations: 122.6 kB / 290.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.1442, allocations: 0.6626 MB / 291.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.1478, allocations: 1.223 MB / 292.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1497, allocations: 0.6006 MB / 293.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.153, allocations: 2.702 MB / 296 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.1533, allocations: 190.3 kB / 296.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.1545, allocations: 1.043 MB / 297.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.1552, allocations: 406.8 kB / 297.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.1553, allocations: 55.19 kB / 297.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.1568, allocations: 0.7851 MB / 298.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1569, allocations: 191.2 kB / 298.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.1573, allocations: 390.6 kB / 299 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1589, allocations: 1.504 MB / 300.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1589, allocations: 1.375 kB / 300.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1589, allocations: 0 / 300.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.159, allocations: 3.938 kB / 300.5 MB, free: 12.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001863/0.1608, allocations: 1.937 MB / 302.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1609, allocations: 13.58 kB / 302.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.1611, allocations: 167.6 kB / 302.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.1622, allocations: 1.075 MB / 303.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1623, allocations: 33.34 kB / 303.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.1623, allocations: 50.16 kB / 303.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.1627, allocations: 343.2 kB / 304.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1627, allocations: 3.938 kB / 304.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1627, allocations: 21 kB / 304.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1628, allocations: 20.8 kB / 304.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.163, allocations: 164.4 kB / 304.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.1645, allocations: 1.248 MB / 305.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1648, allocations: 347.1 kB / 305.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.165, allocations: 292.9 kB / 306.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003581/0.1686, allocations: 2.667 MB / 308.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1688, allocations: 193.3 kB / 309 MB, free: 9.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 1.944e-06/0.1688, allocations: 0 / 309 MB, free: 9.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001288/0.1701, allocations: 1.021 MB / 310.1 MB, free: 8.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1701, allocations: 59.91 kB / 310.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.1707, allocations: 1.178 MB / 311.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1707, allocations: 37.7 kB / 311.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1709, allocations: 426.9 kB / 311.7 MB, free: 6.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.8e-05/0.171, allocations: 214.4 kB / 312 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1711, allocations: 110.8 kB / 312.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.1711, allocations: 336.2 kB / 312.4 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.238e-05/0.1712, allocations: 65.62 kB / 312.5 MB, free: 5.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.1713, allocations: 242.7 kB / 312.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1716, allocations: 388.2 kB / 313.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1716, allocations: 0 / 313.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004946/0.1721, allocations: 0.5383 MB / 313.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1721, allocations: 4 kB / 313.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/0.1721, allocations: 8 kB / 313.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.1724, allocations: 125.5 kB / 313.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1726, allocations: 139.5 kB / 313.9 MB, free: 4.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.1737, allocations: 1.835 MB / 315.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1739, allocations: 23.94 kB / 315.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.174, allocations: 20 kB / 315.8 MB, free: 2.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.1741, allocations: 153.6 kB / 315.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1742, allocations: 135.8 kB / 316 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006249/0.1749, allocations: 0.5559 MB / 316.6 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1749, allocations: 4 kB / 316.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1749, allocations: 4 kB / 316.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1749, allocations: 0 / 316.6 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.1753, allocations: 500 kB / 317.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/0.1753, allocations: 4 kB / 317.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1755, allocations: 81.52 kB / 317.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.1757, allocations: 116 kB / 317.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1757, allocations: 15.98 kB / 317.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.1768, allocations: 1.83 MB / 319.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1768, allocations: 0 / 319.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006353/0.1775, allocations: 0.5633 MB / 319.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1777, allocations: 158.8 kB / 319.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.1778, allocations: 12 kB / 319.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1779, allocations: 11.98 kB / 319.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.178, allocations: 44.42 kB / 319.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.178, allocations: 15.98 kB / 319.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004205/0.1785, allocations: 0.5964 MB / 320.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1785, allocations: 0 / 320.5 MB, free: 13.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006216/0.1791, allocations: 399.1 kB / 320.9 MB, free: 13.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005973/0.1797, allocations: 0.5036 MB / 321.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006696/0.1804, allocations: 0.5551 MB / 322 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.1804, allocations: 16 kB / 322 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000447/0.1808, allocations: 431.5 kB / 322.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.1814, allocations: 209.9 kB / 322.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.1835, allocations: 2.088 MB / 324.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.1837, allocations: 232.6 kB / 324.9 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.184, allocations: 187.3 kB / 325.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.1843, allocations: 265.3 kB / 325.4 MB, free: 9.086 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1843, allocations: 4 kB / 325.4 MB, free: 9.082 MB / 282.7 MB Notification: Performance of Templates: time 0.02256/0.2069, allocations: 15.95 MB / 341.3 MB, free: 9.324 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9064450510777533]