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.0013/0.0013, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.0014/0.0014, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.444/1.444, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.001853/0.001853, allocations: 59.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1027, allocations: 53.38 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2097/0.3124, allocations: 5.569 MB / 432.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.3313, allocations: 19.53 MB / 452.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.3325, allocations: 36.59 kB / 452.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.3356, allocations: 0.8252 MB / 453 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007715/0.3433, allocations: 1.595 MB / 454.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007961/0.3513, allocations: 1.307 MB / 455.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005658/0.3569, allocations: 1.833 MB / 457.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.3573, allocations: 111.3 kB / 457.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008504/0.3581, allocations: 368.2 kB / 458.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.3588, allocations: 359.2 kB / 458.6 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.875e-05/0.3589, allocations: 36.81 kB / 458.6 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006557/0.3654, allocations: 1.447 MB / 460 MB, free: 7.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.3657, allocations: 111.1 kB / 460.2 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.3664, allocations: 431.2 kB / 460.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.3707, allocations: 1.608 MB / 462.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3707, allocations: 1.031 kB / 462.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3707, allocations: 1.094 kB / 462.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.3707, allocations: 0 / 462.2 MB, free: 6.777 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.003398/0.3741, allocations: 1.423 MB / 463.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3741, allocations: 10.12 kB / 463.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.415e-05/0.3742, allocations: 7.031 kB / 463.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.362e-05/0.3743, allocations: 60.58 kB / 463.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.3745, allocations: 129.8 kB / 463.8 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.376, allocations: 0.783 MB / 464.6 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.376, allocations: 19.52 kB / 464.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.3761, allocations: 24.33 kB / 464.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.3772, allocations: 336.9 kB / 465 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.3772, allocations: 0 / 465 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.3773, allocations: 14.31 kB / 465 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.3773, allocations: 8.266 kB / 465 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.3786, allocations: 352.6 kB / 465.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.3813, allocations: 1.241 MB / 466.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3824, allocations: 242.7 kB / 466.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007129/0.3832, allocations: 208.8 kB / 467 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.3956, allocations: 7.915 MB / 474.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007919/0.3964, allocations: 211.6 kB / 475.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 3.527e-06/0.3964, allocations: 0 / 475.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.002094/0.3985, allocations: 490.7 kB / 475.6 MB, free: 11.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.3986, allocations: 62.72 kB / 475.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.4002, allocations: 0.8855 MB / 476.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.4002, allocations: 30.92 kB / 476.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.4007, allocations: 473 kB / 477.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.4008, allocations: 60.89 kB / 477.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.401, allocations: 90.72 kB / 477.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4012, allocations: 316.5 kB / 477.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.4017, allocations: 123.6 kB / 477.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.4024, allocations: 261.9 kB / 477.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.4036, allocations: 386.8 kB / 478.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4036, allocations: 5.156 kB / 478.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0016/0.4052, allocations: 0.5085 MB / 478.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4053, allocations: 13.42 kB / 478.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.594e-05/0.4053, allocations: 22.88 kB / 478.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.4053, allocations: 5.031 kB / 478.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.4058, allocations: 84.69 kB / 478.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.4058, allocations: 12.91 kB / 478.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.4065, allocations: 57.16 kB / 479 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.4065, allocations: 26.48 kB / 479 MB, free: 9.598 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.0003617/0.4069, allocations: 206.1 kB / 479.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4071, allocations: 117.2 kB / 479.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.4088, allocations: 464.7 kB / 479.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4088, allocations: 5.547 kB / 479.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.4088, allocations: 9.562 kB / 479.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4088, allocations: 0 / 479.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.4096, allocations: 0.5693 MB / 480.4 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/0.4096, allocations: 14.56 kB / 480.4 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4098, allocations: 44.33 kB / 480.4 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4099, allocations: 1.375 kB / 480.4 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.4099, allocations: 12.3 kB / 480.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.4099, allocations: 5.281 kB / 480.4 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4099, allocations: 6.344 kB / 480.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.411, allocations: 448.5 kB / 480.9 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.4114, allocations: 204.7 kB / 481.1 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.4115, allocations: 10.42 kB / 481.1 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.4118, allocations: 26.31 kB / 481.1 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4119, allocations: 28.09 kB / 481.1 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.412, allocations: 17.98 kB / 481.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008657/0.4129, allocations: 0.5894 MB / 481.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4129, allocations: 3.938 kB / 481.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001182/0.414, allocations: 219.9 kB / 482 MB, free: 7.754 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.002275/0.4163, allocations: 1.355 MB / 483.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.4174, allocations: 338.4 kB / 483.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4174, allocations: 0 / 483.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.4179, allocations: 177.6 kB / 483.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.4187, allocations: 182.5 kB / 484 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009192/0.4279, allocations: 5.81 MB / 489.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.4285, allocations: 0.9563 MB / 490.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003205/0.4289, allocations: 102.8 kB / 490.9 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.4292, allocations: 319.3 kB / 491.2 MB, free: 14.56 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4292, allocations: 0 / 491.2 MB, free: 14.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/0.4782, allocations: 22.4 MB / 0.5015 GB, free: 8.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.18, allocations: 4.062 kB / 0.5015 GB, free: 8.363 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.602942895959131] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 11.321618777990807 11.348848263 10.97269941 Calling exit ...