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.001595/0.001595, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00222/0.00222, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002299/0.002299, allocations: 63.91 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2696, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.007459/0.2771, allocations: 5.594 MB / 437.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02436/0.3014, allocations: 19.52 MB / 457 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009191/0.3023, allocations: 43.62 kB / 457.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.3048, allocations: 0.8315 MB / 457.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006129/0.3109, allocations: 1.609 MB / 459.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.3159, allocations: 1.328 MB / 460.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003539/0.3195, allocations: 1.821 MB / 462.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.3198, allocations: 113.6 kB / 462.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006074/0.3204, allocations: 378.4 kB / 463.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005156/0.3209, allocations: 365.8 kB / 463.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.156e-05/0.321, allocations: 32 kB / 463.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/0.3253, allocations: 1.44 MB / 465 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.3255, allocations: 115.3 kB / 465.1 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.3261, allocations: 437.3 kB / 465.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.3298, allocations: 1.611 MB / 467.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3298, allocations: 0 / 467.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3298, allocations: 0 / 467.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3298, allocations: 0 / 467.1 MB, free: 3.535 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.002446/0.3323, allocations: 1.345 MB / 468.5 MB, free: 2.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3323, allocations: 12.03 kB / 468.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.19e-05/0.3324, allocations: 54.55 kB / 468.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.3326, allocations: 127.1 kB / 468.6 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3337, allocations: 0.7149 MB / 469.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3337, allocations: 16.5 kB / 469.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.3337, allocations: 23.98 kB / 469.4 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.3345, allocations: 336.8 kB / 469.7 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3346, allocations: 0 / 469.7 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.3346, allocations: 8 kB / 469.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3346, allocations: 11.94 kB / 469.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.3355, allocations: 349.9 kB / 470.1 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.3377, allocations: 1.182 MB / 471.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.3385, allocations: 250.6 kB / 471.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.3391, allocations: 216.5 kB / 471.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006961/0.346, allocations: 3.657 MB / 475.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.3466, allocations: 203.1 kB / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.384e-06/0.3466, allocations: 0 / 475.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001474/0.3481, allocations: 499.2 kB / 476.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.3481, allocations: 63.34 kB / 476.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3493, allocations: 0.8786 MB / 477 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.3493, allocations: 37.69 kB / 477.1 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.3498, allocations: 468.7 kB / 477.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.3499, allocations: 55.58 kB / 477.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.35, allocations: 89.38 kB / 477.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3502, allocations: 322 kB / 478 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.3506, allocations: 127.8 kB / 478.1 MB, free: 8.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.3511, allocations: 257.8 kB / 478.3 MB, free: 7.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.3519, allocations: 397.1 kB / 478.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.3519, allocations: 15.94 kB / 478.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001181/0.3531, allocations: 0.5003 MB / 479.2 MB, free: 6.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3531, allocations: 4 kB / 479.3 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-05/0.3532, allocations: 24 kB / 479.3 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.3532, allocations: 4.562 kB / 479.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.3536, allocations: 87.88 kB / 479.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.3536, allocations: 15.88 kB / 479.4 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.354, allocations: 55.73 kB / 479.4 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.354, allocations: 20 kB / 479.5 MB, free: 6.727 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.0003377/0.3544, allocations: 209.7 kB / 479.7 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3545, allocations: 123.2 kB / 479.8 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3557, allocations: 467.5 kB / 480.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3557, allocations: 0 / 480.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3557, allocations: 7.938 kB / 480.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3557, allocations: 0 / 480.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.3564, allocations: 0.535 MB / 480.8 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/0.3564, allocations: 20 kB / 480.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3567, allocations: 44.02 kB / 480.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3567, allocations: 4 kB / 480.8 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.3567, allocations: 15.98 kB / 480.9 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3567, allocations: 0 / 480.9 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3567, allocations: 3.938 kB / 480.9 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.3577, allocations: 443.2 kB / 481.3 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.3579, allocations: 143 kB / 481.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.358, allocations: 4 kB / 481.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.3583, allocations: 31.95 kB / 481.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3584, allocations: 27.97 kB / 481.5 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.3585, allocations: 15.98 kB / 481.5 MB, free: 4.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.3592, allocations: 0.5881 MB / 482.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3592, allocations: 0 / 482.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007341/0.36, allocations: 223.7 kB / 482.3 MB, free: 3.75 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.002075/0.3621, allocations: 1.358 MB / 483.7 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009841/0.363, allocations: 337.1 kB / 484 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.363, allocations: 0 / 484 MB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.3635, allocations: 185.4 kB / 484.2 MB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.3642, allocations: 164.7 kB / 484.3 MB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008934/0.3732, allocations: 5.802 MB / 490.2 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.3738, allocations: 0.9563 MB / 491.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.3741, allocations: 102 kB / 491.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.3745, allocations: 323.3 kB / 491.5 MB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3745, allocations: 0 / 491.5 MB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.4337, allocations: 22.55 MB / 0.502 GB, free: 3.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.13, allocations: 8.812 kB / 0.502 GB, free: 3.875 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.csv --start-time 0 --stop-time 1e-07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.0101e-09 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.749466378241777] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 11.22382098576054 11.251581015 10.916103604 Calling exit ...