Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 192.2 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 51.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2874, allocations: 52.18 MB / 423.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008967/0.2963, allocations: 7.16 MB / 430.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01415/0.3105, allocations: 9.803 MB / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.312, allocations: 87.06 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.3148, allocations: 0.7754 MB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.3199, allocations: 1.252 MB / 442.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.3224, allocations: 0.6954 MB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.3272, allocations: 2.699 MB / 445.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005464/0.3278, allocations: 222.2 kB / 445.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.3288, allocations: 0.5793 MB / 446.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.3299, allocations: 0.5781 MB / 446.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.3301, allocations: 68 kB / 447 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3322, allocations: 0.6986 MB / 447.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.3325, allocations: 222.6 kB / 447.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.3333, allocations: 0.5745 MB / 448.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.336, allocations: 2.158 MB / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.336, allocations: 0 / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.336, allocations: 0 / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.3361, allocations: 0 / 450.6 MB, free: 2.805 MB / 350.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.003681/0.3397, allocations: 2.209 MB / 452.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3398, allocations: 8.031 kB / 452.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002821/0.3401, allocations: 243.5 kB / 453.1 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.3421, allocations: 1.215 MB / 454.3 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.3422, allocations: 45.25 kB / 454.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3423, allocations: 55.95 kB / 454.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3437, allocations: 0.7189 MB / 455.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3437, allocations: 0 / 455.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.3438, allocations: 28 kB / 455.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3438, allocations: 19.98 kB / 455.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.3452, allocations: 0.5634 MB / 455.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.349, allocations: 2.242 MB / 458 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3503, allocations: 0.5682 MB / 458.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009084/0.3512, allocations: 498 kB / 459 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007714/0.3589, allocations: 2.908 MB / 461.9 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008612/0.3598, allocations: 390.5 kB / 462.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.996e-06/0.3598, allocations: 0 / 462.3 MB, free: 6.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.006108/0.3659, allocations: 1.977 MB / 464.3 MB, free: 4.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.366, allocations: 89.55 kB / 464.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.3678, allocations: 1.439 MB / 465.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.3679, allocations: 37.7 kB / 465.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007838/0.3687, allocations: 0.7984 MB / 466.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.3689, allocations: 234 kB / 466.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.3691, allocations: 138.6 kB / 467 MB, free: 2.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3693, allocations: 334 kB / 467.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.3699, allocations: 257.8 kB / 467.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/0.3707, allocations: 479.9 kB / 468.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.3722, allocations: 0.7364 MB / 468.8 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3722, allocations: 0 / 468.8 MB, free: 64 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002254/0.3744, allocations: 1.117 MB / 469.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3745, allocations: 8 kB / 469.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.3746, allocations: 72 kB / 470 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.3759, allocations: 0.6993 MB / 470.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.3763, allocations: 111.8 kB / 470.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.3778, allocations: 1.132 MB / 471.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.3785, allocations: 87.55 kB / 472 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.3786, allocations: 32 kB / 472 MB, free: 12.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0005548/0.3791, allocations: 297.6 kB / 472.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.3794, allocations: 206.7 kB / 472.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.3817, allocations: 1.066 MB / 473.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.3817, allocations: 4 kB / 473.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3817, allocations: 0 / 473.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3817, allocations: 7.922 kB / 473.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3828, allocations: 0.7905 MB / 474.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/0.3829, allocations: 71.98 kB / 474.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.3833, allocations: 59.89 kB / 474.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.3845, allocations: 0.6554 MB / 475.2 MB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.3846, allocations: 27.98 kB / 475.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.386, allocations: 1.096 MB / 476.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.386, allocations: 0 / 476.3 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.3886, allocations: 1.33 MB / 477.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.3891, allocations: 210.6 kB / 477.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3892, allocations: 12 kB / 477.9 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.3897, allocations: 39.89 kB / 477.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3898, allocations: 52.3 kB / 478 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.3899, allocations: 27.98 kB / 478 MB, free: 6.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.3911, allocations: 0.9488 MB / 478.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3911, allocations: 0 / 478.9 MB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009727/0.392, allocations: 431 kB / 479.3 MB, free: 5.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * 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 {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008076/0.3929, allocations: 479.5 kB / 479.8 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.3949, allocations: 0.8155 MB / 480.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3949, allocations: 0 / 480.6 MB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.396, allocations: 0.4904 MB / 481.1 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/0.3969, allocations: 202.9 kB / 481.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/0.4021, allocations: 3.065 MB / 484.4 MB, free: 224 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/0.4027, allocations: 0.6338 MB / 485 MB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.4031, allocations: 162.1 kB / 485.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.4033, allocations: 75.44 kB / 485.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4033, allocations: 0 / 485.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of Templates: time 0.03096/0.4342, allocations: 16.9 MB / 0.4904 GB, free: 14.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.0389456786215305] 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.4443609919399023 0.45731475899999996 0.11809171800000001 Calling exit ...