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.00167/0.00167, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001942/0.001942, allocations: 209 kB / 24.47 MB, free: 3.941 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.489/1.489, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.002448/0.002448, allocations: 48.02 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2565, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009083/0.2656, allocations: 7.158 MB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.2799, allocations: 9.841 MB / 449.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.2814, allocations: 83.12 kB / 449.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2838, allocations: 0.7796 MB / 450.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.2881, allocations: 1.245 MB / 451.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.2903, allocations: 0.7032 MB / 452.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004607/0.2949, allocations: 2.734 MB / 454.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.2953, allocations: 226.2 kB / 455.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.2963, allocations: 0.5832 MB / 455.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.297, allocations: 0.582 MB / 456.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2971, allocations: 64 kB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.2989, allocations: 0.7103 MB / 457 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.2991, allocations: 218.7 kB / 457.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.2998, allocations: 0.5783 MB / 457.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.3026, allocations: 2.162 MB / 460 MB, free: 10.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3026, allocations: 4 kB / 460 MB, free: 10.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3026, allocations: 3.938 kB / 460 MB, free: 10.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.3027, allocations: 0 / 460 MB, free: 10.93 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.003817/0.3065, allocations: 2.213 MB / 462.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3065, allocations: 8.031 kB / 462.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.307, allocations: 243.5 kB / 462.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.309, allocations: 1.219 MB / 463.7 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.3091, allocations: 45.25 kB / 463.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3092, allocations: 63.98 kB / 463.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.3107, allocations: 0.7229 MB / 464.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3107, allocations: 0 / 464.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.3108, allocations: 20 kB / 464.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.3108, allocations: 16 kB / 464.5 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.3122, allocations: 0.5712 MB / 465.1 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/0.3163, allocations: 2.242 MB / 467.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.3176, allocations: 0.5611 MB / 467.9 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009381/0.3185, allocations: 490.1 kB / 468.4 MB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006049/0.3246, allocations: 2.663 MB / 471.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/0.3255, allocations: 410.9 kB / 471.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.896e-06/0.3255, allocations: 0 / 471.5 MB, free: 15.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006947/0.3324, allocations: 2.32 MB / 473.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.3325, allocations: 85.61 kB / 473.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.3343, allocations: 1.434 MB / 475.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.3343, allocations: 37.7 kB / 475.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/0.3351, allocations: 0.7752 MB / 476.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.3353, allocations: 265.7 kB / 476.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3355, allocations: 138.6 kB / 476.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3357, allocations: 341.9 kB / 476.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.3363, allocations: 265.8 kB / 477.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/0.3371, allocations: 467.7 kB / 477.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/0.3405, allocations: 1.552 MB / 479.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3406, allocations: 4 kB / 479.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002181/0.3427, allocations: 1.126 MB / 480.2 MB, free: 6.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3428, allocations: 12.58 kB / 480.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/0.3429, allocations: 80 kB / 480.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3439, allocations: 0.5928 MB / 480.9 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.3445, allocations: 135.7 kB / 481.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.3461, allocations: 1.534 MB / 482.6 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005995/0.3467, allocations: 87.61 kB / 482.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.3468, allocations: 36 kB / 482.7 MB, free: 3.613 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.0005183/0.3473, allocations: 300.4 kB / 483 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.3475, allocations: 218.7 kB / 483.2 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.3499, allocations: 1.122 MB / 484.3 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3499, allocations: 4 kB / 484.3 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3499, allocations: 0 / 484.3 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3499, allocations: 3.984 kB / 484.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.351, allocations: 0.8251 MB / 485.2 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001153/0.3511, allocations: 79.98 kB / 485.2 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.3515, allocations: 71.88 kB / 485.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.3526, allocations: 0.6434 MB / 486 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.3527, allocations: 16 kB / 486 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.3541, allocations: 1.138 MB / 487.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3541, allocations: 0 / 487.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.3569, allocations: 1.413 MB / 488.5 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.3574, allocations: 218.6 kB / 488.7 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3576, allocations: 12 kB / 488.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.3581, allocations: 31.95 kB / 488.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.3583, allocations: 52.36 kB / 488.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.3583, allocations: 31.98 kB / 488.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.3597, allocations: 0.9406 MB / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3597, allocations: 0 / 489.8 MB, free: 12.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009691/0.3606, allocations: 439 kB / 490.2 MB, free: 11.95 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.0008389/0.3615, allocations: 488.3 kB / 490.7 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.3635, allocations: 0.8226 MB / 491.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3635, allocations: 0 / 491.5 MB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.3647, allocations: 0.5039 MB / 492 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009488/0.3657, allocations: 211 kB / 492.2 MB, free: 9.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.3708, allocations: 3.064 MB / 495.3 MB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.3715, allocations: 0.6419 MB / 496 MB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.3717, allocations: 79.44 kB / 496 MB, free: 6.043 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3717, allocations: 0 / 496 MB, free: 6.043 MB / 398.1 MB Notification: Performance of Templates: time 0.03871/0.4104, allocations: 29.4 MB / 0.5131 GB, free: 8.641 MB / 430.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: 8.716366050764918] 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.4210876738652587 0.43451985800000004 0.12844205 Calling exit ...