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.00124/0.00124, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001412/0.001412, allocations: 214.7 kB / 24.51 MB, free: 3.918 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.366/1.366, allocations: 230.6 MB / 258.3 MB, free: 7.781 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 51.92 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.26, allocations: 53.37 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008637/0.2687, allocations: 7.154 MB / 439 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.2816, allocations: 9.845 MB / 448.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.2829, allocations: 87.06 kB / 449 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.2849, allocations: 0.7635 MB / 449.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003815/0.2888, allocations: 1.256 MB / 451 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.2907, allocations: 0.707 MB / 451.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004264/0.295, allocations: 2.727 MB / 454.4 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.2954, allocations: 234.2 kB / 454.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007843/0.2962, allocations: 0.5871 MB / 455.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.2969, allocations: 0.6172 MB / 455.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.297, allocations: 71.98 kB / 455.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.2986, allocations: 0.7493 MB / 456.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.2989, allocations: 214.6 kB / 456.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006056/0.2995, allocations: 0.5784 MB / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.302, allocations: 2.162 MB / 459.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.302, allocations: 3.938 kB / 459.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.302, allocations: 0 / 459.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.302, allocations: 3.938 kB / 459.6 MB, free: 10.75 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.003334/0.3053, allocations: 2.217 MB / 461.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3054, allocations: 8.031 kB / 461.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.157e-05/0.3054, allocations: 21.5 kB / 461.9 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3055, allocations: 106.6 kB / 462 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004595/0.306, allocations: 239.5 kB / 462.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.3078, allocations: 1.223 MB / 463.4 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.3079, allocations: 37.31 kB / 463.5 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.308, allocations: 56 kB / 463.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3094, allocations: 0.719 MB / 464.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3094, allocations: 0 / 464.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.3095, allocations: 20 kB / 464.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.3095, allocations: 23.98 kB / 464.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3108, allocations: 0.5711 MB / 464.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.3144, allocations: 2.331 MB / 467.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3156, allocations: 0.5682 MB / 467.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.3165, allocations: 494.1 kB / 468.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006/0.3225, allocations: 2.661 MB / 470.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008493/0.3233, allocations: 406.9 kB / 471.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.266e-06/0.3233, allocations: 4 kB / 471.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.006761/0.3301, allocations: 2.313 MB / 473.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.3302, allocations: 81.61 kB / 473.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.3319, allocations: 1.426 MB / 475.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.332, allocations: 37.7 kB / 475.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000743/0.3327, allocations: 0.7947 MB / 475.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.333, allocations: 257.8 kB / 476.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3332, allocations: 138.6 kB / 476.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3334, allocations: 349.9 kB / 476.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.334, allocations: 265.8 kB / 476.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.3347, allocations: 459.8 kB / 477.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.338, allocations: 1.552 MB / 478.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.338, allocations: 0 / 478.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002197/0.3402, allocations: 1.142 MB / 480.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3402, allocations: 8 kB / 480.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.3403, allocations: 83.94 kB / 480.2 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3414, allocations: 0.5972 MB / 480.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.342, allocations: 131.8 kB / 480.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.3435, allocations: 1.525 MB / 482.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.3442, allocations: 91.56 kB / 482.5 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.3442, allocations: 36 kB / 482.5 MB, free: 3.199 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.0005602/0.3448, allocations: 297.5 kB / 482.8 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.345, allocations: 214.7 kB / 483 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.3473, allocations: 1.122 MB / 484.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3473, allocations: 4 kB / 484.2 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3473, allocations: 0 / 484.2 MB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3473, allocations: 3.984 kB / 484.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3485, allocations: 0.9121 MB / 485.1 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000104/0.3486, allocations: 72 kB / 485.2 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.3489, allocations: 67.94 kB / 485.2 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.3501, allocations: 0.6319 MB / 485.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.3502, allocations: 27.98 kB / 485.9 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.3515, allocations: 1.141 MB / 487 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3515, allocations: 0 / 487 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.3541, allocations: 1.413 MB / 488.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003946/0.3545, allocations: 218.4 kB / 488.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.3547, allocations: 19.92 kB / 488.7 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.3551, allocations: 31.97 kB / 488.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.3553, allocations: 56.41 kB / 488.8 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.3554, allocations: 27.98 kB / 488.8 MB, free: 12.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001221/0.3566, allocations: 0.9367 MB / 489.7 MB, free: 11.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3566, allocations: 4 kB / 489.7 MB, free: 11.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009108/0.3575, allocations: 435 kB / 490.1 MB, free: 11.44 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.003848/0.3613, allocations: 2.352 MB / 492.5 MB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.3634, allocations: 0.8227 MB / 493.3 MB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3634, allocations: 0 / 493.3 MB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3646, allocations: 0.5077 MB / 493.8 MB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.3656, allocations: 211.2 kB / 494 MB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.3822, allocations: 10.71 MB / 0.4929 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.3828, allocations: 0.6458 MB / 0.4935 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004705/0.3833, allocations: 158.2 kB / 0.4937 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/0.384, allocations: 0.6516 MB / 0.4943 GB, free: 10.97 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.384, allocations: 0 / 0.4943 GB, free: 10.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06893/0.4529, allocations: 32.75 MB / 0.5263 GB, free: 10.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.25, allocations: 4.062 kB / 0.5263 GB, free: 10.54 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.74749541108031] 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.441203322960064 16.622175698 16.3173238 Calling exit ...