Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.001223/0.001223, 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.00135/0.00135, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.358/1.358, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 43.92 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2408, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006131/0.2469, allocations: 4.897 MB / 436.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.2668, allocations: 16.63 MB / 453.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007758/0.2676, allocations: 35.62 kB / 453.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.2696, allocations: 0.7198 MB / 454.1 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.2743, allocations: 1.602 MB / 455.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.278, allocations: 1.285 MB / 457 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.281, allocations: 1.825 MB / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.2812, allocations: 110.2 kB / 459 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.2817, allocations: 374.3 kB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.2822, allocations: 365.8 kB / 459.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.2823, allocations: 32 kB / 459.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.285, allocations: 1.198 MB / 460.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2851, allocations: 123.2 kB / 461 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.2855, allocations: 322 kB / 461.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.2877, allocations: 1.623 MB / 463 MB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2877, allocations: 0 / 463 MB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2878, allocations: 0 / 463 MB, free: 7.391 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2878, allocations: 0 / 463 MB, free: 7.391 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.002073/0.2898, allocations: 1.337 MB / 464.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2899, allocations: 16.03 kB / 464.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.715e-05/0.2899, allocations: 4.5 kB / 464.3 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/0.29, allocations: 62.53 kB / 464.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.2901, allocations: 127.1 kB / 464.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2912, allocations: 0.7149 MB / 465.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.2912, allocations: 16.5 kB / 465.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.652e-05/0.2913, allocations: 24 kB / 465.3 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.292, allocations: 340.8 kB / 465.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.292, allocations: 0 / 465.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.2921, allocations: 15.88 kB / 465.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.2921, allocations: 8 kB / 465.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008756/0.2929, allocations: 349.9 kB / 466 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.2948, allocations: 1.108 MB / 467.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.2956, allocations: 248.7 kB / 467.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.2961, allocations: 211.8 kB / 467.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006517/0.3026, allocations: 3.618 MB / 471.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005196/0.3031, allocations: 207.1 kB / 471.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.3031, allocations: 0 / 471.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001335/0.3045, allocations: 492.6 kB / 471.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.3045, allocations: 63.34 kB / 471.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3056, allocations: 0.8786 MB / 472.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.3056, allocations: 37.64 kB / 472.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.306, allocations: 476.7 kB / 473.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.387e-05/0.3061, allocations: 59.59 kB / 473.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.3062, allocations: 89.38 kB / 473.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3064, allocations: 321.9 kB / 473.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.3068, allocations: 123.9 kB / 473.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.3073, allocations: 265.8 kB / 474.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.3082, allocations: 389.6 kB / 474.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3082, allocations: 0 / 474.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001086/0.3092, allocations: 0.5079 MB / 475 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3093, allocations: 8.094 kB / 475 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/0.3093, allocations: 27.98 kB / 475 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.3093, allocations: 8 kB / 475 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3097, allocations: 83.88 kB / 475.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.3097, allocations: 15.88 kB / 475.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.3101, allocations: 51.7 kB / 475.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.3101, allocations: 24 kB / 475.2 MB, free: 10.68 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.0002832/0.3104, allocations: 217.6 kB / 475.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.3105, allocations: 111.3 kB / 475.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3117, allocations: 467.5 kB / 476 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3117, allocations: 0 / 476 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3118, allocations: 7.922 kB / 476 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3118, allocations: 0 / 476 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.3124, allocations: 0.5117 MB / 476.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.3124, allocations: 28.05 kB / 476.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.3126, allocations: 39.95 kB / 476.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3126, allocations: 4 kB / 476.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.3127, allocations: 4 kB / 476.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3127, allocations: 4 kB / 476.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3127, allocations: 7.875 kB / 476.6 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.3136, allocations: 448.9 kB / 477 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.3138, allocations: 127.2 kB / 477.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.314, allocations: 11.98 kB / 477.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.3142, allocations: 23.97 kB / 477.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.3143, allocations: 35.95 kB / 477.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.3144, allocations: 12 kB / 477.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.3151, allocations: 0.592 MB / 477.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3151, allocations: 3.938 kB / 477.8 MB, free: 7.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006159/0.3157, allocations: 219.7 kB / 478 MB, free: 7.734 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.001899/0.3176, allocations: 1.359 MB / 479.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.3185, allocations: 342.3 kB / 479.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3185, allocations: 0 / 479.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.319, allocations: 165.5 kB / 479.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.3197, allocations: 178.3 kB / 480.1 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008607/0.3283, allocations: 5.81 MB / 485.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3287, allocations: 370.4 kB / 486.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003208/0.329, allocations: 98.02 kB / 486.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.3294, allocations: 319.3 kB / 486.6 MB, free: 14.79 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3294, allocations: 0 / 486.6 MB, free: 14.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/0.3796, allocations: 23.34 MB / 0.498 GB, free: 7.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.09, allocations: 14.86 kB / 0.498 GB, free: 7.75 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.383389262948185] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 13.264316738932393 13.27856268 12.987923811 Calling exit ...