Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001923/0.001923, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002706/0.002706, allocations: 214.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2749, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009824/0.2847, allocations: 8.364 MB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.3002, allocations: 11.4 MB / 451 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3017, allocations: 87.06 kB / 451 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.3042, allocations: 0.8514 MB / 451.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.3085, allocations: 1.245 MB / 453.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.311, allocations: 0.715 MB / 453.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004938/0.316, allocations: 2.73 MB / 456.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.3165, allocations: 234.2 kB / 456.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3175, allocations: 0.5832 MB / 457.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009777/0.3185, allocations: 0.6211 MB / 458 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.3187, allocations: 64 kB / 458.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.3208, allocations: 0.7961 MB / 458.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.3211, allocations: 218.7 kB / 459.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009656/0.3221, allocations: 0.7686 MB / 459.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.3253, allocations: 2.139 MB / 462 MB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3253, allocations: 0 / 462 MB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3253, allocations: 0 / 462 MB, free: 7.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.694e-05/0.3254, allocations: 4 kB / 462 MB, free: 7.742 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.003944/0.3293, allocations: 2.213 MB / 464.2 MB, free: 5.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3293, allocations: 8.031 kB / 464.2 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.3295, allocations: 102.7 kB / 464.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.33, allocations: 251.5 kB / 464.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.3322, allocations: 1.231 MB / 465.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.3323, allocations: 45.31 kB / 465.8 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3324, allocations: 55.98 kB / 465.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3337, allocations: 0.69 MB / 466.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3337, allocations: 0 / 466.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.3338, allocations: 20 kB / 466.6 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.3338, allocations: 24 kB / 466.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3352, allocations: 0.5673 MB / 467.2 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.3395, allocations: 2.467 MB / 469.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3408, allocations: 0.5689 MB / 470.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009234/0.3417, allocations: 494.8 kB / 470.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006618/0.3483, allocations: 2.738 MB / 473.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008782/0.3492, allocations: 402.9 kB / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.106e-06/0.3492, allocations: 0 / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007221/0.3564, allocations: 2.313 MB / 476.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.3565, allocations: 89.59 kB / 476.3 MB, free: 9.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.3586, allocations: 1.426 MB / 477.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.3587, allocations: 41.7 kB / 477.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/0.3595, allocations: 0.7908 MB / 478.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.3598, allocations: 257.8 kB / 478.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.36, allocations: 142.6 kB / 478.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3602, allocations: 337.9 kB / 479.2 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.3608, allocations: 265.8 kB / 479.5 MB, free: 5.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007744/0.3616, allocations: 438 kB / 479.9 MB, free: 5.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/0.365, allocations: 1.552 MB / 481.5 MB, free: 3.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.365, allocations: 4 kB / 481.5 MB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002377/0.3674, allocations: 1.134 MB / 482.6 MB, free: 2.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.3674, allocations: 8 kB / 482.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.3675, allocations: 80 kB / 482.7 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3687, allocations: 0.6098 MB / 483.3 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.3693, allocations: 135.8 kB / 483.4 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3709, allocations: 1.53 MB / 485 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.3717, allocations: 83.44 kB / 485 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.3718, allocations: 40 kB / 485.1 MB, free: 32 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.0006391/0.3724, allocations: 298.3 kB / 485.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.3727, allocations: 206.7 kB / 485.6 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.3752, allocations: 1.137 MB / 486.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.3752, allocations: 4 kB / 486.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3752, allocations: 3.984 kB / 486.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3753, allocations: 0 / 486.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.3767, allocations: 0.9745 MB / 487.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001165/0.3768, allocations: 76 kB / 487.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.3772, allocations: 67.92 kB / 487.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.3785, allocations: 0.6514 MB / 488.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.3786, allocations: 23.98 kB / 488.5 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.3801, allocations: 1.134 MB / 489.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3801, allocations: 4 kB / 489.7 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.3831, allocations: 1.413 MB / 491.1 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005703/0.3837, allocations: 226.4 kB / 491.3 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.3838, allocations: 19.92 kB / 491.3 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.3843, allocations: 31.97 kB / 491.3 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3845, allocations: 52.41 kB / 491.4 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.3845, allocations: 31.92 kB / 491.4 MB, free: 9.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001572/0.3861, allocations: 0.9406 MB / 492.4 MB, free: 8.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3861, allocations: 0 / 492.4 MB, free: 8.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001187/0.3873, allocations: 439 kB / 492.8 MB, free: 8.184 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.004285/0.3916, allocations: 2.344 MB / 495.1 MB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.3937, allocations: 0.8225 MB / 496 MB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3937, allocations: 0 / 496 MB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.395, allocations: 0.504 MB / 496.5 MB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.3962, allocations: 217.9 kB / 496.7 MB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.4151, allocations: 10.71 MB / 0.4955 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009446/0.4161, allocations: 1.216 MB / 0.4967 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005682/0.4166, allocations: 166.1 kB / 0.4968 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/0.4174, allocations: 0.6438 MB / 0.4975 GB, free: 7.148 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4174, allocations: 0 / 0.4975 GB, free: 7.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08442/0.5019, allocations: 33.92 MB / 0.5306 GB, free: 5.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.16, allocations: 0 / 0.5306 GB, free: 5.359 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.025962569001422] 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'] 17.334523526998964 17.568458911 17.240450817 Calling exit ...