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.001644/0.001644, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001949/0.001949, allocations: 216 kB / 23.73 MB, free: 4.156 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.491/1.491, 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.001688/0.001688, allocations: 51.92 kB / 378.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.275, allocations: 53.35 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008926/0.2839, allocations: 7.166 MB / 438.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.2976, allocations: 9.849 MB / 448.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.2989, allocations: 87.06 kB / 448.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3011, allocations: 0.7714 MB / 449.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.3052, allocations: 1.256 MB / 450.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.3071, allocations: 0.6954 MB / 451.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.3113, allocations: 2.734 MB / 454.1 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.3118, allocations: 226.2 kB / 454.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.3127, allocations: 0.5793 MB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009589/0.3137, allocations: 0.582 MB / 455.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.3139, allocations: 68 kB / 455.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.3156, allocations: 0.7103 MB / 456.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.3158, allocations: 222.6 kB / 456.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.3166, allocations: 0.5784 MB / 457.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.3195, allocations: 2.166 MB / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3195, allocations: 0 / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3195, allocations: 0 / 459.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.677e-05/0.3196, allocations: 4 kB / 459.3 MB, free: 10.89 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.00413/0.3237, allocations: 2.209 MB / 461.5 MB, free: 8.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3237, allocations: 12.03 kB / 461.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.3242, allocations: 239.5 kB / 461.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.3267, allocations: 1.223 MB / 462.9 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.3267, allocations: 49.23 kB / 463 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3269, allocations: 56 kB / 463 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.3283, allocations: 0.719 MB / 463.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.3284, allocations: 0 / 463.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.3284, allocations: 20 kB / 463.8 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.3285, allocations: 23.98 kB / 463.8 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3298, allocations: 0.5634 MB / 464.4 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.3337, allocations: 2.238 MB / 466.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.335, allocations: 0.5714 MB / 467.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008929/0.3359, allocations: 486.1 kB / 467.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006106/0.342, allocations: 2.67 MB / 470.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008661/0.3428, allocations: 402.9 kB / 470.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.3428, allocations: 3.938 kB / 470.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006985/0.3498, allocations: 2.313 MB / 473 MB, free: 12.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.3499, allocations: 93.59 kB / 473.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.3517, allocations: 1.426 MB / 474.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.3518, allocations: 37.7 kB / 474.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/0.3526, allocations: 0.7791 MB / 475.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.3528, allocations: 257.8 kB / 475.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.353, allocations: 142.6 kB / 475.8 MB, free: 10 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3531, allocations: 341.9 kB / 476.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.3538, allocations: 261.8 kB / 476.3 MB, free: 9.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.3546, allocations: 467.8 kB / 476.8 MB, free: 8.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/0.358, allocations: 1.552 MB / 478.4 MB, free: 7.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.358, allocations: 4 kB / 478.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002164/0.3601, allocations: 1.134 MB / 479.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3602, allocations: 14.72 kB / 479.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/0.3603, allocations: 79.94 kB / 479.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3613, allocations: 0.5928 MB / 480.2 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.3619, allocations: 135.7 kB / 480.3 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.3634, allocations: 1.53 MB / 481.8 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.364, allocations: 87.48 kB / 481.9 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.624e-05/0.3641, allocations: 32 kB / 482 MB, free: 3.578 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.0005197/0.3646, allocations: 293.6 kB / 482.2 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.3649, allocations: 214.8 kB / 482.5 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.3673, allocations: 1.122 MB / 483.6 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3673, allocations: 7.938 kB / 483.6 MB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3673, allocations: 4 kB / 483.6 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3673, allocations: 3.984 kB / 483.6 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3683, allocations: 0.8174 MB / 484.4 MB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001146/0.3685, allocations: 75.98 kB / 484.5 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.3688, allocations: 67.94 kB / 484.5 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.37, allocations: 0.6474 MB / 485.2 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.37, allocations: 16 kB / 485.2 MB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.3714, allocations: 1.141 MB / 486.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3714, allocations: 0 / 486.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.3742, allocations: 1.409 MB / 487.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.3747, allocations: 222.6 kB / 488 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.3748, allocations: 15.94 kB / 488 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.3753, allocations: 35.95 kB / 488 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.3755, allocations: 60.44 kB / 488.1 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.3755, allocations: 24 kB / 488.1 MB, free: 13.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.3768, allocations: 0.9406 MB / 489.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3768, allocations: 0 / 489.1 MB, free: 12.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009989/0.3778, allocations: 439 kB / 489.5 MB, free: 11.92 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.001116/0.3789, allocations: 484.3 kB / 490 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.381, allocations: 0.8226 MB / 490.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.381, allocations: 0 / 490.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3823, allocations: 0.5039 MB / 491.3 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.3833, allocations: 218.8 kB / 491.5 MB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.3886, allocations: 3.016 MB / 494.5 MB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.3893, allocations: 0.6419 MB / 495.2 MB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.3898, allocations: 158.1 kB / 495.3 MB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.39, allocations: 83.42 kB / 495.4 MB, free: 5.902 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.39, allocations: 0 / 495.4 MB, free: 5.902 MB / 398.1 MB Notification: Performance of Templates: time 0.03392/0.4239, allocations: 17.28 MB / 0.5007 GB, free: 4.742 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.12125862762332] 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.4329546373337507 0.447502645 0.12486364900000001 Calling exit ...