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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001703/0.001703, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009529/0.0009529, allocations: 85.23 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.162e-05/5.174e-05, allocations: 7.984 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4548/0.5646, allocations: 104.9 MB / 0.4951 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/0.5651, allocations: 69.97 kB / 0.4952 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2008/0.766, allocations: 81.62 MB / 0.5749 GB, free: 148 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.766, allocations: 0 / 0.5749 GB, free: 148 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.572e-05/0.7661, allocations: 13.22 kB / 0.5749 GB, free: 136 kB / 442.7 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.2424/1.009, allocations: 1.214 MB / 0.5761 GB, free: 87.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.009, allocations: 9.094 kB / 0.5761 GB, free: 87.79 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/1.009, allocations: 61.72 kB / 0.5762 GB, free: 87.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/1.009, allocations: 115.8 kB / 0.5763 GB, free: 87.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/1.01, allocations: 0.7521 MB / 0.577 GB, free: 87.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/1.01, allocations: 18.34 kB / 0.577 GB, free: 87.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/1.01, allocations: 26.58 kB / 0.5771 GB, free: 87.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/1.011, allocations: 333.4 kB / 0.5774 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.011, allocations: 2.234 kB / 0.5774 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/1.011, allocations: 11.53 kB / 0.5774 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.011, allocations: 5.375 kB / 0.5774 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/1.011, allocations: 246.2 kB / 0.5776 GB, free: 87.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/1.013, allocations: 1.268 MB / 0.5789 GB, free: 86.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/1.013, allocations: 181.4 kB / 0.5791 GB, free: 86.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/1.013, allocations: 191.7 kB / 0.5792 GB, free: 86.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007655/1.021, allocations: 9.402 MB / 0.5884 GB, free: 79.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/1.021, allocations: 156.8 kB / 0.5886 GB, free: 79.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.936e-06/1.021, allocations: 0 / 0.5886 GB, free: 79.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004836/1.022, allocations: 295.3 kB / 0.5888 GB, free: 79.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.022, allocations: 109.2 kB / 0.5889 GB, free: 79.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008417/1.023, allocations: 0.7576 MB / 0.5897 GB, free: 79.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/1.023, allocations: 29.33 kB / 0.5897 GB, free: 79.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/1.023, allocations: 464.8 kB / 0.5902 GB, free: 79.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/1.023, allocations: 61.84 kB / 0.5902 GB, free: 79.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/1.023, allocations: 14.38 kB / 0.5902 GB, free: 79.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/1.023, allocations: 316.1 kB / 0.5905 GB, free: 79.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.024, allocations: 71 kB / 0.5906 GB, free: 79.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/1.024, allocations: 228.3 kB / 0.5908 GB, free: 78.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/1.024, allocations: 100.4 kB / 0.5909 GB, free: 78.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.024, allocations: 0 / 0.5909 GB, free: 78.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000554/1.025, allocations: 419.9 kB / 0.5913 GB, free: 78.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.025, allocations: 9.656 kB / 0.5913 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/1.025, allocations: 25.77 kB / 0.5914 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.025, allocations: 6.594 kB / 0.5914 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/1.025, allocations: 98.73 kB / 0.5915 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/1.025, allocations: 8.438 kB / 0.5915 GB, free: 78.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/1.025, allocations: 68.59 kB / 0.5915 GB, free: 78.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/1.026, allocations: 22.47 kB / 0.5915 GB, free: 78.73 MB / 442.7 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 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/1.026, allocations: 132.4 kB / 0.5917 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.906e-05/1.026, allocations: 113.9 kB / 0.5918 GB, free: 78.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/1.027, allocations: 381.2 kB / 0.5921 GB, free: 78.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.027, allocations: 0 / 0.5921 GB, free: 78.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.027, allocations: 3.312 kB / 0.5921 GB, free: 78.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.027, allocations: 6.516 kB / 0.5922 GB, free: 78.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/1.027, allocations: 0.5699 MB / 0.5927 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/1.027, allocations: 19.83 kB / 0.5927 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/1.027, allocations: 57.42 kB / 0.5928 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.027, allocations: 11.03 kB / 0.5928 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.027, allocations: 9.641 kB / 0.5928 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.027, allocations: 3.125 kB / 0.5928 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.027, allocations: 0 / 0.5928 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/1.028, allocations: 383.3 kB / 0.5932 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/1.028, allocations: 206.8 kB / 0.5934 GB, free: 77.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/1.028, allocations: 6.969 kB / 0.5934 GB, free: 77.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.028, allocations: 40.92 kB / 0.5934 GB, free: 77.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/1.029, allocations: 29.41 kB / 0.5934 GB, free: 77.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/1.029, allocations: 16.38 kB / 0.5935 GB, free: 77.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005767/1.029, allocations: 0.5886 MB / 0.594 GB, free: 77.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.029, allocations: 0 / 0.594 GB, free: 77.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006954/1.03, allocations: 254.2 kB / 0.5943 GB, free: 77.82 MB / 442.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/1.031, allocations: 1.477 MB / 0.5957 GB, free: 76.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00042/1.032, allocations: 256.1 kB / 0.596 GB, free: 76.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.032, allocations: 1.781 kB / 0.596 GB, free: 76.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/1.032, allocations: 135.9 kB / 0.5961 GB, free: 76.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/1.033, allocations: 158.8 kB / 0.5962 GB, free: 76.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.035, allocations: 1.154 MB / 0.5974 GB, free: 76.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/1.035, allocations: 0.9822 MB / 0.5983 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003714/1.035, allocations: 105 kB / 0.5984 GB, free: 75.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.036, allocations: 317.7 kB / 0.5987 GB, free: 75.82 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/1.036, allocations: 2.375 kB / 0.5987 GB, free: 75.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/1.082, allocations: 22.95 MB / 0.6212 GB, free: 74.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/1.082, allocations: 179.3 kB / 0.6213 GB, free: 74.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/3.856, allocations: 0 / 0.6213 GB, free: 74.68 MB / 442.7 MB (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/linux/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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat