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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 235.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 83.75 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.271e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4297, allocations: 104.1 MB / 498.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.4299, allocations: 71.95 kB / 498.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3709/0.8008, allocations: 81.52 MB / 0.5664 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.8008, allocations: 0 / 0.5664 GB, free: 105.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.8009, allocations: 13.75 kB / 0.5664 GB, free: 105.3 MB / 426.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.002165/0.803, allocations: 1.21 MB / 0.5676 GB, free: 104.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8031, allocations: 12.8 kB / 0.5676 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.8031, allocations: 64.66 kB / 0.5677 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.8033, allocations: 118.2 kB / 0.5678 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009837/0.8043, allocations: 0.7581 MB / 0.5686 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.8043, allocations: 17.31 kB / 0.5686 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.8044, allocations: 21.31 kB / 0.5686 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.8049, allocations: 336.9 kB / 0.5689 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8049, allocations: 2.188 kB / 0.5689 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.805, allocations: 8.969 kB / 0.5689 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.805, allocations: 14.72 kB / 0.5689 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.8054, allocations: 244 kB / 0.5692 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.8075, allocations: 1.271 MB / 0.5704 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.8078, allocations: 173.9 kB / 0.5706 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.8081, allocations: 181.7 kB / 0.5707 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008225/0.8163, allocations: 9.242 MB / 0.5798 GB, free: 96.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.8166, allocations: 165.6 kB / 0.5799 GB, free: 96.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.8166, allocations: 0 / 0.5799 GB, free: 96.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004452/0.8171, allocations: 286.7 kB / 0.5802 GB, free: 96.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.8171, allocations: 114.4 kB / 0.5803 GB, free: 96.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.8179, allocations: 0.7604 MB / 0.5811 GB, free: 96.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.8179, allocations: 32.61 kB / 0.5811 GB, free: 96.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.8181, allocations: 458 kB / 0.5815 GB, free: 96.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.8182, allocations: 65.11 kB / 0.5816 GB, free: 96.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.66e-05/0.8182, allocations: 14.16 kB / 0.5816 GB, free: 96.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.8183, allocations: 321.5 kB / 0.5819 GB, free: 95.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.8184, allocations: 80.72 kB / 0.582 GB, free: 95.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.8185, allocations: 217.7 kB / 0.5822 GB, free: 95.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.8187, allocations: 105.1 kB / 0.5823 GB, free: 95.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8187, allocations: 3.938 kB / 0.5823 GB, free: 95.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004724/0.8192, allocations: 411.9 kB / 0.5827 GB, free: 95.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8192, allocations: 7.875 kB / 0.5827 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/0.8192, allocations: 20.22 kB / 0.5827 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.8193, allocations: 11.83 kB / 0.5827 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.8196, allocations: 99.48 kB / 0.5828 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8196, allocations: 10.64 kB / 0.5828 GB, free: 95.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.82, allocations: 65.12 kB / 0.5829 GB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.8201, allocations: 23.03 kB / 0.5829 GB, free: 95.61 MB / 426.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 7.771e-05/0.8202, allocations: 136.9 kB / 0.583 GB, free: 95.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.8203, allocations: 106 kB / 0.5831 GB, free: 95.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.821, allocations: 379.6 kB / 0.5835 GB, free: 95.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.821, allocations: 0 / 0.5835 GB, free: 95.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.821, allocations: 3.609 kB / 0.5835 GB, free: 95.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.821, allocations: 0 / 0.5835 GB, free: 95.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.8215, allocations: 0.5886 MB / 0.5841 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.8215, allocations: 15.22 kB / 0.5841 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.8218, allocations: 58.59 kB / 0.5842 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.8218, allocations: 0 / 0.5842 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.8218, allocations: 11.73 kB / 0.5842 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8218, allocations: 2.219 kB / 0.5842 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8218, allocations: 3.969 kB / 0.5842 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.8222, allocations: 373.1 kB / 0.5845 GB, free: 94.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.8225, allocations: 211.8 kB / 0.5847 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.8226, allocations: 3.312 kB / 0.5847 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.8229, allocations: 45.11 kB / 0.5848 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.823, allocations: 32.8 kB / 0.5848 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.823, allocations: 17.5 kB / 0.5848 GB, free: 94.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005541/0.8236, allocations: 0.5898 MB / 0.5854 GB, free: 94.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8236, allocations: 2.688 kB / 0.5854 GB, free: 94.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007384/0.8243, allocations: 245 kB / 0.5856 GB, free: 94.66 MB / 426.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.00134/0.8257, allocations: 1.482 MB / 0.5871 GB, free: 93.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.8261, allocations: 252.4 kB / 0.5873 GB, free: 93.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8261, allocations: 1.812 kB / 0.5873 GB, free: 93.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.8263, allocations: 142.2 kB / 0.5875 GB, free: 93.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006579/0.827, allocations: 160 kB / 0.5876 GB, free: 93.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.8288, allocations: 1.141 MB / 0.5887 GB, free: 93.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.8291, allocations: 0.9735 MB / 0.5897 GB, free: 92.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003636/0.8294, allocations: 104.3 kB / 0.5898 GB, free: 92.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.8297, allocations: 318.8 kB / 0.5901 GB, free: 92.51 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.8297, allocations: 0 / 0.5901 GB, free: 92.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.8854, allocations: 22.89 MB / 0.6124 GB, free: 89.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.8856, allocations: 198.5 kB / 0.6126 GB, free: 89.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.549, allocations: 2.109 kB / 0.6126 GB, free: 89.47 MB / 426.7 MB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat