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.00127/0.00127, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001346/0.001346, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001907/0.001907, allocations: 67.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, allocations: 53.32 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.238/0.3542, allocations: 5.555 MB / 432.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02126/0.3755, allocations: 19.52 MB / 452 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.3766, allocations: 28.03 kB / 452 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.3795, allocations: 0.8334 MB / 452.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00746/0.3869, allocations: 1.597 MB / 454.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.3931, allocations: 1.307 MB / 455.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.397, allocations: 1.82 MB / 457.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.3973, allocations: 111.8 kB / 457.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006997/0.398, allocations: 359.8 kB / 458 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.3985, allocations: 368 kB / 458.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/0.3986, allocations: 31.62 kB / 458.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005317/0.4039, allocations: 1.44 MB / 459.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.4041, allocations: 115.1 kB / 459.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006731/0.4048, allocations: 435 kB / 460.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.4087, allocations: 1.606 MB / 462 MB, free: 7.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4087, allocations: 4.562 kB / 462 MB, free: 7.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4087, allocations: 1.219 kB / 462 MB, free: 7.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.4087, allocations: 0 / 462 MB, free: 7.105 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.002596/0.4113, allocations: 1.423 MB / 463.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4114, allocations: 9 kB / 463.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/0.4115, allocations: 60.42 kB / 463.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.4116, allocations: 129.7 kB / 463.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.413, allocations: 0.7839 MB / 464.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.413, allocations: 18.56 kB / 464.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.4131, allocations: 23.52 kB / 464.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.4138, allocations: 339.2 kB / 464.8 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4139, allocations: 3.938 kB / 464.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.4139, allocations: 6.312 kB / 464.8 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4139, allocations: 13.69 kB / 464.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.4148, allocations: 344.4 kB / 465.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.417, allocations: 1.24 MB / 466.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.4178, allocations: 253.3 kB / 466.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.4183, allocations: 208.5 kB / 466.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.4287, allocations: 7.92 MB / 474.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006445/0.4293, allocations: 201.9 kB / 474.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 7.023e-06/0.4293, allocations: 1.078 kB / 474.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001718/0.4311, allocations: 496.9 kB / 475.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.4311, allocations: 58.38 kB / 475.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.4324, allocations: 0.8888 MB / 476.4 MB, free: 11.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.4324, allocations: 30.89 kB / 476.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.4329, allocations: 469.1 kB / 476.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.4329, allocations: 56.89 kB / 476.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.4331, allocations: 90.25 kB / 477 MB, free: 11.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4332, allocations: 321.6 kB / 477.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.4336, allocations: 119.2 kB / 477.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.4341, allocations: 258.2 kB / 477.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.4349, allocations: 387.4 kB / 478.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4349, allocations: 5.125 kB / 478.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001094/0.436, allocations: 0.5036 MB / 478.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.436, allocations: 6.75 kB / 478.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/0.4361, allocations: 25.22 kB / 478.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.4361, allocations: 6.312 kB / 478.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4365, allocations: 87.8 kB / 478.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.4365, allocations: 15.03 kB / 478.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.4369, allocations: 58.59 kB / 478.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.437, allocations: 18.81 kB / 478.8 MB, free: 9.945 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.0003209/0.4373, allocations: 210.3 kB / 479 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.4374, allocations: 117.2 kB / 479.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.4386, allocations: 475.3 kB / 479.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.4386, allocations: 2.875 kB / 479.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4386, allocations: 3.938 kB / 479.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4386, allocations: 3.984 kB / 479.6 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.4393, allocations: 0.5592 MB / 480.1 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/0.4394, allocations: 23.19 kB / 480.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4396, allocations: 48.36 kB / 480.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4396, allocations: 1.312 kB / 480.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4396, allocations: 11.38 kB / 480.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.4396, allocations: 1.438 kB / 480.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4396, allocations: 4.469 kB / 480.2 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.4406, allocations: 453 kB / 480.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.441, allocations: 205.3 kB / 480.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.4411, allocations: 3.938 kB / 480.9 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.4414, allocations: 33.67 kB / 480.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4415, allocations: 27.62 kB / 480.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.4415, allocations: 15.06 kB / 480.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007881/0.4423, allocations: 0.5928 MB / 481.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4423, allocations: 0 / 481.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007627/0.4431, allocations: 219.9 kB / 481.7 MB, free: 8.098 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.002043/0.4451, allocations: 1.362 MB / 483.1 MB, free: 7.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009614/0.4461, allocations: 338.4 kB / 483.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4461, allocations: 0 / 483.4 MB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.4466, allocations: 180 kB / 483.6 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008086/0.4474, allocations: 178.5 kB / 483.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009104/0.4565, allocations: 5.814 MB / 489.6 MB, free: 360 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.4572, allocations: 0.9563 MB / 490.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.4576, allocations: 98.02 kB / 490.7 MB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.458, allocations: 323.3 kB / 491 MB, free: 14.95 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.458, allocations: 0 / 491 MB, free: 14.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06065/0.5186, allocations: 22.39 MB / 0.5013 GB, free: 8.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.7, allocations: 3.984 kB / 0.5013 GB, free: 8.84 MB / 414.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 --stepSize=1.0101e-09 --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: 13.08971574390307] Failed to read output from testmodel.py, exit status != 0: ['time', 'VGS.p.v', 'M1.D.i'] 10.78601255780086 10.801105014 10.389205937 Calling exit ...