Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 371.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2505, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006718/0.2573, allocations: 5.589 MB / 429 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02241/0.2797, allocations: 19.49 MB / 448.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008005/0.2805, allocations: 35.62 kB / 448.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.2827, allocations: 0.8236 MB / 449.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.2879, allocations: 1.625 MB / 451 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.2919, allocations: 1.324 MB / 452.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003171/0.295, allocations: 1.805 MB / 454.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.2953, allocations: 117.5 kB / 454.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005779/0.2959, allocations: 366.4 kB / 454.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004896/0.2964, allocations: 365.8 kB / 454.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.2964, allocations: 32 kB / 455 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003771/0.3002, allocations: 1.436 MB / 456.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3004, allocations: 127.2 kB / 456.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.3008, allocations: 429.4 kB / 456.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.3034, allocations: 1.607 MB / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3034, allocations: 0 / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3034, allocations: 0 / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3034, allocations: 0 / 458.5 MB, free: 11.32 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.002252/0.3056, allocations: 1.341 MB / 459.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3057, allocations: 12.03 kB / 459.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.594e-05/0.3057, allocations: 12.44 kB / 459.9 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.3058, allocations: 62.47 kB / 460 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.306, allocations: 127.2 kB / 460.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.307, allocations: 0.6994 MB / 460.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.3071, allocations: 12.5 kB / 460.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.3071, allocations: 27.95 kB / 460.8 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.3079, allocations: 348.8 kB / 461.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3079, allocations: 0 / 461.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.308, allocations: 15.88 kB / 461.2 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.308, allocations: 8 kB / 461.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.3089, allocations: 345.9 kB / 461.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.3109, allocations: 1.178 MB / 462.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/0.3117, allocations: 250.6 kB / 463 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.3122, allocations: 208.9 kB / 463.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006766/0.319, allocations: 3.645 MB / 466.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.3196, allocations: 211 kB / 467 MB, free: 2.562 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/0.3196, allocations: 0 / 467 MB, free: 2.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00146/0.321, allocations: 0.4906 MB / 467.5 MB, free: 2.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3211, allocations: 59.34 kB / 467.6 MB, free: 2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3221, allocations: 0.8786 MB / 468.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.3221, allocations: 37.69 kB / 468.5 MB, free: 1.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.3225, allocations: 468.7 kB / 468.9 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.3226, allocations: 67.5 kB / 469 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3227, allocations: 81.61 kB / 469.1 MB, free: 464 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3229, allocations: 322 kB / 469.4 MB, free: 136 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.3233, allocations: 119.9 kB / 469.5 MB, free: 16 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.3238, allocations: 261.8 kB / 469.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.3247, allocations: 391.3 kB / 470.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3247, allocations: 0 / 470.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001116/0.3258, allocations: 0.5065 MB / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3258, allocations: 4 kB / 470.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.3258, allocations: 28 kB / 470.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3259, allocations: 4 kB / 470.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3262, allocations: 87.81 kB / 470.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.3262, allocations: 11.94 kB / 470.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3266, allocations: 63.62 kB / 470.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.3266, allocations: 24.03 kB / 470.9 MB, free: 14.52 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.0002653/0.3269, allocations: 205.7 kB / 471.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.327, allocations: 115.3 kB / 471.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.3283, allocations: 463.5 kB / 471.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3283, allocations: 0 / 471.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3283, allocations: 3.938 kB / 471.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3283, allocations: 8 kB / 471.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.3289, allocations: 0.5428 MB / 472.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.3289, allocations: 16 kB / 472.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.3292, allocations: 47.83 kB / 472.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3292, allocations: 4 kB / 472.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.3292, allocations: 11.98 kB / 472.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3292, allocations: 4 kB / 472.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3292, allocations: 8 kB / 472.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.3302, allocations: 439.3 kB / 472.7 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.3305, allocations: 135.1 kB / 472.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.3306, allocations: 0 / 472.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.3308, allocations: 31.95 kB / 472.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.331, allocations: 31.89 kB / 472.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.331, allocations: 16 kB / 472.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006878/0.3317, allocations: 0.592 MB / 473.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 0 / 473.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006195/0.3323, allocations: 219.7 kB / 473.7 MB, free: 11.56 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.001948/0.3342, allocations: 1.358 MB / 475.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009914/0.3352, allocations: 340.5 kB / 475.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.3352, allocations: 1.25 kB / 475.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.3357, allocations: 177.6 kB / 475.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.3365, allocations: 172.4 kB / 475.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008706/0.3452, allocations: 5.805 MB / 481.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/0.3458, allocations: 0.9563 MB / 482.5 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.3461, allocations: 106 kB / 482.6 MB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.3465, allocations: 319.3 kB / 482.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3465, allocations: 0 / 482.9 MB, free: 2.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.3994, allocations: 22.64 MB / 0.4937 GB, free: 11.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.24, allocations: 8.703 kB / 0.4937 GB, free: 11.61 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.0101e-09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.56062435801141] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 13.406824123987462 13.423174933 13.11658768 Calling exit ...