Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.002012/0.002012, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.002123/0.002123, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1087, allocations: 53.31 MB / 427.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2126/0.3214, allocations: 8.365 MB / 435.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.333, allocations: 11.37 MB / 446.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.3343, allocations: 58.97 kB / 446.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.3368, allocations: 0.8489 MB / 447.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.3419, allocations: 1.24 MB / 449 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.3445, allocations: 0.6991 MB / 449.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004887/0.3494, allocations: 2.737 MB / 452.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.3499, allocations: 231 kB / 452.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009647/0.3508, allocations: 0.5595 MB / 453.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.3516, allocations: 0.626 MB / 453.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3517, allocations: 66.84 kB / 453.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.3538, allocations: 0.7857 MB / 454.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.3541, allocations: 223 kB / 454.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008038/0.3549, allocations: 0.7649 MB / 455.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.3579, allocations: 2.142 MB / 457.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3579, allocations: 1.375 kB / 457.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3579, allocations: 0 / 457.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.083e-05/0.358, allocations: 4.656 kB / 457.9 MB, free: 10.54 MB / 366.1 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.003992/0.362, allocations: 2.283 MB / 460.1 MB, free: 9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.362, allocations: 8.781 kB / 460.1 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.3625, allocations: 246.9 kB / 460.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.3645, allocations: 1.313 MB / 461.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.3645, allocations: 46.16 kB / 461.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3647, allocations: 62.11 kB / 461.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3661, allocations: 0.6888 MB / 462.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3661, allocations: 0 / 462.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.3662, allocations: 21.16 kB / 462.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.3662, allocations: 26.22 kB / 462.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.3676, allocations: 0.5647 MB / 463.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003935/0.3715, allocations: 2.528 MB / 465.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.3728, allocations: 0.565 MB / 466.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000947/0.3738, allocations: 491.3 kB / 466.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008269/0.3821, allocations: 5.885 MB / 472.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008822/0.3829, allocations: 396.5 kB / 473 MB, free: 15.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.966e-06/0.3829, allocations: 1.156 kB / 473 MB, free: 15.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007578/0.3905, allocations: 2.411 MB / 475.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.3906, allocations: 88.3 kB / 475.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.3927, allocations: 1.426 MB / 476.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.3927, allocations: 45.64 kB / 476.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007596/0.3935, allocations: 0.7885 MB / 477.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.3937, allocations: 258.9 kB / 478 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.394, allocations: 139.5 kB / 478.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3941, allocations: 341.6 kB / 478.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006429/0.3948, allocations: 259.6 kB / 478.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.3956, allocations: 443.6 kB / 479.1 MB, free: 11.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003578/0.3992, allocations: 1.558 MB / 480.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.3992, allocations: 4.75 kB / 480.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002467/0.4016, allocations: 1.129 MB / 481.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4017, allocations: 4 kB / 481.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.4018, allocations: 83.98 kB / 481.9 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4029, allocations: 0.5995 MB / 482.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/0.4034, allocations: 143.8 kB / 482.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.405, allocations: 1.526 MB / 484.2 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.406, allocations: 96.8 kB / 484.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.406, allocations: 32 kB / 484.3 MB, free: 6.223 MB / 382.1 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.0005899/0.4066, allocations: 291.1 kB / 484.6 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.4069, allocations: 214.7 kB / 484.8 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.4094, allocations: 1.12 MB / 485.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4094, allocations: 7.938 kB / 485.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4094, allocations: 0 / 485.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4094, allocations: 7.984 kB / 485.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.4108, allocations: 0.9987 MB / 486.9 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001134/0.4109, allocations: 79.98 kB / 487 MB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4113, allocations: 67.94 kB / 487.1 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.4125, allocations: 0.6514 MB / 487.7 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.4126, allocations: 20 kB / 487.7 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.414, allocations: 1.145 MB / 488.9 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.414, allocations: 4 kB / 488.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4168, allocations: 1.407 MB / 490.3 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.4173, allocations: 292.5 kB / 490.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.4175, allocations: 15.94 kB / 490.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.418, allocations: 35.95 kB / 490.6 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.4182, allocations: 48.5 kB / 490.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.4182, allocations: 27.98 kB / 490.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.4196, allocations: 0.9444 MB / 491.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4196, allocations: 0 / 491.6 MB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001068/0.4206, allocations: 446.9 kB / 492.1 MB, free: 14.26 MB / 398.1 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.0009504/0.4216, allocations: 488.2 kB / 492.6 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.4237, allocations: 0.8191 MB / 493.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4237, allocations: 3.938 kB / 493.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.425, allocations: 0.5157 MB / 493.9 MB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4261, allocations: 217.4 kB / 494.1 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.4315, allocations: 3.015 MB / 497.1 MB, free: 9.184 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.4324, allocations: 1.224 MB / 498.3 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005618/0.433, allocations: 162.1 kB / 498.5 MB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.4331, allocations: 79.42 kB / 498.6 MB, free: 7.691 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4331, allocations: 0 / 498.6 MB, free: 7.691 MB / 398.1 MB Notification: Performance of Templates: time 0.03333/0.4664, allocations: 16.81 MB / 0.5033 GB, free: 6.922 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.108742719516158]