Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.001499/0.001499, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.89 kB / 378.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2544, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.00628/0.2607, allocations: 4.896 MB / 436.8 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02055/0.2812, allocations: 16.62 MB / 453.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.282, allocations: 35.62 kB / 453.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.2843, allocations: 0.7233 MB / 454.2 MB, free: 128 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.2901, allocations: 1.606 MB / 455.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004563/0.2946, allocations: 1.285 MB / 457.1 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.2981, allocations: 1.817 MB / 458.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.2983, allocations: 113.6 kB / 459 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.2989, allocations: 378.3 kB / 459.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.2994, allocations: 365.8 kB / 459.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.2995, allocations: 32 kB / 459.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.303, allocations: 1.198 MB / 460.9 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.3032, allocations: 123.2 kB / 461.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.3036, allocations: 322 kB / 461.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.3068, allocations: 1.627 MB / 463 MB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3068, allocations: 0 / 463 MB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3068, allocations: 0 / 463 MB, free: 7.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.3068, allocations: 0 / 463 MB, free: 7.23 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002314/0.3091, allocations: 1.341 MB / 464.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3091, allocations: 12.03 kB / 464.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.653e-05/0.3092, allocations: 4.5 kB / 464.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.3092, allocations: 62.53 kB / 464.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3094, allocations: 135.1 kB / 464.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.3105, allocations: 0.7071 MB / 465.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.3105, allocations: 20.5 kB / 465.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.3106, allocations: 20 kB / 465.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.3114, allocations: 340.8 kB / 465.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3114, allocations: 3.938 kB / 465.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.3114, allocations: 15.94 kB / 465.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.3114, allocations: 7.984 kB / 465.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.3123, allocations: 341.9 kB / 466 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.3143, allocations: 1.116 MB / 467.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.3152, allocations: 253.3 kB / 467.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.3157, allocations: 205 kB / 467.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006798/0.3225, allocations: 3.626 MB / 471.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/0.3231, allocations: 203.2 kB / 471.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 3.256e-06/0.3231, allocations: 0 / 471.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001398/0.3245, allocations: 0.4888 MB / 471.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3245, allocations: 59.34 kB / 471.9 MB, free: 14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.3256, allocations: 0.8786 MB / 472.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3256, allocations: 33.7 kB / 472.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.326, allocations: 468.7 kB / 473.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.3261, allocations: 59.56 kB / 473.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3262, allocations: 93.38 kB / 473.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3264, allocations: 318 kB / 473.8 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.3268, allocations: 131.8 kB / 473.9 MB, free: 12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.3272, allocations: 253.9 kB / 474.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.3281, allocations: 393.2 kB / 474.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.3281, allocations: 4 kB / 474.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001147/0.3292, allocations: 0.5003 MB / 475 MB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3293, allocations: 8 kB / 475 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.184e-05/0.3293, allocations: 24 kB / 475.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3293, allocations: 7.938 kB / 475.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.3297, allocations: 92.36 kB / 475.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.3297, allocations: 11.94 kB / 475.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.3301, allocations: 63.64 kB / 475.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.3302, allocations: 20 kB / 475.3 MB, free: 10.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.3305, allocations: 208.8 kB / 475.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.3306, allocations: 115.3 kB / 475.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.3319, allocations: 474.2 kB / 476 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3319, allocations: 0 / 476 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3319, allocations: 7.938 kB / 476 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3319, allocations: 0 / 476 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.3326, allocations: 0.5039 MB / 476.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/0.3326, allocations: 16 kB / 476.6 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.3329, allocations: 47.89 kB / 476.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3329, allocations: 8.062 kB / 476.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3329, allocations: 11.98 kB / 476.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3329, allocations: 7.938 kB / 476.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3329, allocations: 3.938 kB / 476.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3339, allocations: 458.5 kB / 477.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.3342, allocations: 123.2 kB / 477.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3343, allocations: 8 kB / 477.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.3346, allocations: 27.95 kB / 477.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.3347, allocations: 31.95 kB / 477.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.3347, allocations: 12 kB / 477.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007528/0.3354, allocations: 0.5881 MB / 477.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3354, allocations: 0 / 477.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007084/0.3362, allocations: 219.7 kB / 478.1 MB, free: 7.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00209/0.3382, allocations: 1.363 MB / 479.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3392, allocations: 338.3 kB / 479.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3392, allocations: 0 / 479.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.3397, allocations: 173.8 kB / 479.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008595/0.3406, allocations: 172.4 kB / 480.1 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009658/0.3502, allocations: 5.794 MB / 485.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.3506, allocations: 366.4 kB / 486.3 MB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.351, allocations: 106 kB / 486.4 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/0.3514, allocations: 323.3 kB / 486.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3514, allocations: 0 / 486.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.4056, allocations: 23.33 MB / 0.4981 GB, free: 7.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.88, allocations: 19.94 kB / 0.4981 GB, free: 7.496 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.352767834090628] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 14.058089677011594 14.078208024 13.767577049 Calling exit ...