Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 110.3 kB / 20.22 MB, free: 1.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 218.2 kB / 23.48 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.395/1.395, allocations: 230.4 MB / 257 MB, free: 8.254 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.88 kB / 377.1 MB, free: 3.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2816, allocations: 53.3 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009886/0.2915, allocations: 8.375 MB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.3062, allocations: 11.39 MB / 450.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.3075, allocations: 55.56 kB / 450.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.3098, allocations: 0.8409 MB / 451 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.3143, allocations: 1.258 MB / 452.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.3175, allocations: 0.6973 MB / 453 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.324, allocations: 2.732 MB / 455.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.3247, allocations: 229.8 kB / 456 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.326, allocations: 0.5598 MB / 456.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3272, allocations: 0.6289 MB / 457.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.3274, allocations: 71.94 kB / 457.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.3306, allocations: 0.7922 MB / 458 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003641/0.3309, allocations: 218.7 kB / 458.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.3323, allocations: 0.7647 MB / 459 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005174/0.3375, allocations: 2.139 MB / 461.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3375, allocations: 0 / 461.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3375, allocations: 0 / 461.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.298e-05/0.3376, allocations: 4 kB / 461.1 MB, free: 8.34 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.005987/0.3435, allocations: 2.284 MB / 463.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.3436, allocations: 12.03 kB / 463.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.3438, allocations: 98.69 kB / 463.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.3444, allocations: 247.5 kB / 463.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.3468, allocations: 1.326 MB / 465.1 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.3469, allocations: 45.31 kB / 465.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.3471, allocations: 59.98 kB / 465.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.3487, allocations: 0.69 MB / 465.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3487, allocations: 0 / 465.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.3488, allocations: 20 kB / 465.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.3488, allocations: 20 kB / 465.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3501, allocations: 0.5673 MB / 466.5 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.3545, allocations: 2.515 MB / 469 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3557, allocations: 0.5646 MB / 469.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.3566, allocations: 495.4 kB / 470.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008514/0.3651, allocations: 5.899 MB / 476 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.366, allocations: 399.4 kB / 476.3 MB, free: 8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/0.366, allocations: 0 / 476.3 MB, free: 8 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006843/0.3728, allocations: 2.399 MB / 478.7 MB, free: 5.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.3729, allocations: 85.67 kB / 478.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.3748, allocations: 1.426 MB / 480.3 MB, free: 4.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.3749, allocations: 41.7 kB / 480.3 MB, free: 3.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007954/0.3757, allocations: 0.7946 MB / 481.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.376, allocations: 253.8 kB / 481.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.3762, allocations: 138.6 kB / 481.5 MB, free: 2.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3764, allocations: 341.9 kB / 481.8 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.377, allocations: 265.8 kB / 482.1 MB, free: 2.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/0.3777, allocations: 442.1 kB / 482.5 MB, free: 1.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/0.3811, allocations: 1.556 MB / 484.1 MB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3811, allocations: 4 kB / 484.1 MB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002353/0.3835, allocations: 1.133 MB / 485.2 MB, free: 14.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3835, allocations: 8 kB / 485.2 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/0.3837, allocations: 79.98 kB / 485.3 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.3847, allocations: 0.6112 MB / 485.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.3853, allocations: 135.8 kB / 486 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3869, allocations: 1.529 MB / 487.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.3876, allocations: 87.42 kB / 487.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.3877, allocations: 36 kB / 487.7 MB, free: 12.36 MB / 398.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.0006167/0.3883, allocations: 297.7 kB / 488 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.3886, allocations: 210.7 kB / 488.2 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.3909, allocations: 1.118 MB / 489.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3909, allocations: 8 kB / 489.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3909, allocations: 0 / 489.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.3909, allocations: 3.984 kB / 489.3 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.3922, allocations: 0.9987 MB / 490.3 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001137/0.3923, allocations: 83.98 kB / 490.4 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.3927, allocations: 59.94 kB / 490.4 MB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.3939, allocations: 0.6592 MB / 491.1 MB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.3939, allocations: 16 kB / 491.1 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.3953, allocations: 1.141 MB / 492.3 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3953, allocations: 8 kB / 492.3 MB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.3982, allocations: 1.406 MB / 493.7 MB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.3987, allocations: 299.6 kB / 494 MB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.3988, allocations: 15.94 kB / 494 MB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.3993, allocations: 39.95 kB / 494 MB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3994, allocations: 48.5 kB / 494.1 MB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.3995, allocations: 27.98 kB / 494.1 MB, free: 5.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.4008, allocations: 0.9444 MB / 495 MB, free: 4.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4008, allocations: 0 / 495 MB, free: 4.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001028/0.4018, allocations: 442.9 kB / 495.5 MB, free: 4.387 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.004042/0.4058, allocations: 2.352 MB / 497.8 MB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.4079, allocations: 0.8227 MB / 498.6 MB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4079, allocations: 0 / 498.6 MB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.4091, allocations: 0.5043 MB / 499.1 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4101, allocations: 210.9 kB / 499.3 MB, free: 456 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.4281, allocations: 10.73 MB / 0.4981 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000879/0.429, allocations: 1.224 MB / 0.4993 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000516/0.4295, allocations: 158.1 kB / 0.4995 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007581/0.4303, allocations: 0.6516 MB / 0.5001 GB, free: 3.328 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4303, allocations: 4 kB / 0.5001 GB, free: 3.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/0.5098, allocations: 33.45 MB / 0.5328 GB, free: 2.105 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.11, allocations: 3.938 kB / 0.5328 GB, free: 2.102 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.610080780927092] 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'] 16.223366467049345 16.445072783 16.104792956 Calling exit ...