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.001873/0.001873, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002257/0.002257, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.455/1.455, allocations: 230.3 MB / 258 MB, free: 8.254 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.001931/0.001931, allocations: 59.89 kB / 378.8 MB, free: 2.797 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2361, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009185/0.2453, allocations: 8.368 MB / 440.5 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01398/0.2593, allocations: 11.39 MB / 451.9 MB, free: 3.246 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2605, allocations: 87.06 kB / 452 MB, free: 3.16 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002289/0.2628, allocations: 0.8565 MB / 452.8 MB, free: 2.301 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003904/0.2667, allocations: 1.245 MB / 454.1 MB, free: 1.051 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.2689, allocations: 0.7073 MB / 454.8 MB, free: 348 kB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004198/0.2731, allocations: 2.738 MB / 457.5 MB, free: 13.59 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.2735, allocations: 234.2 kB / 457.8 MB, free: 13.34 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007452/0.2743, allocations: 0.5754 MB / 458.3 MB, free: 12.76 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007197/0.275, allocations: 0.6327 MB / 459 MB, free: 12.12 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2751, allocations: 68 kB / 459 MB, free: 12.06 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.277, allocations: 0.7845 MB / 459.8 MB, free: 11.27 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.2772, allocations: 214.7 kB / 460 MB, free: 11.06 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007163/0.2779, allocations: 0.7724 MB / 460.8 MB, free: 10.29 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002573/0.2805, allocations: 2.147 MB / 462.9 MB, free: 8.129 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2805, allocations: 0 / 462.9 MB, free: 8.129 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.2805, allocations: 0 / 462.9 MB, free: 8.129 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.573e-05/0.2805, allocations: 4 kB / 462.9 MB, free: 8.125 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.003678/0.2842, allocations: 2.209 MB / 465.2 MB, free: 5.867 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2842, allocations: 8.031 kB / 465.2 MB, free: 5.859 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.2847, allocations: 247.5 kB / 465.4 MB, free: 5.617 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.2866, allocations: 1.215 MB / 466.6 MB, free: 4.32 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.2867, allocations: 53.19 kB / 466.7 MB, free: 4.27 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.2868, allocations: 56 kB / 466.7 MB, free: 4.215 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2882, allocations: 0.6938 MB / 467.4 MB, free: 3.508 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2882, allocations: 0 / 467.4 MB, free: 3.508 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.614e-05/0.2883, allocations: 20 kB / 467.4 MB, free: 3.488 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.2883, allocations: 27.92 kB / 467.5 MB, free: 3.461 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.2897, allocations: 0.5634 MB / 468 MB, free: 2.895 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/0.2935, allocations: 2.471 MB / 470.5 MB, free: 308 kB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.2948, allocations: 0.5651 MB / 471.1 MB, free: 15.72 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009386/0.2958, allocations: 494.1 kB / 471.5 MB, free: 15.24 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006078/0.3019, allocations: 2.735 MB / 474.3 MB, free: 12.48 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.3028, allocations: 414.9 kB / 474.7 MB, free: 12.07 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=73): time 2.995e-06/0.3028, allocations: 0 / 474.7 MB, free: 12.07 MB / 382.1 MB
Notification: Performance of matching and sorting (n=73): time 0.00719/0.31, allocations: 2.317 MB / 477 MB, free: 9.734 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.31, allocations: 81.61 kB / 477.1 MB, free: 9.637 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.3118, allocations: 1.426 MB / 478.5 MB, free: 8.172 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.3119, allocations: 41.7 kB / 478.6 MB, free: 8.125 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0007284/0.3126, allocations: 0.7986 MB / 479.3 MB, free: 7.32 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3128, allocations: 253.8 kB / 479.6 MB, free: 7.07 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.313, allocations: 138.6 kB / 479.7 MB, free: 6.93 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001658/0.3132, allocations: 345.9 kB / 480.1 MB, free: 6.586 MB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/0.3139, allocations: 261.9 kB / 480.3 MB, free: 6.328 MB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.3147, allocations: 442 kB / 480.8 MB, free: 5.824 MB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/0.3183, allocations: 1.552 MB / 482.3 MB, free: 4.207 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3183, allocations: 0 / 482.3 MB, free: 4.207 MB / 382.1 MB
Notification: Performance of matching and sorting (n=104) (initialization): time 0.002284/0.3205, allocations: 1.13 MB / 483.4 MB, free: 3.062 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3206, allocations: 10.34 kB / 483.4 MB, free: 3.055 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.3207, allocations: 79.98 kB / 483.5 MB, free: 2.977 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.3218, allocations: 0.6059 MB / 484.1 MB, free: 2.371 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.3224, allocations: 143.8 kB / 484.3 MB, free: 2.23 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.3239, allocations: 1.526 MB / 485.8 MB, free: 0.6523 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.3246, allocations: 95.42 kB / 485.9 MB, free: 0.5586 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.3246, allocations: 36 kB / 485.9 MB, free: 0.5234 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.0005744/0.3252, allocations: 302.3 kB / 486.2 MB, free: 224 kB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.3254, allocations: 206.7 kB / 486.4 MB, free: 16 kB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.328, allocations: 1.114 MB / 487.5 MB, free: 14.89 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.328, allocations: 8 kB / 487.5 MB, free: 14.88 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.328, allocations: 0 / 487.5 MB, free: 14.88 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.328, allocations: 3.984 kB / 487.6 MB, free: 14.88 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.3293, allocations: 0.9667 MB / 488.5 MB, free: 13.86 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001088/0.3294, allocations: 79.98 kB / 488.6 MB, free: 13.78 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.3298, allocations: 75.81 kB / 488.7 MB, free: 13.7 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.3309, allocations: 0.6553 MB / 489.3 MB, free: 13.05 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.331, allocations: 20 kB / 489.3 MB, free: 13.03 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.3324, allocations: 1.141 MB / 490.5 MB, free: 11.86 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3324, allocations: 4 kB / 490.5 MB, free: 11.86 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.3353, allocations: 1.41 MB / 491.9 MB, free: 10.43 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/0.3357, allocations: 218.5 kB / 492.1 MB, free: 10.21 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.3359, allocations: 15.94 kB / 492.1 MB, free: 10.2 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.3364, allocations: 35.95 kB / 492.2 MB, free: 10.16 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3365, allocations: 56.41 kB / 492.2 MB, free: 10.11 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.3366, allocations: 24 kB / 492.2 MB, free: 10.08 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0013/0.3379, allocations: 0.9445 MB / 493.2 MB, free: 9.117 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1.41e-07/0.3379, allocations: 3.938 kB / 493.2 MB, free: 9.113 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001006/0.3389, allocations: 434.9 kB / 493.6 MB, free: 8.688 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.0008349/0.3397, allocations: 486.3 kB / 494.1 MB, free: 8.203 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.002075/0.3418, allocations: 0.8188 MB / 494.9 MB, free: 7.375 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3418, allocations: 0 / 494.9 MB, free: 7.375 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001263/0.3431, allocations: 0.5116 MB / 495.4 MB, free: 6.855 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.344, allocations: 219 kB / 495.6 MB, free: 6.637 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/0.3496, allocations: 3.016 MB / 498.7 MB, free: 3.582 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008353/0.3504, allocations: 1.216 MB / 499.9 MB, free: 2.336 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.000475/0.3509, allocations: 166.1 kB / 0.4883 GB, free: 2.172 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.351, allocations: 75.38 kB / 0.4884 GB, free: 2.098 MB / 398.1 MB
Notification: Performance of SimCode: time 1.132e-06/0.351, allocations: 0 / 0.4884 GB, free: 2.098 MB / 398.1 MB
Notification: Performance of Templates: time 0.03355/0.3846, allocations: 17.35 MB / 0.5053 GB, free: 0.8047 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: 4.9575963309034705]
Failed to read output from testmodel.py, exit status != 0:
['time', 'Q1.vbc', 'Q1.vbe', 'Q2.vbc', 'Q2.vbe', 'VCC.T0', 'VCC.counter', 'VCC.counter2', 'VEE.T0', 'VEE.counter', 'VEE.counter2']
0.3937179623171687 0.40820785699999995 0.12446512099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3fc31fd7b0>