Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006033/0.006033, allocations: 101.4 kB / 21.96 MB, free: 5.211 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.001654/0.001654, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 51.92 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005031/0.2596, allocations: 4.768 MB / 401.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.2764, allocations: 15.79 MB / 417.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2774, allocations: 40.84 kB / 417.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.2797, allocations: 0.6906 MB / 418.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.285, allocations: 1.578 MB / 420 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004676/0.2897, allocations: 1.252 MB / 421.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.2931, allocations: 1.772 MB / 423 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.2934, allocations: 111.2 kB / 423.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005777/0.2939, allocations: 342.1 kB / 423.5 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.2944, allocations: 363.7 kB / 423.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.2945, allocations: 31.62 kB / 423.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.2976, allocations: 1.072 MB / 424.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2977, allocations: 119.2 kB / 425 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.2981, allocations: 328.5 kB / 425.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.3011, allocations: 1.633 MB / 427 MB, free: 5.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3011, allocations: 4 kB / 427 MB, free: 5.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3011, allocations: 0 / 427 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.3011, allocations: 0 / 427 MB, free: 5.184 MB / 334.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.002204/0.3033, allocations: 1.352 MB / 428.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3033, allocations: 15.98 kB / 428.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.881e-05/0.3034, allocations: 8.5 kB / 428.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.3034, allocations: 66.47 kB / 428.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.3036, allocations: 119.2 kB / 428.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.3046, allocations: 0.715 MB / 429.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3046, allocations: 16.44 kB / 429.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.3047, allocations: 31.98 kB / 429.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.3054, allocations: 340.8 kB / 429.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3054, allocations: 0 / 429.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.3055, allocations: 8 kB / 429.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3055, allocations: 8 kB / 429.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008655/0.3063, allocations: 345.9 kB / 430 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.3083, allocations: 1.108 MB / 431.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/0.3091, allocations: 254.5 kB / 431.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.3096, allocations: 217 kB / 431.6 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006652/0.3163, allocations: 3.637 MB / 435.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.3168, allocations: 199.2 kB / 435.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 4.859e-06/0.3168, allocations: 4 kB / 435.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001341/0.3182, allocations: 0.4888 MB / 435.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3182, allocations: 63.3 kB / 436 MB, free: 11.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3193, allocations: 0.8867 MB / 436.8 MB, free: 11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3193, allocations: 25.7 kB / 436.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.3197, allocations: 472.8 kB / 437.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/0.3198, allocations: 63.56 kB / 437.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3199, allocations: 81.61 kB / 437.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.32, allocations: 322 kB / 437.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.3204, allocations: 127.9 kB / 437.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.3209, allocations: 257.9 kB / 438.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.3217, allocations: 389.6 kB / 438.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.3217, allocations: 4 kB / 438.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001076/0.3228, allocations: 0.5043 MB / 439 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3228, allocations: 8 kB / 439.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/0.3228, allocations: 20 kB / 439.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.3229, allocations: 8 kB / 439.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.3232, allocations: 84.34 kB / 439.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.3232, allocations: 15.98 kB / 439.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.3236, allocations: 51.75 kB / 439.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.3237, allocations: 20 kB / 439.3 MB, free: 8.43 MB / 350.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.0003009/0.324, allocations: 217.6 kB / 439.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3241, allocations: 123.2 kB / 439.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.3253, allocations: 464.2 kB / 440 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3253, allocations: 4 kB / 440 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3253, allocations: 0 / 440 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3253, allocations: 0 / 440 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.326, allocations: 0.5157 MB / 440.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/0.326, allocations: 19.94 kB / 440.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.3263, allocations: 43.89 kB / 440.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3263, allocations: 64 / 440.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.3263, allocations: 23.98 kB / 440.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3263, allocations: 4 kB / 440.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3263, allocations: 0 / 440.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009435/0.3272, allocations: 459.1 kB / 441.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3275, allocations: 127.2 kB / 441.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3276, allocations: 8 kB / 441.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.3279, allocations: 23.95 kB / 441.3 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.328, allocations: 43.83 kB / 441.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.328, allocations: 12 kB / 441.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.3287, allocations: 0.5922 MB / 441.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3287, allocations: 0 / 441.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006764/0.3294, allocations: 227.6 kB / 442.1 MB, free: 5.461 MB / 350.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.002056/0.3315, allocations: 1.352 MB / 443.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009681/0.3324, allocations: 338.7 kB / 443.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3324, allocations: 3.938 kB / 443.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.3329, allocations: 181.6 kB / 444 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.3336, allocations: 140.5 kB / 444.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/0.3429, allocations: 5.826 MB / 449.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3432, allocations: 366.4 kB / 450.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003167/0.3436, allocations: 98.06 kB / 450.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.344, allocations: 327.3 kB / 450.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of SimCode: time 1.433e-06/0.344, allocations: 0 / 450.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.3977, allocations: 23.43 MB / 474.2 MB, free: 4.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.05, allocations: 3.938 kB / 474.2 MB, free: 4.984 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.291274435003288] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 13.219525478081778 13.234247196 12.930057269 Calling exit ...