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.001807/0.001807, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002232/0.002232, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001595/0.001595, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2217, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008501/0.2302, allocations: 7.143 MB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.2424, allocations: 9.857 MB / 449.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.243, allocations: 83.12 kB / 449.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.2447, allocations: 0.7679 MB / 450.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.2472, allocations: 1.252 MB / 451.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.2486, allocations: 0.7032 MB / 452.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.2522, allocations: 2.73 MB / 454.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.2526, allocations: 234.2 kB / 455.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.2532, allocations: 0.5832 MB / 455.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007211/0.2539, allocations: 0.625 MB / 456.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.254, allocations: 68 kB / 456.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.2554, allocations: 0.7454 MB / 457.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2556, allocations: 218.7 kB / 457.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005505/0.2561, allocations: 0.5745 MB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.2585, allocations: 2.162 MB / 460.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2585, allocations: 4 kB / 460.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2585, allocations: 0 / 460.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.2585, allocations: 0 / 460.1 MB, free: 10.85 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.003552/0.262, allocations: 2.217 MB / 462.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2621, allocations: 12.03 kB / 462.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.2625, allocations: 239.5 kB / 462.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.2645, allocations: 1.223 MB / 463.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.2645, allocations: 49.25 kB / 463.8 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.2647, allocations: 56 kB / 463.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2661, allocations: 0.7151 MB / 464.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2661, allocations: 0 / 464.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.2662, allocations: 20 kB / 464.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.2662, allocations: 23.98 kB / 464.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.2675, allocations: 0.5711 MB / 465.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.2711, allocations: 2.238 MB / 467.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.2723, allocations: 0.5728 MB / 468 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008853/0.2732, allocations: 490.1 kB / 468.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006074/0.2793, allocations: 2.659 MB / 471.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/0.2802, allocations: 406.8 kB / 471.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.645e-06/0.2802, allocations: 0 / 471.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007111/0.2873, allocations: 2.317 MB / 473.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.2873, allocations: 89.55 kB / 473.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.289, allocations: 1.438 MB / 475.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.2891, allocations: 41.7 kB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.2898, allocations: 0.7674 MB / 476.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.29, allocations: 269.7 kB / 476.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.2903, allocations: 142.6 kB / 476.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2904, allocations: 334 kB / 476.9 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.2911, allocations: 257.8 kB / 477.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/0.2919, allocations: 471.8 kB / 477.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.2955, allocations: 1.56 MB / 479.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2955, allocations: 0 / 479.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002208/0.2977, allocations: 1.134 MB / 480.3 MB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2977, allocations: 8 kB / 480.3 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.2978, allocations: 79.98 kB / 480.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.2989, allocations: 0.5812 MB / 481 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.2995, allocations: 139.7 kB / 481.1 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3011, allocations: 1.533 MB / 482.7 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/0.3017, allocations: 91.42 kB / 482.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.3017, allocations: 35.98 kB / 482.8 MB, free: 3.527 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.0004749/0.3022, allocations: 301.8 kB / 483.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.3024, allocations: 210.7 kB / 483.3 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.3049, allocations: 1.125 MB / 484.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3049, allocations: 8 kB / 484.4 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3049, allocations: 0 / 484.4 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3049, allocations: 3.984 kB / 484.4 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.3059, allocations: 0.8174 MB / 485.2 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000107/0.306, allocations: 76 kB / 485.3 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.3064, allocations: 71.81 kB / 485.4 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.3076, allocations: 0.6434 MB / 486 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.3077, allocations: 23.98 kB / 486.1 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.3091, allocations: 1.134 MB / 487.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3091, allocations: 0 / 487.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.3119, allocations: 1.421 MB / 488.6 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.3123, allocations: 206.6 kB / 488.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.3125, allocations: 15.98 kB / 488.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/0.313, allocations: 35.97 kB / 488.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.3131, allocations: 56.34 kB / 488.9 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.3132, allocations: 27.98 kB / 488.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.3143, allocations: 0.9367 MB / 489.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3143, allocations: 0 / 489.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008728/0.3152, allocations: 439 kB / 490.3 MB, free: 11.87 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.0008134/0.316, allocations: 488.3 kB / 490.8 MB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.318, allocations: 0.822 MB / 491.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.318, allocations: 0.8125 kB / 491.6 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.3193, allocations: 0.4999 MB / 492.1 MB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.3202, allocations: 225.4 kB / 492.3 MB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.325, allocations: 3.019 MB / 495.4 MB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.3256, allocations: 0.638 MB / 496 MB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000417/0.326, allocations: 166.1 kB / 496.2 MB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3262, allocations: 71.44 kB / 496.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3262, allocations: 0 / 496.2 MB, free: 5.855 MB / 398.1 MB Notification: Performance of Templates: time 0.0302/0.3564, allocations: 17.48 MB / 0.5017 GB, free: 4.5 MB / 414.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 -s gbode -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: 4.91214703800506] 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.3647350310056936 0.378329057 0.11689062800000001 Calling exit ...