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.001982/0.001982, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002108/0.002108, allocations: 208.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001597/0.001597, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008701/0.2621, allocations: 7.15 MB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.2748, allocations: 9.849 MB / 448.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.2758, allocations: 83.12 kB / 448.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.2777, allocations: 0.7714 MB / 449.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.281, allocations: 1.252 MB / 450.7 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.2827, allocations: 0.7032 MB / 451.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.2864, allocations: 2.73 MB / 454.1 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.2869, allocations: 234.2 kB / 454.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.2876, allocations: 0.5833 MB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007146/0.2883, allocations: 0.625 MB / 455.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.2885, allocations: 64 kB / 455.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.2899, allocations: 0.7415 MB / 456.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2901, allocations: 222.6 kB / 456.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.2906, allocations: 0.5823 MB / 457.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.2931, allocations: 2.162 MB / 459.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2931, allocations: 0 / 459.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2931, allocations: 4 kB / 459.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.2931, allocations: 0 / 459.3 MB, free: 10.82 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.003422/0.2965, allocations: 2.213 MB / 461.5 MB, free: 8.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2966, allocations: 8.031 kB / 461.6 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.2969, allocations: 243.5 kB / 461.8 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.2989, allocations: 1.223 MB / 463 MB, free: 7.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.2989, allocations: 49.23 kB / 463.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2991, allocations: 56 kB / 463.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.3004, allocations: 0.7151 MB / 463.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3004, allocations: 0 / 463.8 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.3004, allocations: 27.92 kB / 463.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.3005, allocations: 23.98 kB / 463.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3018, allocations: 0.5634 MB / 464.4 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.3052, allocations: 2.234 MB / 466.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.3064, allocations: 0.565 MB / 467.2 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008694/0.3073, allocations: 494 kB / 467.7 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005952/0.3133, allocations: 2.667 MB / 470.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008522/0.3141, allocations: 414.8 kB / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.066e-06/0.3141, allocations: 0 / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006827/0.3209, allocations: 2.309 MB / 473.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.321, allocations: 97.53 kB / 473.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.3232, allocations: 1.426 MB / 474.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.3232, allocations: 41.69 kB / 474.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007304/0.324, allocations: 0.7791 MB / 475.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.3242, allocations: 253.8 kB / 475.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3244, allocations: 138.6 kB / 475.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3246, allocations: 341.9 kB / 476.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006483/0.3252, allocations: 265.8 kB / 476.4 MB, free: 9.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.326, allocations: 459.8 kB / 476.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.3295, allocations: 1.56 MB / 478.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3295, allocations: 0 / 478.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002169/0.3317, allocations: 1.142 MB / 479.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3317, allocations: 8 kB / 479.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.3318, allocations: 80 kB / 479.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.3329, allocations: 0.5891 MB / 480.3 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.3335, allocations: 135.7 kB / 480.4 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.335, allocations: 1.534 MB / 481.9 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.3356, allocations: 83.47 kB / 482 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.3357, allocations: 40 kB / 482 MB, free: 3.504 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.0005462/0.3363, allocations: 301.4 kB / 482.3 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.3365, allocations: 210.7 kB / 482.5 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.3389, allocations: 1.122 MB / 483.7 MB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3389, allocations: 11.98 kB / 483.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3389, allocations: 0 / 483.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3389, allocations: 0 / 483.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.3401, allocations: 0.8252 MB / 484.5 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001138/0.3402, allocations: 79.98 kB / 484.6 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.3405, allocations: 67.88 kB / 484.6 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.3417, allocations: 0.6395 MB / 485.3 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.3417, allocations: 20 kB / 485.3 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.3431, allocations: 1.138 MB / 486.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3431, allocations: 0 / 486.4 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.3461, allocations: 1.417 MB / 487.9 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.3466, allocations: 218.5 kB / 488.1 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.3468, allocations: 23.94 kB / 488.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.3473, allocations: 31.95 kB / 488.1 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.3475, allocations: 56.34 kB / 488.2 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.3475, allocations: 24 kB / 488.2 MB, free: 13.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.3489, allocations: 0.9406 MB / 489.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3489, allocations: 0 / 489.1 MB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3499, allocations: 439 kB / 489.6 MB, free: 11.84 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.0009268/0.3508, allocations: 487.5 kB / 490 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.3529, allocations: 0.8227 MB / 490.9 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3529, allocations: 0 / 490.9 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.3542, allocations: 0.5 MB / 491.4 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3552, allocations: 213.7 kB / 491.6 MB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.3607, allocations: 3.02 MB / 494.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/0.3615, allocations: 0.6458 MB / 495.2 MB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.3619, allocations: 158.1 kB / 495.4 MB, free: 5.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3621, allocations: 79.44 kB / 495.5 MB, free: 5.824 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3621, allocations: 7.938 kB / 495.5 MB, free: 5.816 MB / 398.1 MB Notification: Performance of Templates: time 0.03336/0.3954, allocations: 17.46 MB / 0.5009 GB, free: 4.473 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.20601920504123] 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.40434500481933355 0.419780008 0.12352667199999995 Calling exit ...