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.001523/0.001523, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001461/0.001461, allocations: 204.7 kB / 24.51 MB, free: 3.945 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.426/1.426, allocations: 230.5 MB / 258.2 MB, free: 7.805 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 59.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2649, allocations: 53.4 MB / 431.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009664/0.2745, allocations: 7.165 MB / 439.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.2908, allocations: 9.841 MB / 448.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.2924, allocations: 87.06 kB / 449 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002788/0.2951, allocations: 0.7674 MB / 449.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00578/0.3009, allocations: 1.252 MB / 451 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002976/0.3039, allocations: 0.707 MB / 451.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006523/0.3104, allocations: 2.723 MB / 454.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.3113, allocations: 238.2 kB / 454.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.3126, allocations: 0.591 MB / 455.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.3139, allocations: 0.6133 MB / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.3143, allocations: 67.94 kB / 456 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.317, allocations: 0.7493 MB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.3174, allocations: 214.7 kB / 456.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.3184, allocations: 0.5784 MB / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.3216, allocations: 2.158 MB / 459.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3216, allocations: 8 kB / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.3216, allocations: 7.922 kB / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.715e-05/0.3217, allocations: 0 / 459.7 MB, free: 10.57 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.003714/0.3254, allocations: 2.209 MB / 461.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.3254, allocations: 8.031 kB / 461.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.591e-05/0.3255, allocations: 21.5 kB / 461.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.3256, allocations: 106.7 kB / 462 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005085/0.3261, allocations: 243.5 kB / 462.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.3281, allocations: 1.219 MB / 463.5 MB, free: 6.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.3282, allocations: 37.31 kB / 463.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3283, allocations: 59.92 kB / 463.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3297, allocations: 0.719 MB / 464.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3297, allocations: 3.984 kB / 464.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.3298, allocations: 24 kB / 464.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3298, allocations: 16 kB / 464.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.3311, allocations: 0.575 MB / 464.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.3349, allocations: 2.327 MB / 467.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.3362, allocations: 0.565 MB / 467.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008971/0.3371, allocations: 0.4909 MB / 468.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006179/0.3432, allocations: 2.661 MB / 470.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008963/0.3441, allocations: 402.9 kB / 471.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.477e-06/0.3441, allocations: 4 kB / 471.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007207/0.3513, allocations: 2.31 MB / 473.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.3514, allocations: 89.59 kB / 473.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.3537, allocations: 1.426 MB / 475.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.3538, allocations: 37.7 kB / 475.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000823/0.3546, allocations: 0.7908 MB / 476 MB, free: 9.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.3549, allocations: 257.8 kB / 476.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.3552, allocations: 142.6 kB / 476.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3554, allocations: 341.8 kB / 476.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/0.356, allocations: 265.8 kB / 477 MB, free: 8.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007982/0.3568, allocations: 467.8 kB / 477.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.3603, allocations: 1.548 MB / 479 MB, free: 6.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.3603, allocations: 4 kB / 479 MB, free: 6.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002389/0.3627, allocations: 1.134 MB / 480.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3627, allocations: 7.938 kB / 480.1 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.3628, allocations: 80 kB / 480.2 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3639, allocations: 0.5941 MB / 480.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.3645, allocations: 139.8 kB / 480.9 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.3662, allocations: 1.518 MB / 482.5 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/0.3669, allocations: 95.38 kB / 482.5 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/0.367, allocations: 39.98 kB / 482.6 MB, free: 3.012 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.0006218/0.3676, allocations: 298.4 kB / 482.9 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/0.368, allocations: 206.7 kB / 483.1 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.3705, allocations: 1.129 MB / 484.2 MB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3706, allocations: 8 kB / 484.2 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3706, allocations: 7.938 kB / 484.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3706, allocations: 3.984 kB / 484.2 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.3721, allocations: 0.9004 MB / 485.1 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000116/0.3723, allocations: 79.98 kB / 485.2 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.3727, allocations: 59.94 kB / 485.3 MB, free: 256 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.374, allocations: 0.6357 MB / 485.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/0.3741, allocations: 27.92 kB / 485.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3756, allocations: 1.141 MB / 487.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3756, allocations: 0 / 487.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.3785, allocations: 1.413 MB / 488.5 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.3791, allocations: 222.5 kB / 488.7 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.3793, allocations: 15.94 kB / 488.7 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.3799, allocations: 35.95 kB / 488.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.38, allocations: 48.42 kB / 488.8 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.3801, allocations: 27.98 kB / 488.8 MB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001616/0.3817, allocations: 0.9367 MB / 489.8 MB, free: 11.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3817, allocations: 0 / 489.8 MB, free: 11.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001181/0.3829, allocations: 443 kB / 490.2 MB, free: 11.25 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.004417/0.3873, allocations: 2.344 MB / 492.5 MB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.3895, allocations: 0.815 MB / 493.4 MB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3895, allocations: 4.062 kB / 493.4 MB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3908, allocations: 0.5077 MB / 493.9 MB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3919, allocations: 206.9 kB / 494.1 MB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/0.4115, allocations: 10.72 MB / 0.493 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.4123, allocations: 0.6419 MB / 0.4936 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005318/0.4128, allocations: 162.1 kB / 0.4937 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008375/0.4136, allocations: 0.6555 MB / 0.4944 GB, free: 10.79 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4136, allocations: 0 / 0.4944 GB, free: 10.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09727/0.5109, allocations: 32.73 MB / 0.5263 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.18, allocations: 10.31 kB / 0.5263 GB, free: 10.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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: 19.84714080998674] 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.37304369499907 17.574636998 17.249667168 Calling exit ...