Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 190.8 kB / 24.49 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.7 MB / 253.3 MB, free: 12.88 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 51.92 kB / 371.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2211, allocations: 52.18 MB / 423.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005954/0.227, allocations: 4.88 MB / 428.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01819/0.2452, allocations: 16.59 MB / 444.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.2459, allocations: 39.62 kB / 444.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.2478, allocations: 0.7121 MB / 445.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.2519, allocations: 1.606 MB / 447.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.2553, allocations: 1.278 MB / 448.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002706/0.258, allocations: 1.813 MB / 450.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.2582, allocations: 121.6 kB / 450.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.2587, allocations: 362.4 kB / 450.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.2591, allocations: 369.8 kB / 451.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.2592, allocations: 32 kB / 451.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.2616, allocations: 1.186 MB / 452.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.2617, allocations: 127.2 kB / 452.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003342/0.2621, allocations: 326 kB / 452.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.2642, allocations: 1.615 MB / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2642, allocations: 0 / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2642, allocations: 0 / 454.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2642, allocations: 3.938 kB / 454.4 MB, free: 15.25 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.001948/0.2661, allocations: 1.349 MB / 455.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2662, allocations: 8.031 kB / 455.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/0.2662, allocations: 8.5 kB / 455.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.58e-05/0.2662, allocations: 58.55 kB / 455.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2664, allocations: 127.2 kB / 455.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.2673, allocations: 0.7032 MB / 456.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2673, allocations: 24.48 kB / 456.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.2674, allocations: 19.94 kB / 456.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.2681, allocations: 340.8 kB / 457 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2681, allocations: 0 / 457 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.2682, allocations: 15.94 kB / 457 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2682, allocations: 7.984 kB / 457 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.269, allocations: 349.9 kB / 457.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.2708, allocations: 1.108 MB / 458.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.2715, allocations: 253.3 kB / 458.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.272, allocations: 217 kB / 458.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006092/0.2781, allocations: 3.606 MB / 462.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.2786, allocations: 209.6 kB / 462.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/0.2786, allocations: 0 / 462.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001259/0.2798, allocations: 0.4927 MB / 463.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.2799, allocations: 59.34 kB / 463.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.2808, allocations: 0.8747 MB / 464.2 MB, free: 5.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2809, allocations: 37.7 kB / 464.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.2812, allocations: 472.7 kB / 464.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.2813, allocations: 63.45 kB / 464.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2814, allocations: 89.59 kB / 464.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2816, allocations: 318 kB / 465.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.2819, allocations: 119.9 kB / 465.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.2824, allocations: 263.9 kB / 465.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.2831, allocations: 389.6 kB / 465.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.2831, allocations: 8 kB / 465.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009964/0.2841, allocations: 0.5022 MB / 466.4 MB, free: 2.762 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2842, allocations: 8 kB / 466.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.2842, allocations: 24 kB / 466.4 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2842, allocations: 8 kB / 466.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.2845, allocations: 83.8 kB / 466.5 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.2846, allocations: 11.94 kB / 466.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.2849, allocations: 59.94 kB / 466.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2849, allocations: 24 kB / 466.6 MB, free: 2.547 MB / 366.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.0002455/0.2852, allocations: 205.7 kB / 466.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2853, allocations: 111.3 kB / 466.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2864, allocations: 469.6 kB / 467.4 MB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.2864, allocations: 4 kB / 467.4 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2864, allocations: 3.938 kB / 467.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.2864, allocations: 7.984 kB / 467.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.287, allocations: 0.5116 MB / 467.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/0.287, allocations: 16 kB / 467.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.2872, allocations: 47.89 kB / 468 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2872, allocations: 4 kB / 468 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.2873, allocations: 15.92 kB / 468 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2873, allocations: 0 / 468 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2873, allocations: 3.938 kB / 468 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.2881, allocations: 446.7 kB / 468.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.2884, allocations: 127.1 kB / 468.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.2885, allocations: 8 kB / 468.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.2888, allocations: 31.95 kB / 468.6 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.2889, allocations: 35.89 kB / 468.6 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.2889, allocations: 12 kB / 468.6 MB, free: 436 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.2896, allocations: 0.592 MB / 469.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2896, allocations: 0 / 469.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.2902, allocations: 215.7 kB / 469.4 MB, free: 15.62 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.00181/0.292, allocations: 1.351 MB / 470.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.2929, allocations: 338.1 kB / 471.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2929, allocations: 4 kB / 471.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.2933, allocations: 173.9 kB / 471.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.294, allocations: 171.9 kB / 471.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/0.3022, allocations: 5.813 MB / 477.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3025, allocations: 366.4 kB / 477.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.3028, allocations: 102 kB / 477.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/0.3032, allocations: 319.3 kB / 478 MB, free: 6.668 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3032, allocations: 7.938 kB / 478.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/0.3512, allocations: 23.3 MB / 0.4896 GB, free: 15.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.41, allocations: 5.234 kB / 0.4896 GB, free: 15.66 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.606312023010105] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 13.582609461969696 13.600018411 13.332185023 Calling exit ...