Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.001007/0.001007, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001005/0.001005, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9729/0.9729, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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(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.1.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.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.076e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009592/0.009623, allocations: 7.908 MB / 280.9 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1501/0.1597, allocations: 10.71 MB / 291.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.161, allocations: 86.19 kB / 291.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.163, allocations: 0.7741 MB / 292.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.1665, allocations: 1.299 MB / 293.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.1684, allocations: 0.716 MB / 294.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003725/0.1721, allocations: 2.868 MB / 297.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.1725, allocations: 218.9 kB / 297.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.1738, allocations: 0.8239 MB / 298.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.1744, allocations: 460.3 kB / 298.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.1746, allocations: 66.25 kB / 298.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1762, allocations: 0.7132 MB / 299.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1763, allocations: 223 kB / 299.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.1768, allocations: 442.7 kB / 300.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.1787, allocations: 1.619 MB / 301.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1787, allocations: 0 / 301.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1787, allocations: 1.375 kB / 301.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.1787, allocations: 3.094 kB / 301.9 MB, free: 12.09 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.002375/0.1811, allocations: 2.332 MB / 304.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1811, allocations: 9.656 kB / 304.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.1815, allocations: 285.1 kB / 304.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.183, allocations: 1.357 MB / 305.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.183, allocations: 46.38 kB / 305.9 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/0.1831, allocations: 56.61 kB / 306 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.1839, allocations: 0.5644 MB / 306.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1839, allocations: 7.828 kB / 306.5 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.1839, allocations: 23.3 kB / 306.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.184, allocations: 14.92 kB / 306.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1845, allocations: 295.6 kB / 306.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1869, allocations: 2.299 MB / 309.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.1874, allocations: 374.2 kB / 309.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/0.1878, allocations: 352.7 kB / 309.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003692/0.1914, allocations: 2.78 MB / 312.7 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.1918, allocations: 284.7 kB / 312.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.013e-06/0.1918, allocations: 0 / 312.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004183/0.196, allocations: 1.99 MB / 314.9 MB, free: 3.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.196, allocations: 96.03 kB / 315 MB, free: 3.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.1972, allocations: 1.56 MB / 316.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.1973, allocations: 37.7 kB / 316.6 MB, free: 1.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.1978, allocations: 0.8823 MB / 317.5 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.1979, allocations: 258.5 kB / 317.7 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.1981, allocations: 148.3 kB / 317.9 MB, free: 436 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1982, allocations: 0.5082 MB / 318.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1984, allocations: 129.9 kB / 318.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.1987, allocations: 407.5 kB / 318.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.1994, allocations: 0.7206 MB / 319.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1994, allocations: 0 / 319.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0009248/0.2004, allocations: 0.9063 MB / 320.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2004, allocations: 11.94 kB / 320.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.526e-05/0.2004, allocations: 87.83 kB / 320.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.2011, allocations: 0.5561 MB / 321.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.2014, allocations: 137.6 kB / 321.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009393/0.2023, allocations: 1.921 MB / 323.3 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.2026, allocations: 83.52 kB / 323.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.2027, allocations: 43.86 kB / 323.4 MB, free: 10.73 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.2029, allocations: 195.6 kB / 323.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.2031, allocations: 230.7 kB / 323.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.2042, allocations: 0.8747 MB / 324.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2042, allocations: 8 kB / 324.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2042, allocations: 0 / 324.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2042, allocations: 3.984 kB / 324.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.205, allocations: 0.9222 MB / 325.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.684e-05/0.205, allocations: 79.98 kB / 325.7 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2052, allocations: 59.16 kB / 325.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006597/0.2059, allocations: 0.5964 MB / 326.3 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.2059, allocations: 23.92 kB / 326.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007479/0.2066, allocations: 1.219 MB / 327.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2066, allocations: 0 / 327.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2077, allocations: 1.01 MB / 328.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.208, allocations: 218.5 kB / 328.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.208, allocations: 16 kB / 328.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2083, allocations: 15.98 kB / 328.8 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.2083, allocations: 63.5 kB / 328.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.2084, allocations: 27.98 kB / 328.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007009/0.2091, allocations: 0.8741 MB / 329.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2091, allocations: 4 kB / 329.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007098/0.2098, allocations: 454.9 kB / 330.2 MB, free: 3.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006413/0.2104, allocations: 0.5266 MB / 330.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.2113, allocations: 0.6293 MB / 331.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2113, allocations: 0 / 331.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005028/0.2118, allocations: 443 kB / 331.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.2124, allocations: 231.9 kB / 332.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.2152, allocations: 2.734 MB / 334.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2154, allocations: 248 kB / 335 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.2156, allocations: 158.1 kB / 335.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2157, allocations: 80.5 kB / 335.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2157, allocations: 0 / 335.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.02109/0.2368, allocations: 15.31 MB / 350.6 MB, free: 15.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.4489102251827717]