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.00168/0.00168, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001879/0.001879, allocations: 217 kB / 24.5 MB, free: 4.133 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.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.002099/0.002099, allocations: 59.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2532, allocations: 53.41 MB / 432.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009733/0.2629, allocations: 8.363 MB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.2777, allocations: 11.4 MB / 452.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.2792, allocations: 87.06 kB / 452.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.2817, allocations: 0.8444 MB / 453.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.2857, allocations: 1.26 MB / 454.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.2878, allocations: 0.7073 MB / 455.1 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004683/0.2925, allocations: 2.726 MB / 457.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.293, allocations: 234.2 kB / 458.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009303/0.2939, allocations: 0.5871 MB / 458.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008716/0.2948, allocations: 0.625 MB / 459.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2949, allocations: 68 kB / 459.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2969, allocations: 0.7884 MB / 460.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.2971, allocations: 218.6 kB / 460.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008342/0.298, allocations: 0.7647 MB / 461.1 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.3015, allocations: 2.143 MB / 463.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3015, allocations: 4 kB / 463.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3015, allocations: 0 / 463.3 MB, free: 7.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.784e-05/0.3015, allocations: 0 / 463.3 MB, free: 7.801 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.003771/0.3053, allocations: 2.217 MB / 465.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3054, allocations: 8.031 kB / 465.5 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/0.3058, allocations: 251.5 kB / 465.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.308, allocations: 1.215 MB / 466.9 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/0.308, allocations: 49.19 kB / 467 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3081, allocations: 59.92 kB / 467 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3095, allocations: 0.69 MB / 467.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3095, allocations: 7.984 kB / 467.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.3096, allocations: 20 kB / 467.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.3096, allocations: 15.94 kB / 467.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.311, allocations: 0.5751 MB / 468.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.3151, allocations: 2.463 MB / 470.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.3164, allocations: 0.5644 MB / 471.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/0.3172, allocations: 498 kB / 471.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006501/0.3237, allocations: 2.735 MB / 474.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.3246, allocations: 402.9 kB / 475 MB, free: 11.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.745e-06/0.3246, allocations: 0 / 475 MB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.00723/0.3318, allocations: 2.317 MB / 477.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.3319, allocations: 93.59 kB / 477.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.3339, allocations: 1.426 MB / 478.8 MB, free: 7.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.334, allocations: 37.7 kB / 478.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.3348, allocations: 0.7946 MB / 479.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.335, allocations: 253.8 kB / 479.9 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.3353, allocations: 138.6 kB / 480 MB, free: 6.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3354, allocations: 341.9 kB / 480.4 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.3361, allocations: 265.8 kB / 480.6 MB, free: 6.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007662/0.3368, allocations: 438 kB / 481.1 MB, free: 5.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.3403, allocations: 1.556 MB / 482.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3403, allocations: 0 / 482.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002286/0.3426, allocations: 1.134 MB / 483.8 MB, free: 2.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.3426, allocations: 8 kB / 483.8 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.3427, allocations: 76 kB / 483.8 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.3438, allocations: 0.6138 MB / 484.5 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.3444, allocations: 131.8 kB / 484.6 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.346, allocations: 1.534 MB / 486.1 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007068/0.3467, allocations: 91.44 kB / 486.2 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.3468, allocations: 32 kB / 486.2 MB, free: 204 kB / 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.0005849/0.3473, allocations: 298.4 kB / 486.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.3476, allocations: 210.7 kB / 486.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.3501, allocations: 1.122 MB / 487.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3501, allocations: 7.938 kB / 487.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3501, allocations: 4 kB / 487.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3501, allocations: 4 kB / 487.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3514, allocations: 0.9744 MB / 488.8 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001149/0.3516, allocations: 76 kB / 488.9 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.3519, allocations: 67.88 kB / 489 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3531, allocations: 0.6514 MB / 489.6 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.3532, allocations: 23.98 kB / 489.7 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.3546, allocations: 1.145 MB / 490.8 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3546, allocations: 0 / 490.8 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.3573, allocations: 1.41 MB / 492.2 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.3578, allocations: 210.6 kB / 492.4 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/0.358, allocations: 19.92 kB / 492.4 MB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.3586, allocations: 31.97 kB / 492.5 MB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.3587, allocations: 60.41 kB / 492.5 MB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.3587, allocations: 23.98 kB / 492.6 MB, free: 9.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001379/0.3601, allocations: 0.9444 MB / 493.5 MB, free: 8.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3601, allocations: 3.938 kB / 493.5 MB, free: 8.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009943/0.3611, allocations: 438.9 kB / 493.9 MB, free: 8.359 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.0008767/0.362, allocations: 488.8 kB / 494.4 MB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.3641, allocations: 0.8147 MB / 495.2 MB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3641, allocations: 0 / 495.2 MB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.3653, allocations: 0.5234 MB / 495.7 MB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000991/0.3663, allocations: 213.5 kB / 496 MB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.3718, allocations: 3.049 MB / 499 MB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009853/0.3728, allocations: 1.22 MB / 0.4885 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.373, allocations: 83.44 kB / 0.4886 GB, free: 1.875 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.373, allocations: 3.938 kB / 0.4886 GB, free: 1.871 MB / 398.1 MB Notification: Performance of Templates: time 0.04028/0.4133, allocations: 28.59 MB / 0.5165 GB, free: 5.281 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.554540582932532] 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.4226118759252131 0.43793508000000003 0.13297926200000001 Calling exit ...