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.001863/0.001863, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001669/0.001669, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 8 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.001992/0.001992, allocations: 59.91 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007333/0.307, allocations: 5.594 MB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02732/0.3343, allocations: 19.53 MB / 457.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.3355, allocations: 39.62 kB / 457.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.3385, allocations: 0.8301 MB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006625/0.3451, allocations: 1.614 MB / 459.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005212/0.3503, allocations: 1.328 MB / 460.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003634/0.3539, allocations: 1.828 MB / 462.7 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.3543, allocations: 113.5 kB / 462.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007233/0.355, allocations: 366.4 kB / 463.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.3557, allocations: 369.8 kB / 463.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/0.3557, allocations: 32 kB / 463.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/0.3603, allocations: 1.444 MB / 465 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.3606, allocations: 119.3 kB / 465.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.3613, allocations: 429.3 kB / 465.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.3662, allocations: 1.615 MB / 467.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3662, allocations: 0 / 467.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3662, allocations: 0 / 467.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.3662, allocations: 0 / 467.2 MB, free: 3.328 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.002916/0.3691, allocations: 1.341 MB / 468.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.3692, allocations: 15.97 kB / 468.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.611e-05/0.3692, allocations: 4.5 kB / 468.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.12e-05/0.3693, allocations: 62.55 kB / 468.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.3695, allocations: 131.1 kB / 468.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.3709, allocations: 0.7071 MB / 469.4 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3709, allocations: 20.48 kB / 469.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.371, allocations: 24 kB / 469.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.3719, allocations: 328.8 kB / 469.8 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3719, allocations: 8 kB / 469.8 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.3719, allocations: 11.94 kB / 469.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.3719, allocations: 11.98 kB / 469.8 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.3729, allocations: 337.9 kB / 470.2 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.3754, allocations: 1.19 MB / 471.4 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.3763, allocations: 250.6 kB / 471.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005651/0.3768, allocations: 209 kB / 471.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008199/0.385, allocations: 3.653 MB / 475.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006245/0.3857, allocations: 205.9 kB / 475.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 4.008e-06/0.3857, allocations: 0 / 475.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001631/0.3873, allocations: 492.6 kB / 476.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.3874, allocations: 67.33 kB / 476.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.3888, allocations: 0.8786 MB / 477.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.3889, allocations: 29.7 kB / 477.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.3893, allocations: 472.7 kB / 477.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.3894, allocations: 59.58 kB / 477.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3896, allocations: 89.39 kB / 477.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3898, allocations: 318 kB / 478 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.3902, allocations: 131.8 kB / 478.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.3907, allocations: 249.9 kB / 478.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.3916, allocations: 405.1 kB / 478.8 MB, free: 7.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3916, allocations: 4 kB / 478.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001327/0.3929, allocations: 0.5041 MB / 479.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.393, allocations: 8.625 kB / 479.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.971e-05/0.393, allocations: 24 kB / 479.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.393, allocations: 8 kB / 479.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.3934, allocations: 83.88 kB / 479.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.3934, allocations: 15.86 kB / 479.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.394, allocations: 51.75 kB / 479.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.394, allocations: 24 kB / 479.5 MB, free: 6.516 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.0004503/0.3945, allocations: 212.8 kB / 479.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3947, allocations: 115.2 kB / 479.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.3961, allocations: 475.4 kB / 480.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.3961, allocations: 4 kB / 480.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.3961, allocations: 3.938 kB / 480.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3961, allocations: 0 / 480.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/0.3971, allocations: 0.5389 MB / 480.8 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/0.3971, allocations: 20 kB / 480.9 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3974, allocations: 43.95 kB / 480.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.3974, allocations: 3.984 kB / 480.9 MB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.3975, allocations: 8 kB / 480.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3975, allocations: 0 / 480.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3975, allocations: 7.938 kB / 480.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3986, allocations: 457 kB / 481.4 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.399, allocations: 127.1 kB / 481.5 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.3991, allocations: 8 kB / 481.5 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.3994, allocations: 27.95 kB / 481.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3995, allocations: 31.95 kB / 481.6 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.3996, allocations: 12 kB / 481.6 MB, free: 4.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008501/0.4004, allocations: 0.592 MB / 482.2 MB, free: 3.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4004, allocations: 0 / 482.2 MB, free: 3.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008536/0.4013, allocations: 223.7 kB / 482.4 MB, free: 3.547 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.002313/0.4036, allocations: 1.351 MB / 483.7 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4047, allocations: 337.9 kB / 484.1 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4047, allocations: 0 / 484.1 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004929/0.4052, allocations: 178.1 kB / 484.2 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4063, allocations: 172.5 kB / 484.4 MB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.4176, allocations: 5.813 MB / 490.2 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.4183, allocations: 0.9563 MB / 491.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003922/0.4187, allocations: 98.02 kB / 491.3 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.4192, allocations: 319.3 kB / 491.6 MB, free: 10 MB / 398.1 MB Notification: Performance of SimCode: time 1.943e-06/0.4192, allocations: 0 / 491.6 MB, free: 10 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/0.4766, allocations: 22.67 MB / 0.5022 GB, free: 3.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.22, allocations: 4.062 kB / 0.5022 GB, free: 3.5 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.671459090022836] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 14.397228726011235 14.413747423 14.043526926 Calling exit ...