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.001672/0.001672, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.002189/0.002189, allocations: 214 kB / 23 MB, free: 5.582 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.508/1.508, allocations: 230.4 MB / 256.5 MB, free: 8.238 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.001914/0.001914, allocations: 71.83 kB / 376.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2873, allocations: 53.31 MB / 429.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.008218/0.2955, allocations: 5.601 MB / 435.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02818/0.3237, allocations: 19.52 MB / 454.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.325, allocations: 31.75 kB / 454.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.3285, allocations: 0.8296 MB / 455.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008843/0.3373, allocations: 1.604 MB / 457.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.344, allocations: 1.327 MB / 458.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003879/0.3478, allocations: 1.819 MB / 460.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.3482, allocations: 109.2 kB / 460.4 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006356/0.3488, allocations: 366.3 kB / 460.7 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.3493, allocations: 361.8 kB / 461.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.05e-05/0.3494, allocations: 32 kB / 461.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.3537, allocations: 1.443 MB / 462.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3539, allocations: 115.3 kB / 462.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.3545, allocations: 429.3 kB / 463.1 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.3583, allocations: 1.611 MB / 464.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3584, allocations: 0 / 464.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3584, allocations: 0 / 464.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.3584, allocations: 0 / 464.7 MB, free: 4.09 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.002612/0.361, allocations: 1.424 MB / 466.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/0.3611, allocations: 8.031 kB / 466.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.3611, allocations: 58.55 kB / 466.2 MB, free: 2.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.3613, allocations: 139.1 kB / 466.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.3625, allocations: 0.7831 MB / 467.1 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3625, allocations: 20.55 kB / 467.1 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.3626, allocations: 24 kB / 467.1 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.3634, allocations: 328.7 kB / 467.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3634, allocations: 0 / 467.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.3634, allocations: 12 kB / 467.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3634, allocations: 15.92 kB / 467.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.3643, allocations: 338 kB / 467.8 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.3667, allocations: 1.249 MB / 469.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/0.3675, allocations: 242.6 kB / 469.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.368, allocations: 216.9 kB / 469.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009599/0.3776, allocations: 7.91 MB / 477.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.3783, allocations: 207.1 kB / 477.6 MB, free: 5.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 4.439e-06/0.3783, allocations: 7.984 kB / 477.6 MB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001532/0.3798, allocations: 492.6 kB / 478.1 MB, free: 5.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.3799, allocations: 63.34 kB / 478.2 MB, free: 5.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3811, allocations: 0.8824 MB / 479.1 MB, free: 4.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.3811, allocations: 29.7 kB / 479.1 MB, free: 4.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/0.3816, allocations: 472.8 kB / 479.5 MB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.3816, allocations: 55.59 kB / 479.6 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.3818, allocations: 89.38 kB / 479.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3819, allocations: 318 kB / 480 MB, free: 3.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.3823, allocations: 131.8 kB / 480.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.3828, allocations: 257.8 kB / 480.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.3837, allocations: 400.8 kB / 480.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.3837, allocations: 4 kB / 480.8 MB, free: 2.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001162/0.3849, allocations: 0.5042 MB / 481.3 MB, free: 2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3849, allocations: 10.75 kB / 481.3 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/0.3849, allocations: 24 kB / 481.3 MB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3849, allocations: 4.562 kB / 481.3 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.3853, allocations: 87.88 kB / 481.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.3853, allocations: 15.88 kB / 481.4 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.3858, allocations: 55.73 kB / 481.5 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.3858, allocations: 20 kB / 481.5 MB, free: 1.789 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.0003436/0.3862, allocations: 213.7 kB / 481.7 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.3863, allocations: 115.2 kB / 481.8 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.3876, allocations: 469.4 kB / 482.3 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3876, allocations: 0 / 482.3 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3876, allocations: 7.938 kB / 482.3 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3876, allocations: 0 / 482.3 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.3884, allocations: 0.5594 MB / 482.8 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/0.3884, allocations: 20.06 kB / 482.9 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.3886, allocations: 51.88 kB / 482.9 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3887, allocations: 4 kB / 482.9 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.3887, allocations: 7.984 kB / 482.9 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3887, allocations: 4 kB / 482.9 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3887, allocations: 3.938 kB / 482.9 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3897, allocations: 447.2 kB / 483.4 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/0.39, allocations: 212.2 kB / 483.6 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.3901, allocations: 8 kB / 483.6 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.3904, allocations: 27.97 kB / 483.6 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3905, allocations: 31.95 kB / 483.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3905, allocations: 8 kB / 483.6 MB, free: 15.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007636/0.3913, allocations: 0.592 MB / 484.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3913, allocations: 0 / 484.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007065/0.392, allocations: 219.7 kB / 484.5 MB, free: 14.7 MB / 398.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.002101/0.3941, allocations: 1.364 MB / 485.8 MB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3951, allocations: 341.5 kB / 486.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3951, allocations: 0 / 486.1 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.3956, allocations: 173.4 kB / 486.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.3965, allocations: 180.6 kB / 486.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009973/0.4065, allocations: 5.806 MB / 492.3 MB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.4071, allocations: 0.9563 MB / 493.3 MB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.4075, allocations: 109.9 kB / 493.4 MB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.4079, allocations: 319.3 kB / 493.7 MB, free: 5.137 MB / 398.1 MB Notification: Performance of SimCode: time 1.482e-06/0.4079, allocations: 4 kB / 493.7 MB, free: 5.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0563/0.4642, allocations: 22.37 MB / 0.504 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.56, allocations: 18.09 kB / 0.504 GB, free: 14.96 MB / 430.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 --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: 12.936633792007342] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 10.647391061997041 10.661380625 10.299416169 Calling exit ...