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.00146/0.00146, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001569/0.001569, allocations: 211.4 kB / 24.48 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.556/1.556, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.001517/0.001517, allocations: 40.08 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3778, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00941/0.3872, allocations: 7.15 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.4036, allocations: 9.853 MB / 449.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.4064, allocations: 87.06 kB / 449.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002857/0.4092, allocations: 0.7641 MB / 450.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.4137, allocations: 1.256 MB / 451.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.4158, allocations: 0.6993 MB / 452.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.4198, allocations: 2.742 MB / 454.9 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.4202, allocations: 234.2 kB / 455.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006651/0.4209, allocations: 0.5832 MB / 455.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.4215, allocations: 0.625 MB / 456.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.4217, allocations: 68 kB / 456.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.4231, allocations: 0.7415 MB / 457.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.4233, allocations: 218.7 kB / 457.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.4238, allocations: 0.5823 MB / 457.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.4261, allocations: 2.158 MB / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4261, allocations: 3.938 kB / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4261, allocations: 0 / 460.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.4261, allocations: 0 / 460.1 MB, free: 10.79 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.003462/0.4295, allocations: 2.213 MB / 462.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4296, allocations: 12.03 kB / 462.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.43, allocations: 239.5 kB / 462.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.4321, allocations: 1.227 MB / 463.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.4321, allocations: 41.25 kB / 463.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4322, allocations: 59.98 kB / 463.9 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4336, allocations: 0.7151 MB / 464.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4336, allocations: 0 / 464.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.4336, allocations: 20 kB / 464.6 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.4337, allocations: 24 kB / 464.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.435, allocations: 0.5634 MB / 465.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.4387, allocations: 2.234 MB / 467.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.44, allocations: 0.5818 MB / 468 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008598/0.4409, allocations: 490.1 kB / 468.5 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006456/0.4474, allocations: 2.659 MB / 471.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.4483, allocations: 402.9 kB / 471.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/0.4483, allocations: 0 / 471.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006884/0.4551, allocations: 2.317 MB / 473.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.4552, allocations: 93.61 kB / 474 MB, free: 12.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.4571, allocations: 1.43 MB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.4572, allocations: 37.7 kB / 475.4 MB, free: 11.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006965/0.4579, allocations: 0.7752 MB / 476.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.4581, allocations: 269.7 kB / 476.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.4583, allocations: 134.6 kB / 476.6 MB, free: 9.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4585, allocations: 341.9 kB / 476.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.4591, allocations: 265.8 kB / 477.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.4599, allocations: 467.7 kB / 477.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.4633, allocations: 1.56 MB / 479.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4633, allocations: 0 / 479.2 MB, free: 7.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00212/0.4654, allocations: 1.13 MB / 480.3 MB, free: 5.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4654, allocations: 11.98 kB / 480.3 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/0.4656, allocations: 76 kB / 480.4 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4666, allocations: 0.5891 MB / 481 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.4672, allocations: 139.7 kB / 481.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4688, allocations: 1.533 MB / 482.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.4694, allocations: 91.42 kB / 482.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.4695, allocations: 32 kB / 482.8 MB, free: 3.477 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.0005292/0.47, allocations: 301.4 kB / 483.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.4702, allocations: 210.7 kB / 483.3 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.4726, allocations: 1.125 MB / 484.4 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4726, allocations: 4 kB / 484.4 MB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4726, allocations: 4 kB / 484.4 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4726, allocations: 3.984 kB / 484.4 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4737, allocations: 0.8252 MB / 485.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001122/0.4738, allocations: 79.92 kB / 485.3 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.4741, allocations: 59.94 kB / 485.4 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.4753, allocations: 0.6512 MB / 486.1 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.4754, allocations: 20 kB / 486.1 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.4768, allocations: 1.138 MB / 487.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4768, allocations: 0 / 487.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.4795, allocations: 1.41 MB / 488.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.4799, allocations: 218.5 kB / 488.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.4801, allocations: 16 kB / 488.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4805, allocations: 35.95 kB / 488.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4807, allocations: 52.36 kB / 488.9 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.4807, allocations: 27.98 kB / 489 MB, free: 13.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.4819, allocations: 0.9406 MB / 489.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4819, allocations: 0 / 489.9 MB, free: 12.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.4829, allocations: 439 kB / 490.3 MB, free: 11.81 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.0008168/0.4837, allocations: 484.4 kB / 490.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.4856, allocations: 0.8226 MB / 491.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4856, allocations: 128 / 491.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4868, allocations: 0.5077 MB / 492.1 MB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.4877, allocations: 218.8 kB / 492.3 MB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.4924, allocations: 3.008 MB / 495.4 MB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.4931, allocations: 0.6419 MB / 496 MB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004132/0.4935, allocations: 158.1 kB / 496.2 MB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4936, allocations: 87.42 kB / 496.2 MB, free: 5.797 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4936, allocations: 0 / 496.2 MB, free: 5.797 MB / 398.1 MB Notification: Performance of Templates: time 0.03197/0.5256, allocations: 17.46 MB / 0.5017 GB, free: 4.453 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -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.7091985659935744] 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.5347524769895244 0.549095114 0.119856981 Calling exit ...