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.001865/0.001865, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002424/0.002424, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001573/0.001573, allocations: 47.92 kB / 378.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2263, allocations: 53.37 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009525/0.2358, allocations: 8.376 MB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.2506, allocations: 11.39 MB / 451.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.2516, allocations: 87.06 kB / 451.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.2536, allocations: 0.8444 MB / 452.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.257, allocations: 1.252 MB / 453.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.2587, allocations: 0.7073 MB / 454.3 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004095/0.2628, allocations: 2.73 MB / 457 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.2632, allocations: 238.2 kB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007474/0.2639, allocations: 0.5793 MB / 457.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/0.2647, allocations: 0.625 MB / 458.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.2648, allocations: 68 kB / 458.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.2665, allocations: 0.7923 MB / 459.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.2667, allocations: 218.6 kB / 459.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007153/0.2674, allocations: 0.7686 MB / 460.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.2704, allocations: 2.135 MB / 462.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2704, allocations: 4 kB / 462.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2704, allocations: 0 / 462.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.2704, allocations: 0 / 462.4 MB, free: 7.977 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.00368/0.2741, allocations: 2.217 MB / 464.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2742, allocations: 8.031 kB / 464.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.2747, allocations: 247.5 kB / 464.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.2767, allocations: 1.223 MB / 466.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.2768, allocations: 49.23 kB / 466.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.2769, allocations: 52 kB / 466.2 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.2782, allocations: 0.7017 MB / 466.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2782, allocations: 0 / 466.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-05/0.2783, allocations: 20 kB / 466.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.2783, allocations: 15.98 kB / 467 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.2796, allocations: 0.5712 MB / 467.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.2834, allocations: 2.464 MB / 470 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.2847, allocations: 0.5651 MB / 470.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009588/0.2856, allocations: 490.1 kB / 471 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006212/0.2918, allocations: 2.742 MB / 473.8 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000893/0.2927, allocations: 406.9 kB / 474.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.2927, allocations: 0 / 474.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007105/0.2998, allocations: 2.317 MB / 476.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.2999, allocations: 93.55 kB / 476.6 MB, free: 9.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.3017, allocations: 1.426 MB / 478 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.3018, allocations: 37.7 kB / 478.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/0.3025, allocations: 0.7908 MB / 478.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.3028, allocations: 261.8 kB / 479.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.303, allocations: 142.6 kB / 479.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3032, allocations: 341.9 kB / 479.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/0.3038, allocations: 261.9 kB / 479.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.3046, allocations: 446 kB / 480.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.308, allocations: 1.552 MB / 481.8 MB, free: 4.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.308, allocations: 4 kB / 481.8 MB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002187/0.3102, allocations: 1.127 MB / 482.9 MB, free: 2.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3102, allocations: 12.03 kB / 483 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/0.3103, allocations: 79.98 kB / 483 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3114, allocations: 0.6005 MB / 483.6 MB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.312, allocations: 135.8 kB / 483.8 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.3136, allocations: 1.532 MB / 485.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.3143, allocations: 95.42 kB / 485.4 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.3143, allocations: 36.12 kB / 485.4 MB, free: 384 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.0005952/0.3149, allocations: 297.5 kB / 485.7 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.3152, allocations: 210.8 kB / 485.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.3176, allocations: 1.126 MB / 487.1 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3176, allocations: 4 kB / 487.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3176, allocations: 4 kB / 487.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3176, allocations: 7.922 kB / 487.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.3189, allocations: 0.9589 MB / 488 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001195/0.319, allocations: 83.92 kB / 488.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.3194, allocations: 63.94 kB / 488.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.3206, allocations: 0.6553 MB / 488.8 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.3207, allocations: 24 kB / 488.8 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.3221, allocations: 1.145 MB / 490 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3221, allocations: 0 / 490 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.3249, allocations: 1.41 MB / 491.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/0.3253, allocations: 214.5 kB / 491.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.3255, allocations: 19.94 kB / 491.6 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.3259, allocations: 35.95 kB / 491.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3261, allocations: 60.34 kB / 491.7 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.3261, allocations: 20 kB / 491.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.3274, allocations: 0.9445 MB / 492.7 MB, free: 8.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3274, allocations: 0 / 492.7 MB, free: 8.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009395/0.3283, allocations: 438.9 kB / 493.1 MB, free: 8.535 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.0008287/0.3292, allocations: 491.4 kB / 493.6 MB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.3312, allocations: 0.8188 MB / 494.4 MB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3312, allocations: 4 kB / 494.4 MB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.3324, allocations: 0.5036 MB / 494.9 MB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.3333, allocations: 211.3 kB / 495.1 MB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.3384, allocations: 3.025 MB / 498.2 MB, free: 3.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008777/0.3393, allocations: 1.228 MB / 499.4 MB, free: 2.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004698/0.3398, allocations: 162.1 kB / 499.5 MB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3399, allocations: 71.44 kB / 499.6 MB, free: 1.938 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3399, allocations: 4 kB / 499.6 MB, free: 1.934 MB / 398.1 MB Notification: Performance of Templates: time 0.03297/0.3729, allocations: 17.35 MB / 0.5048 GB, free: 0.6523 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 -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.062768357107416] 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.3814045989420265 0.396272817 0.122714689 Calling exit ...