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.001529/0.001529, allocations: 116.2 kB / 18.49 MB, free: 4.582 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.001844/0.001844, allocations: 214.8 kB / 21.46 MB, free: 1.629 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.05 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.001472/0.001472, allocations: 47.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09913, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2126/0.3117, allocations: 8.367 MB / 435.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3245, allocations: 11.37 MB / 446.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.3261, allocations: 82.72 kB / 446.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.3289, allocations: 0.8516 MB / 447.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.3339, allocations: 1.236 MB / 448.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.3369, allocations: 0.703 MB / 449.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005603/0.3425, allocations: 2.723 MB / 452.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.343, allocations: 234.8 kB / 452.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.3441, allocations: 0.5863 MB / 453.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.3449, allocations: 0.6194 MB / 453.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.345, allocations: 66.69 kB / 453.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.3479, allocations: 0.7958 MB / 454.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.3482, allocations: 218.4 kB / 454.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.3492, allocations: 0.7707 MB / 455.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.3534, allocations: 2.142 MB / 457.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3534, allocations: 1.625 kB / 457.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3534, allocations: 0 / 457.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.3534, allocations: 0 / 457.8 MB, free: 10.29 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.004232/0.3577, allocations: 2.283 MB / 460.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.3577, allocations: 13.75 kB / 460.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.979e-05/0.3577, allocations: 15.75 kB / 460.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.3579, allocations: 101.9 kB / 460.2 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.3583, allocations: 246.7 kB / 460.4 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.3604, allocations: 1.323 MB / 461.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.3605, allocations: 39.05 kB / 461.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3606, allocations: 56.92 kB / 461.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.362, allocations: 0.6967 MB / 462.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.362, allocations: 0 / 462.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.362, allocations: 20.28 kB / 462.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.3621, allocations: 23.75 kB / 462.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.3634, allocations: 0.5653 MB / 463.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.3674, allocations: 2.515 MB / 465.7 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3687, allocations: 0.5699 MB / 466.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.3696, allocations: 495 kB / 466.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008439/0.3781, allocations: 5.888 MB / 472.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008546/0.3789, allocations: 395.5 kB / 473 MB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/0.3789, allocations: 4 kB / 473 MB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007018/0.3859, allocations: 2.404 MB / 475.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.386, allocations: 87.83 kB / 475.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3878, allocations: 1.422 MB / 476.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.3878, allocations: 38.52 kB / 476.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/0.3885, allocations: 0.7962 MB / 477.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.3888, allocations: 262.7 kB / 478 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.389, allocations: 139.2 kB / 478.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3891, allocations: 340.8 kB / 478.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.3898, allocations: 260.5 kB / 478.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.3905, allocations: 442.7 kB / 479.2 MB, free: 10.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/0.3939, allocations: 1.559 MB / 480.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3939, allocations: 0 / 480.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002351/0.3962, allocations: 1.137 MB / 481.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3963, allocations: 11.98 kB / 481.9 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.3964, allocations: 76 kB / 481.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.3974, allocations: 0.607 MB / 482.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.398, allocations: 135.8 kB / 482.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.3995, allocations: 1.525 MB / 484.2 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/0.4003, allocations: 99.5 kB / 484.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.4004, allocations: 32 kB / 484.3 MB, free: 6.031 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.0006131/0.401, allocations: 296.6 kB / 484.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.4013, allocations: 210.7 kB / 484.8 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.4037, allocations: 1.12 MB / 485.9 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.4037, allocations: 4 kB / 485.9 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4037, allocations: 4 kB / 486 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4038, allocations: 3.984 kB / 486 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.4052, allocations: 1.003 MB / 487 MB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001048/0.4053, allocations: 76 kB / 487 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.4057, allocations: 71.88 kB / 487.1 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.4069, allocations: 0.6514 MB / 487.8 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.4069, allocations: 23.98 kB / 487.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.4083, allocations: 1.138 MB / 488.9 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4083, allocations: 0 / 488.9 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.4111, allocations: 1.414 MB / 490.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.4117, allocations: 299.6 kB / 490.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.4118, allocations: 15.94 kB / 490.6 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.4123, allocations: 31.97 kB / 490.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.4124, allocations: 52.48 kB / 490.7 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.4125, allocations: 24 kB / 490.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.4138, allocations: 0.9406 MB / 491.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4138, allocations: 0 / 491.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001175/0.415, allocations: 439 kB / 492.1 MB, free: 14.07 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.004025/0.419, allocations: 2.354 MB / 494.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.421, allocations: 0.8268 MB / 495.3 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4211, allocations: 0 / 495.3 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4223, allocations: 0.5042 MB / 495.8 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4234, allocations: 212.2 kB / 496 MB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.4407, allocations: 10.72 MB / 0.4948 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/0.4417, allocations: 1.22 MB / 0.496 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004583/0.4421, allocations: 162.1 kB / 0.4962 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007329/0.4429, allocations: 0.6593 MB / 0.4968 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4429, allocations: 0 / 0.4968 GB, free: 13.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06846/0.5113, allocations: 33.27 MB / 0.5293 GB, free: 12.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/15.68, allocations: 19.91 kB / 0.5294 GB, free: 12.04 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.142938396020327] 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'] 15.845506948011462 15.859485336 15.502783566 Calling exit ...