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.001811/0.001811, allocations: 116 kB / 18.45 MB, free: 4.562 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.002198/0.002198, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.499/1.499, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001866/0.001866, allocations: 51.91 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1263, allocations: 53.32 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2034/0.3297, allocations: 8.356 MB / 435.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.3407, allocations: 11.37 MB / 447.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3422, allocations: 86.16 kB / 447.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.3448, allocations: 0.8569 MB / 448.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.3498, allocations: 1.235 MB / 449.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.3526, allocations: 0.7072 MB / 450.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006017/0.3586, allocations: 2.724 MB / 452.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005272/0.3591, allocations: 235 kB / 453 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.3603, allocations: 0.5839 MB / 453.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.3612, allocations: 0.6207 MB / 454.3 MB, free: 12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.3613, allocations: 66.53 kB / 454.3 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.3638, allocations: 0.7937 MB / 455.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.3641, allocations: 218.3 kB / 455.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009434/0.3651, allocations: 0.7715 MB / 456.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00373/0.3688, allocations: 2.141 MB / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3688, allocations: 0 / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3688, allocations: 5.375 kB / 458.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.974e-05/0.3688, allocations: 0 / 458.2 MB, free: 10.21 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.00477/0.3736, allocations: 2.281 MB / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.3737, allocations: 8.688 kB / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.3743, allocations: 246.3 kB / 460.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.3765, allocations: 1.315 MB / 462.1 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.3766, allocations: 49.25 kB / 462.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.3767, allocations: 55.67 kB / 462.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.3782, allocations: 0.6864 MB / 462.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.3782, allocations: 3.984 kB / 462.9 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.3783, allocations: 21.62 kB / 462.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.3783, allocations: 21.25 kB / 462.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3796, allocations: 0.5695 MB / 463.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004341/0.384, allocations: 2.512 MB / 466 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3853, allocations: 0.5789 MB / 466.6 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009411/0.3862, allocations: 491.2 kB / 467.1 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008451/0.3947, allocations: 5.88 MB / 472.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009133/0.3956, allocations: 409.6 kB / 473.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 4.037e-06/0.3956, allocations: 1.547 kB / 473.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007658/0.4032, allocations: 2.404 MB / 475.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.4033, allocations: 88.52 kB / 475.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.4053, allocations: 1.423 MB / 477.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.4054, allocations: 40.45 kB / 477.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.4062, allocations: 0.7884 MB / 478.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.4064, allocations: 267.7 kB / 478.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.4067, allocations: 139.3 kB / 478.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4068, allocations: 336.5 kB / 478.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.4075, allocations: 264.9 kB / 479.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.4083, allocations: 439.6 kB / 479.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.4119, allocations: 1.551 MB / 481 MB, free: 9.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4119, allocations: 4 kB / 481.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002644/0.4146, allocations: 1.144 MB / 482.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.4146, allocations: 7.938 kB / 482.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.4147, allocations: 83.98 kB / 482.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4158, allocations: 0.6034 MB / 482.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.4165, allocations: 139.8 kB / 483 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4181, allocations: 1.528 MB / 484.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.4192, allocations: 91.42 kB / 484.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.4193, allocations: 36 kB / 484.7 MB, free: 5.871 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.0006866/0.42, allocations: 289.7 kB / 485 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.4203, allocations: 210.7 kB / 485.2 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.4229, allocations: 1.122 MB / 486.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.4229, allocations: 5.688 kB / 486.3 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4229, allocations: 0 / 486.3 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.4229, allocations: 11.92 kB / 486.3 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.4245, allocations: 0.9949 MB / 487.3 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001195/0.4246, allocations: 84.86 kB / 487.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.425, allocations: 63.94 kB / 487.4 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.4263, allocations: 0.6514 MB / 488.1 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.4263, allocations: 23.98 kB / 488.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.4278, allocations: 1.141 MB / 489.3 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4278, allocations: 4 kB / 489.3 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/0.4308, allocations: 1.411 MB / 490.7 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.4314, allocations: 295.7 kB / 491 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.4316, allocations: 15.94 kB / 491 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.4321, allocations: 35.95 kB / 491 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.4322, allocations: 52.44 kB / 491.1 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.4323, allocations: 27.98 kB / 491.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.4337, allocations: 0.9406 MB / 492 MB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4337, allocations: 0 / 492 MB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4348, allocations: 442.9 kB / 492.5 MB, free: 13.91 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.0009334/0.4358, allocations: 486.4 kB / 492.9 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.438, allocations: 0.8191 MB / 493.8 MB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.438, allocations: 4 kB / 493.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.4393, allocations: 0.5041 MB / 494.3 MB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4404, allocations: 212.3 kB / 494.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.4461, allocations: 3.072 MB / 497.6 MB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/0.4469, allocations: 1.22 MB / 498.8 MB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.4471, allocations: 79.42 kB / 498.8 MB, free: 7.445 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4471, allocations: 4 kB / 498.9 MB, free: 7.441 MB / 398.1 MB Notification: Performance of Templates: time 0.04004/0.4872, allocations: 28.58 MB / 0.5151 GB, free: 10.87 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.948358725989237] 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.4960917409916874 0.508882113 0.13699366799999996 Calling exit ...