Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001744/0.001744, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002268/0.002268, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.062 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-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 64.55 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 53.38 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007066/0.3141, allocations: 5.59 MB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.3397, allocations: 19.52 MB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.3407, allocations: 43.62 kB / 457.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.3435, allocations: 0.8276 MB / 457.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006084/0.3495, allocations: 1.613 MB / 459.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005131/0.3547, allocations: 1.328 MB / 460.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.3583, allocations: 1.817 MB / 462.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3586, allocations: 117.6 kB / 462.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006593/0.3593, allocations: 374.4 kB / 463.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.3599, allocations: 369.8 kB / 463.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.3599, allocations: 32 kB / 463.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004387/0.3643, allocations: 1.44 MB / 465 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.3646, allocations: 119.3 kB / 465.1 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006218/0.3652, allocations: 425.3 kB / 465.5 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.3692, allocations: 1.615 MB / 467.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.3692, allocations: 3.984 kB / 467.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3692, allocations: 0 / 467.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.3693, allocations: 0 / 467.1 MB, free: 3.566 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.002531/0.3718, allocations: 1.337 MB / 468.5 MB, free: 2.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3719, allocations: 12.03 kB / 468.5 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.408e-05/0.3719, allocations: 62.53 kB / 468.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.3721, allocations: 127.1 kB / 468.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3733, allocations: 0.711 MB / 469.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3733, allocations: 24.48 kB / 469.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.3734, allocations: 20 kB / 469.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007708/0.3741, allocations: 332.8 kB / 469.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3741, allocations: 0 / 469.7 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.3742, allocations: 15.98 kB / 469.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3742, allocations: 15.88 kB / 469.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008954/0.3751, allocations: 341.9 kB / 470.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.3772, allocations: 1.182 MB / 471.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.378, allocations: 250.5 kB / 471.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.3785, allocations: 214.2 kB / 471.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006953/0.3855, allocations: 3.653 MB / 475.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/0.386, allocations: 211.2 kB / 475.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.335e-06/0.386, allocations: 0 / 475.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001431/0.3874, allocations: 0.491 MB / 476.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3875, allocations: 63.34 kB / 476.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3886, allocations: 0.8786 MB / 477 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.3886, allocations: 29.7 kB / 477.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.3891, allocations: 476.7 kB / 477.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.3891, allocations: 55.59 kB / 477.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.3893, allocations: 89.38 kB / 477.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3894, allocations: 318 kB / 478 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.3897, allocations: 127.9 kB / 478.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.3902, allocations: 261.8 kB / 478.4 MB, free: 7.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.391, allocations: 395.5 kB / 478.7 MB, free: 7.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.391, allocations: 4 kB / 478.7 MB, free: 7.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001106/0.3922, allocations: 0.5003 MB / 479.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3922, allocations: 4 kB / 479.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.3922, allocations: 24 kB / 479.3 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.3922, allocations: 4.562 kB / 479.3 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.3926, allocations: 95.8 kB / 479.4 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.3926, allocations: 11.94 kB / 479.4 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.393, allocations: 51.69 kB / 479.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.3931, allocations: 24 kB / 479.5 MB, free: 6.758 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.0003192/0.3934, allocations: 217.7 kB / 479.7 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3935, allocations: 115.2 kB / 479.8 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.3947, allocations: 463.5 kB / 480.2 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3947, allocations: 0 / 480.2 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3947, allocations: 7.938 kB / 480.2 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3948, allocations: 3.984 kB / 480.2 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.3954, allocations: 0.5312 MB / 480.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.703e-05/0.3954, allocations: 16.06 kB / 480.8 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.3957, allocations: 51.89 kB / 480.8 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3957, allocations: 4 kB / 480.8 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.3957, allocations: 8 kB / 480.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3957, allocations: 0 / 480.9 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.3957, allocations: 3.938 kB / 480.9 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.3967, allocations: 454.3 kB / 481.3 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.397, allocations: 131.1 kB / 481.4 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.3971, allocations: 15.98 kB / 481.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3974, allocations: 23.97 kB / 481.5 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.3975, allocations: 31.95 kB / 481.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3975, allocations: 8 kB / 481.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007491/0.3982, allocations: 0.592 MB / 482.1 MB, free: 4.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 482.1 MB, free: 4.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.3989, allocations: 223.7 kB / 482.3 MB, free: 3.789 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.002048/0.401, allocations: 1.377 MB / 483.7 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009779/0.402, allocations: 334.4 kB / 484 MB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.402, allocations: 0 / 484 MB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.4024, allocations: 176.4 kB / 484.2 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4032, allocations: 168.7 kB / 484.4 MB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009258/0.4125, allocations: 5.802 MB / 490.2 MB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.4131, allocations: 0.9563 MB / 491.1 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.4135, allocations: 98.02 kB / 491.2 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.4139, allocations: 323.3 kB / 491.5 MB, free: 10.24 MB / 398.1 MB Notification: Performance of SimCode: time 1.803e-06/0.4139, allocations: 0 / 491.5 MB, free: 10.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0604/0.4743, allocations: 22.54 MB / 0.502 GB, free: 3.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.84, allocations: 11.78 kB / 0.502 GB, free: 3.91 MB / 414.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.280014737974852] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 10.926296116784215 10.955036613 10.580326282 Calling exit ...