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.001365/0.001365, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00153/0.00153, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.5 MB / 257.4 MB, free: 7.789 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.002058/0.002058, allocations: 71.89 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2301, allocations: 53.4 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009235/0.2394, allocations: 7.158 MB / 438.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.2527, allocations: 9.845 MB / 448.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009721/0.2537, allocations: 91 kB / 448.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2556, allocations: 0.7675 MB / 449.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.2587, allocations: 1.252 MB / 450.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2604, allocations: 0.6993 MB / 451.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00375/0.2642, allocations: 2.738 MB / 454.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.2645, allocations: 226.2 kB / 454.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.2653, allocations: 0.5794 MB / 455 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.266, allocations: 0.5742 MB / 455.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.2661, allocations: 68 kB / 455.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.2677, allocations: 0.7142 MB / 456.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.2679, allocations: 226.6 kB / 456.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006207/0.2685, allocations: 0.5706 MB / 457.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.2709, allocations: 2.162 MB / 459.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2709, allocations: 3.984 kB / 459.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2709, allocations: 0 / 459.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.2709, allocations: 0 / 459.3 MB, free: 10.72 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.003516/0.2745, allocations: 2.217 MB / 461.5 MB, free: 8.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2745, allocations: 8.031 kB / 461.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.2749, allocations: 251.5 kB / 461.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.2769, allocations: 1.219 MB / 463 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.277, allocations: 41.25 kB / 463 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2771, allocations: 55.98 kB / 463.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.2785, allocations: 0.719 MB / 463.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2785, allocations: 0 / 463.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/0.2785, allocations: 28 kB / 463.8 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2785, allocations: 12 kB / 463.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2799, allocations: 0.5712 MB / 464.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.2834, allocations: 2.227 MB / 466.6 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.2847, allocations: 0.5721 MB / 467.2 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/0.2856, allocations: 0.4902 MB / 467.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006136/0.2917, allocations: 2.659 MB / 470.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008773/0.2926, allocations: 406.9 kB / 470.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.835e-06/0.2926, allocations: 0 / 470.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007202/0.2998, allocations: 2.321 MB / 473.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.2999, allocations: 81.61 kB / 473.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.3018, allocations: 1.434 MB / 474.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.3018, allocations: 41.64 kB / 474.6 MB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007952/0.3026, allocations: 0.7791 MB / 475.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.3029, allocations: 257.8 kB / 475.7 MB, free: 9.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.3031, allocations: 138.6 kB / 475.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3033, allocations: 337.9 kB / 476.1 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.3039, allocations: 261.9 kB / 476.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.3047, allocations: 475.7 kB / 476.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003486/0.3082, allocations: 1.564 MB / 478.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3082, allocations: 0 / 478.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002287/0.3105, allocations: 1.126 MB / 479.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.3105, allocations: 8 kB / 479.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.3106, allocations: 83.98 kB / 479.6 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3117, allocations: 0.5902 MB / 480.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.3123, allocations: 147.7 kB / 480.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.3138, allocations: 1.518 MB / 481.9 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.3145, allocations: 91.41 kB / 482 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.3145, allocations: 40 kB / 482 MB, free: 3.398 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.0005484/0.3151, allocations: 294.4 kB / 482.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.3153, allocations: 210.7 kB / 482.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.3179, allocations: 1.122 MB / 483.6 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.3179, allocations: 8 kB / 483.6 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3179, allocations: 0 / 483.6 MB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3179, allocations: 7.984 kB / 483.6 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.319, allocations: 0.8213 MB / 484.5 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001202/0.3191, allocations: 79.98 kB / 484.5 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.3195, allocations: 63.94 kB / 484.6 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001204/0.3207, allocations: 0.6357 MB / 485.2 MB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.3208, allocations: 23.98 kB / 485.3 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.3222, allocations: 1.145 MB / 486.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3222, allocations: 4 kB / 486.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.3251, allocations: 1.409 MB / 487.8 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.3255, allocations: 214.6 kB / 488 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.3257, allocations: 12 kB / 488 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.3262, allocations: 35.95 kB / 488.1 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3263, allocations: 60.3 kB / 488.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.3264, allocations: 27.98 kB / 488.2 MB, free: 13.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001298/0.3277, allocations: 0.9367 MB / 489.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3277, allocations: 0 / 489.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3287, allocations: 438.9 kB / 489.5 MB, free: 11.74 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.0008569/0.3296, allocations: 484.2 kB / 490 MB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3316, allocations: 0.8305 MB / 490.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3316, allocations: 3.938 kB / 490.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.3329, allocations: 0.4998 MB / 491.3 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.334, allocations: 209.9 kB / 491.5 MB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.3391, allocations: 3.019 MB / 494.6 MB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.3397, allocations: 0.6419 MB / 495.2 MB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004814/0.3402, allocations: 166.1 kB / 495.4 MB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3403, allocations: 75.42 kB / 495.4 MB, free: 5.734 MB / 398.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3403, allocations: 0 / 495.4 MB, free: 5.734 MB / 398.1 MB Notification: Performance of Templates: time 0.03289/0.3732, allocations: 17.28 MB / 0.5007 GB, free: 4.551 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.051911327987909] 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.3818962052464485 0.39695650800000004 0.12271314600000001 Calling exit ...