Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9436/0.9436, allocations: 173.3 MB / 201.1 MB, free: 8.961 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.464e-05, allocations: 6.25 kB / 268 MB, free: 6.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006192/0.006217, allocations: 7.902 MB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009732/0.01595, allocations: 10.68 MB / 286.6 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.01696, allocations: 87.12 kB / 286.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.01851, allocations: 0.7616 MB / 287.4 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.02112, allocations: 1.302 MB / 288.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.02251, allocations: 0.7186 MB / 289.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1179/0.1404, allocations: 2.835 MB / 292.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.1408, allocations: 219.7 kB / 292.5 MB, free: 16.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009009/0.1417, allocations: 0.8143 MB / 293.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.1422, allocations: 462.9 kB / 293.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.1424, allocations: 67.16 kB / 293.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1437, allocations: 0.7028 MB / 294.5 MB, free: 16.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1438, allocations: 217.9 kB / 294.7 MB, free: 16.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004216/0.1443, allocations: 445.4 kB / 295.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.1458, allocations: 1.594 MB / 296.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1458, allocations: 0 / 296.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1459, allocations: 0.8906 kB / 296.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.1459, allocations: 1.5 kB / 296.8 MB, free: 15.67 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002206/0.1481, allocations: 2.341 MB / 299.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1481, allocations: 9.828 kB / 299.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.1484, allocations: 273.9 kB / 299.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1497, allocations: 1.349 MB / 300.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.1497, allocations: 49.47 kB / 300.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.1498, allocations: 56.45 kB / 300.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.1505, allocations: 0.5621 MB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1505, allocations: 3.938 kB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.1506, allocations: 21.19 kB / 301.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.1506, allocations: 21.83 kB / 301.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.151, allocations: 291.4 kB / 301.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.153, allocations: 2.29 MB / 304 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.1534, allocations: 382 kB / 304.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.1537, allocations: 360.8 kB / 304.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003435/0.1571, allocations: 3.041 MB / 307.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.1574, allocations: 277.1 kB / 308.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 3.587e-06/0.1574, allocations: 1.078 kB / 308.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002711/0.1601, allocations: 1.666 MB / 309.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.1602, allocations: 96.25 kB / 309.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.1611, allocations: 1.561 MB / 311.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1611, allocations: 41.7 kB / 311.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.1615, allocations: 0.9008 MB / 312.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.261e-05/0.1616, allocations: 240.5 kB / 312.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1617, allocations: 148.3 kB / 312.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.1618, allocations: 0.5043 MB / 313.2 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1619, allocations: 129.9 kB / 313.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.1622, allocations: 432.1 kB / 313.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.1626, allocations: 0.5846 MB / 314.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1626, allocations: 4 kB / 314.4 MB, free: 6.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000791/0.1634, allocations: 0.8848 MB / 315.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1634, allocations: 8 kB / 315.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-05/0.1635, allocations: 79.38 kB / 315.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006673/0.1641, allocations: 0.6408 MB / 316 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1644, allocations: 106.7 kB / 316.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006429/0.165, allocations: 1.22 MB / 317.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1653, allocations: 83.39 kB / 317.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.1653, allocations: 43.94 kB / 317.4 MB, free: 3.504 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.1655, allocations: 195.5 kB / 317.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.1656, allocations: 222.7 kB / 317.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/0.1665, allocations: 0.8316 MB / 318.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1665, allocations: 6.859 kB / 318.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1665, allocations: 7.984 kB / 318.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1665, allocations: 0 / 318.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.1672, allocations: 0.8984 MB / 319.6 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.262e-05/0.1673, allocations: 71.98 kB / 319.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1674, allocations: 47.25 kB / 319.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.168, allocations: 0.6152 MB / 320.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.168, allocations: 23.98 kB / 320.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007063/0.1687, allocations: 1.188 MB / 321.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1687, allocations: 3.938 kB / 321.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1698, allocations: 0.9412 MB / 322.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/0.1701, allocations: 218.4 kB / 322.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.1702, allocations: 15.98 kB / 322.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1704, allocations: 23.98 kB / 322.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1705, allocations: 52.41 kB / 322.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.1705, allocations: 24 kB / 322.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008048/0.1713, allocations: 0.8862 MB / 323.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1713, allocations: 0 / 323.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006492/0.172, allocations: 439 kB / 324.1 MB, free: 12.71 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006214/0.1726, allocations: 0.525 MB / 324.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1736, allocations: 0.6155 MB / 325.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1736, allocations: 8.062 kB / 325.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.1741, allocations: 414.3 kB / 325.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.1747, allocations: 237.7 kB / 325.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.178, allocations: 2.83 MB / 328.7 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.1781, allocations: 239.9 kB / 328.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002655/0.1784, allocations: 158.1 kB / 329.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.1785, allocations: 80.48 kB / 329.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of SimCode: time 1.432e-06/0.1785, allocations: 0 / 329.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of Templates: time 0.01894/0.1974, allocations: 14.91 MB / 344.1 MB, free: 8.922 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.4467761707492173]