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.001743/0.001743, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002087/0.002087, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.477/1.477, allocations: 230.2 MB / 255.1 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.001869/0.001869, allocations: 59.91 kB / 374.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09855, allocations: 53.32 MB / 427.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1992/0.2978, allocations: 8.351 MB / 436.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3091, allocations: 11.37 MB / 447.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.3106, allocations: 63.22 kB / 447.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.3132, allocations: 0.8497 MB / 448.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.3182, allocations: 1.232 MB / 449.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.3214, allocations: 0.7147 MB / 450.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005496/0.3269, allocations: 2.728 MB / 453.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.3275, allocations: 232.5 kB / 453.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.3285, allocations: 0.5537 MB / 453.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/0.3293, allocations: 0.6268 MB / 454.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.3295, allocations: 66.91 kB / 454.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3318, allocations: 0.7882 MB / 455.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.332, allocations: 226.5 kB / 455.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008255/0.3329, allocations: 0.7629 MB / 456.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.3361, allocations: 2.134 MB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3362, allocations: 4.516 kB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3362, allocations: 0 / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.78e-05/0.3362, allocations: 1.125 kB / 458.5 MB, free: 10.57 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.003805/0.34, allocations: 2.284 MB / 460.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.34, allocations: 9.281 kB / 460.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.3405, allocations: 247.9 kB / 461.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.3424, allocations: 1.317 MB / 462.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.3425, allocations: 48.27 kB / 462.4 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.3426, allocations: 53.2 kB / 462.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.344, allocations: 0.6946 MB / 463.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.344, allocations: 0 / 463.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.3441, allocations: 29.09 kB / 463.2 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.3441, allocations: 16.7 kB / 463.2 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.3455, allocations: 0.5657 MB / 463.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.3495, allocations: 2.527 MB / 466.3 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.3508, allocations: 0.5676 MB / 466.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/0.3517, allocations: 492.2 kB / 467.4 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008292/0.36, allocations: 5.891 MB / 473.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009021/0.3609, allocations: 405.3 kB / 473.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.835e-06/0.3609, allocations: 0 / 473.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007511/0.3684, allocations: 2.403 MB / 476.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.274e-05/0.3685, allocations: 85.67 kB / 476.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.3704, allocations: 1.43 MB / 477.6 MB, free: 13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.3705, allocations: 37.7 kB / 477.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007276/0.3712, allocations: 0.7881 MB / 478.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.3714, allocations: 262.2 kB / 478.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.3717, allocations: 143.2 kB / 478.8 MB, free: 11.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3718, allocations: 342.1 kB / 479.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/0.3724, allocations: 260.6 kB / 479.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008301/0.3733, allocations: 446.4 kB / 479.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.377, allocations: 1.556 MB / 481.4 MB, free: 9.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.377, allocations: 4 kB / 481.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002412/0.3794, allocations: 1.129 MB / 482.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3794, allocations: 4 kB / 482.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/0.3795, allocations: 83.98 kB / 482.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.3806, allocations: 0.6023 MB / 483.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.3812, allocations: 139.8 kB / 483.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.3828, allocations: 1.53 MB / 484.9 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/0.3837, allocations: 91.42 kB / 484.9 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.3838, allocations: 36 kB / 485 MB, free: 6.281 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.0006613/0.3845, allocations: 296 kB / 485.3 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.3847, allocations: 210.7 kB / 485.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.3873, allocations: 1.119 MB / 486.6 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.3873, allocations: 4 kB / 486.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3873, allocations: 0 / 486.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.3873, allocations: 5.062 kB / 486.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.3887, allocations: 1.006 MB / 487.6 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001108/0.3888, allocations: 75.98 kB / 487.7 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3892, allocations: 68.44 kB / 487.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.3904, allocations: 0.6514 MB / 488.4 MB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.3905, allocations: 20 kB / 488.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.3919, allocations: 1.149 MB / 489.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3919, allocations: 4 kB / 489.6 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.3949, allocations: 1.406 MB / 491 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.3955, allocations: 291.9 kB / 491.3 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.3957, allocations: 19.73 kB / 491.3 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.3962, allocations: 31.97 kB / 491.3 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.3963, allocations: 48.5 kB / 491.4 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/0.3964, allocations: 35.88 kB / 491.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.3978, allocations: 0.9406 MB / 492.3 MB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3978, allocations: 0 / 492.3 MB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001163/0.399, allocations: 443 kB / 492.8 MB, free: 14.32 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.0009418/0.3999, allocations: 483.2 kB / 493.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.4021, allocations: 0.8191 MB / 494.1 MB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4021, allocations: 0 / 494.1 MB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.4034, allocations: 0.5119 MB / 494.6 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4047, allocations: 215 kB / 494.8 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.4103, allocations: 3.07 MB / 497.9 MB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/0.4112, allocations: 1.228 MB / 499.1 MB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.4115, allocations: 79.44 kB / 499.2 MB, free: 7.852 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4115, allocations: 0 / 499.2 MB, free: 7.852 MB / 398.1 MB Notification: Performance of Templates: time 0.04275/0.4542, allocations: 28.59 MB / 0.5154 GB, free: 11.25 MB / 430.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: 8.777546586003155] 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.46282025310210884 0.47638854699999994 0.13715707500000002 Calling exit ...