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.0008126/0.0008126, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004005/0.004005, allocations: 163 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8645/0.8645, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.122e-06/1.122e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.028e-05, allocations: 4.672 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005025/0.005045, allocations: 7.162 MB / 333 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007821/0.01287, allocations: 9.861 MB / 342.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005023/0.01337, allocations: 87.06 kB / 342.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.01443, allocations: 0.7768 MB / 343.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.01609, allocations: 1.287 MB / 345 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.01703, allocations: 0.7147 MB / 345.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.01931, allocations: 2.811 MB / 348.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.01956, allocations: 226.2 kB / 348.8 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.02009, allocations: 0.8104 MB / 349.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.02043, allocations: 442.3 kB / 350 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.02049, allocations: 71.94 kB / 350.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007856/0.02128, allocations: 0.718 MB / 350.8 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.02139, allocations: 218.6 kB / 351 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.02165, allocations: 442.6 kB / 351.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.02305, allocations: 2.176 MB / 353.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02306, allocations: 0 / 353.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.02306, allocations: 0 / 353.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.02307, allocations: 0 / 353.6 MB, free: 3.512 MB / 314.7 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.002106/0.02518, allocations: 2.189 MB / 355.8 MB, free: 1.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.02521, allocations: 15.97 kB / 355.8 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.02545, allocations: 247.5 kB / 356.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.02657, allocations: 1.226 MB / 357.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.0266, allocations: 45.69 kB / 357.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.02666, allocations: 52.38 kB / 357.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.0274, allocations: 0.7229 MB / 358.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.02742, allocations: 0 / 358.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.02745, allocations: 20 kB / 358.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.02747, allocations: 23.98 kB / 358.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.02817, allocations: 0.5672 MB / 358.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.03014, allocations: 2.237 MB / 360.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.03082, allocations: 0.5682 MB / 361.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.03131, allocations: 490.2 kB / 362 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003301/0.03461, allocations: 2.666 MB / 364.7 MB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004659/0.03508, allocations: 406.9 kB / 365.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 1.663e-06/0.03508, allocations: 0 / 365.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.003616/0.03869, allocations: 2.313 MB / 367.4 MB, free: 5.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.03874, allocations: 89.61 kB / 367.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/0.03971, allocations: 1.422 MB / 368.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.03974, allocations: 37.7 kB / 368.9 MB, free: 3.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006455/0.04038, allocations: 0.7867 MB / 369.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.0405, allocations: 253.8 kB / 370 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.04062, allocations: 142.6 kB / 370.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.0407, allocations: 334 kB / 370.4 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.04103, allocations: 265.8 kB / 370.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.04143, allocations: 463.8 kB / 371.1 MB, free: 1.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.04321, allocations: 1.556 MB / 372.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.04322, allocations: 4 kB / 372.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001121/0.04434, allocations: 1.141 MB / 373.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.04435, allocations: 8 kB / 373.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-05/0.04442, allocations: 83.98 kB / 373.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.04498, allocations: 0.5837 MB / 374.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.04525, allocations: 135.8 kB / 374.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/0.04611, allocations: 1.533 MB / 376.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.04639, allocations: 83.48 kB / 376.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.04644, allocations: 39.98 kB / 376.3 MB, free: 12.21 MB / 346.7 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.0003217/0.04676, allocations: 285.8 kB / 376.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.04687, allocations: 222.6 kB / 376.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.04839, allocations: 1.122 MB / 377.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.04839, allocations: 8 kB / 377.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.0484, allocations: 0 / 377.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.0484, allocations: 3.984 kB / 377.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.049, allocations: 0.833 MB / 378.8 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.04905, allocations: 72 kB / 378.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.04923, allocations: 63.94 kB / 378.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006079/0.04984, allocations: 0.6482 MB / 379.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.04987, allocations: 27.86 kB / 379.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007698/0.05064, allocations: 1.135 MB / 380.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.05064, allocations: 0 / 380.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.05209, allocations: 1.413 MB / 382.1 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.05229, allocations: 218.5 kB / 382.3 MB, free: 6.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.05237, allocations: 19.98 kB / 382.3 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.05259, allocations: 27.97 kB / 382.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.05267, allocations: 52.41 kB / 382.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.05271, allocations: 27.98 kB / 382.5 MB, free: 5.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006714/0.05338, allocations: 0.9367 MB / 383.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05338, allocations: 0 / 383.4 MB, free: 4.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005326/0.05391, allocations: 435 kB / 383.8 MB, free: 4.555 MB / 346.7 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.0007739/0.05468, allocations: 0.5184 MB / 384.3 MB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.05571, allocations: 0.8265 MB / 385.2 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.05571, allocations: 0 / 385.2 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.0563, allocations: 0.5038 MB / 385.7 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.05682, allocations: 211 kB / 385.9 MB, free: 2.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.05944, allocations: 2.904 MB / 388.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.05978, allocations: 0.6419 MB / 389.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.05988, allocations: 76.5 kB / 389.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.05988, allocations: 0 / 389.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Templates: time 0.01956/0.07944, allocations: 29.4 MB / 418.9 MB, free: 1.359 MB / 378.7 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.569635675288737] 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.08609451353549957 0.093783961 0.069149879 Calling exit ...