Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 215 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 254.8 MB, free: 15.24 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 47.92 kB / 373.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1027, allocations: 53.33 MB / 427 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.2023/0.305, allocations: 5.565 MB / 432.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.3227, allocations: 19.52 MB / 452.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008148/0.3235, allocations: 36.09 kB / 452.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.3259, allocations: 0.8296 MB / 453 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.3313, allocations: 1.601 MB / 454.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004587/0.3358, allocations: 1.306 MB / 455.9 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.3392, allocations: 1.816 MB / 457.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.3395, allocations: 116.9 kB / 457.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.34, allocations: 371.2 kB / 458.2 MB, free: 8.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.3405, allocations: 363.2 kB / 458.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.686e-05/0.3405, allocations: 32.12 kB / 458.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.3446, allocations: 1.44 MB / 460 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3448, allocations: 124 kB / 460.1 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.3453, allocations: 426.2 kB / 460.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.3488, allocations: 1.61 MB / 462.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3488, allocations: 0 / 462.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3488, allocations: 0 / 462.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3488, allocations: 0 / 462.1 MB, free: 7.043 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.002442/0.3512, allocations: 1.417 MB / 463.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3513, allocations: 9.344 kB / 463.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.351e-05/0.3513, allocations: 9.625 kB / 463.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.75e-05/0.3514, allocations: 66.77 kB / 463.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.3516, allocations: 128.3 kB / 463.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3527, allocations: 0.7841 MB / 464.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.3527, allocations: 17.78 kB / 464.6 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.3528, allocations: 25.28 kB / 464.6 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007953/0.3536, allocations: 342.1 kB / 464.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3536, allocations: 0 / 464.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.3536, allocations: 14.28 kB / 464.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3536, allocations: 6.156 kB / 464.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.3545, allocations: 344 kB / 465.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.3567, allocations: 1.244 MB / 466.5 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.3576, allocations: 246.6 kB / 466.8 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.3581, allocations: 207.1 kB / 467 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008985/0.3671, allocations: 7.917 MB / 474.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.3677, allocations: 207.9 kB / 475.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.695e-06/0.3677, allocations: 3.938 kB / 475.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001455/0.3691, allocations: 0.4887 MB / 475.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.3692, allocations: 67.03 kB / 475.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3703, allocations: 0.8848 MB / 476.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3703, allocations: 28.2 kB / 476.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.3707, allocations: 464 kB / 477 MB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.3708, allocations: 61.39 kB / 477.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3709, allocations: 93.5 kB / 477.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3711, allocations: 321.5 kB / 477.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.3715, allocations: 115.5 kB / 477.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.372, allocations: 262.6 kB / 477.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.3729, allocations: 389.8 kB / 478.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3729, allocations: 2.344 kB / 478.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001069/0.374, allocations: 0.5009 MB / 478.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.374, allocations: 9.281 kB / 478.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.374, allocations: 24.84 kB / 478.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.374, allocations: 6.469 kB / 478.8 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.3744, allocations: 91.02 kB / 478.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.3744, allocations: 11.47 kB / 478.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.3748, allocations: 50.38 kB / 478.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3749, allocations: 23.03 kB / 478.9 MB, free: 9.906 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.000258/0.3751, allocations: 219.8 kB / 479.2 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3752, allocations: 118 kB / 479.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.3764, allocations: 459.5 kB / 479.7 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3765, allocations: 2.156 kB / 479.7 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3765, allocations: 3.938 kB / 479.7 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3765, allocations: 0 / 479.7 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.3771, allocations: 0.5726 MB / 480.3 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.852e-05/0.3772, allocations: 20.62 kB / 480.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.3774, allocations: 40.52 kB / 480.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3774, allocations: 1.219 kB / 480.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3774, allocations: 7.781 kB / 480.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3774, allocations: 5.062 kB / 480.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3774, allocations: 6.625 kB / 480.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.3784, allocations: 454.4 kB / 480.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.3787, allocations: 205 kB / 481 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-05/0.3788, allocations: 7.406 kB / 481 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.3791, allocations: 33.23 kB / 481.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.3792, allocations: 26.97 kB / 481.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3792, allocations: 16.62 kB / 481.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006868/0.3799, allocations: 0.5872 MB / 481.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3799, allocations: 7.938 kB / 481.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006849/0.3806, allocations: 220.9 kB / 481.9 MB, free: 8.055 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.001961/0.3825, allocations: 1.369 MB / 483.3 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009744/0.3835, allocations: 325.8 kB / 483.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3835, allocations: 7.938 kB / 483.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.384, allocations: 182.3 kB / 483.8 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.3848, allocations: 172.1 kB / 484 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/0.3935, allocations: 5.806 MB / 489.8 MB, free: 256 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.3941, allocations: 0.9603 MB / 490.7 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.3944, allocations: 90.83 kB / 490.8 MB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.3947, allocations: 327.3 kB / 491.1 MB, free: 14.85 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3947, allocations: 0 / 491.1 MB, free: 14.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06764/0.4624, allocations: 22.41 MB / 0.5015 GB, free: 8.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.52, allocations: 11.81 kB / 0.5015 GB, free: 8.711 MB / 414.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.884217070008162] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 10.664564627979416 10.687209566 10.334167228 Calling exit ...