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.001276/0.001276, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001417/0.001417, allocations: 204.8 kB / 24.48 MB, free: 3.695 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001507/0.001507, allocations: 47.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009819/0.261, allocations: 7.154 MB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.276, allocations: 9.849 MB / 449.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.2779, allocations: 83.12 kB / 449.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.2803, allocations: 0.7747 MB / 450.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.2848, allocations: 1.249 MB / 451.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.2872, allocations: 0.7071 MB / 452.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004983/0.2922, allocations: 2.726 MB / 454.9 MB, free: 96 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.2927, allocations: 234.2 kB / 455.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009748/0.2936, allocations: 0.5872 MB / 455.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000783/0.2944, allocations: 0.625 MB / 456.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.2945, allocations: 64 kB / 456.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.2965, allocations: 0.7454 MB / 457.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.2967, allocations: 214.6 kB / 457.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.2973, allocations: 0.5784 MB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.3001, allocations: 2.17 MB / 460.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.3001, allocations: 4 kB / 460.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3001, allocations: 0 / 460.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.3002, allocations: 0 / 460.1 MB, free: 10.84 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.003876/0.304, allocations: 2.213 MB / 462.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3041, allocations: 8.031 kB / 462.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.3046, allocations: 247.5 kB / 462.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/0.3068, allocations: 1.223 MB / 463.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/0.3068, allocations: 45.25 kB / 463.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3069, allocations: 52 kB / 463.9 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3084, allocations: 0.719 MB / 464.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3085, allocations: 3.938 kB / 464.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.3085, allocations: 20 kB / 464.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.3085, allocations: 19.98 kB / 464.6 MB, free: 6.148 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.3099, allocations: 0.5712 MB / 465.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.3137, allocations: 2.234 MB / 467.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.315, allocations: 0.5689 MB / 468 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009143/0.3159, allocations: 490.1 kB / 468.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006407/0.3223, allocations: 2.663 MB / 471.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008466/0.3231, allocations: 414.8 kB / 471.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.3231, allocations: 0 / 471.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006965/0.3301, allocations: 2.317 MB / 473.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.3302, allocations: 89.61 kB / 474 MB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.3321, allocations: 1.434 MB / 475.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.3322, allocations: 33.7 kB / 475.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007509/0.3329, allocations: 0.7752 MB / 476.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.3332, allocations: 261.7 kB / 476.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.3334, allocations: 138.6 kB / 476.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3336, allocations: 338 kB / 476.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006344/0.3342, allocations: 261.8 kB / 477.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007857/0.335, allocations: 471.7 kB / 477.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/0.3385, allocations: 1.552 MB / 479.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3385, allocations: 0 / 479.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002386/0.3409, allocations: 1.138 MB / 480.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3409, allocations: 10.81 kB / 480.3 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/0.3411, allocations: 83.98 kB / 480.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3422, allocations: 0.5852 MB / 481 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.3428, allocations: 139.8 kB / 481.1 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.3444, allocations: 1.534 MB / 482.7 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.3451, allocations: 83.47 kB / 482.8 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.3452, allocations: 43.94 kB / 482.8 MB, free: 3.52 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.0005729/0.3458, allocations: 297.4 kB / 483.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.346, allocations: 210.7 kB / 483.3 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.3485, allocations: 1.125 MB / 484.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3485, allocations: 4 kB / 484.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3485, allocations: 0 / 484.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3485, allocations: 3.984 kB / 484.4 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3496, allocations: 0.8174 MB / 485.3 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000112/0.3497, allocations: 80 kB / 485.3 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3501, allocations: 71.86 kB / 485.4 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.3514, allocations: 0.6357 MB / 486 MB, free: 236 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.3514, allocations: 23.98 kB / 486.1 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/0.3529, allocations: 1.134 MB / 487.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3529, allocations: 3.938 kB / 487.2 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.3558, allocations: 1.421 MB / 488.6 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.3563, allocations: 218.5 kB / 488.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.3565, allocations: 15.98 kB / 488.8 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.357, allocations: 36.09 kB / 488.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3571, allocations: 56.34 kB / 488.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.3572, allocations: 27.98 kB / 489 MB, free: 13.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.3585, allocations: 0.9367 MB / 489.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 489.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3596, allocations: 439 kB / 490.3 MB, free: 11.86 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.0009136/0.3605, allocations: 492.3 kB / 490.8 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.3625, allocations: 0.8149 MB / 491.6 MB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3625, allocations: 0 / 491.6 MB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.3638, allocations: 0.5039 MB / 492.1 MB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.3647, allocations: 211.3 kB / 492.3 MB, free: 9.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.37, allocations: 3.064 MB / 495.4 MB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.3707, allocations: 0.638 MB / 496 MB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.3709, allocations: 87.38 kB / 496.1 MB, free: 5.957 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3709, allocations: 0 / 496.1 MB, free: 5.957 MB / 398.1 MB Notification: Performance of Templates: time 0.04207/0.413, allocations: 29.39 MB / 0.5132 GB, free: 8.555 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.613499973987928] 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.4224158749857452 0.43799872300000003 0.134428135 Calling exit ...