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.001839/0.001839, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008231, allocations: 88.31 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.196e-05, allocations: 0 / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 51.49 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4663, allocations: 104.2 MB / 499.5 MB, free: 4.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4666, allocations: 80.86 kB / 499.6 MB, free: 4.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1675/0.634, allocations: 77.51 MB / 0.5636 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6341, allocations: 0 / 0.5636 GB, free: 12.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.6341, allocations: 16 kB / 0.5636 GB, free: 12.14 MB / 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.002912/0.637, allocations: 1.21 MB / 0.5648 GB, free: 10.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6371, allocations: 12.03 kB / 0.5648 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.6374, allocations: 114.8 kB / 0.5649 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.6388, allocations: 0.7559 MB / 0.5656 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.6389, allocations: 8 kB / 0.5656 GB, free: 9.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.639, allocations: 15.98 kB / 0.5656 GB, free: 9.934 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004542/0.6394, allocations: 237.1 kB / 0.5659 GB, free: 9.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.64, allocations: 308.7 kB / 0.5662 GB, free: 9.387 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.64, allocations: 3.984 kB / 0.5662 GB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.6401, allocations: 3.938 kB / 0.5662 GB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.6401, allocations: 4 kB / 0.5662 GB, free: 9.375 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.6426, allocations: 1.22 MB / 0.5674 GB, free: 8.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.643, allocations: 162.8 kB / 0.5675 GB, free: 7.926 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/0.6432, allocations: 178.5 kB / 0.5677 GB, free: 7.754 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2742/0.9174, allocations: 9.406 MB / 0.5769 GB, free: 85.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.9178, allocations: 145.8 kB / 0.577 GB, free: 85.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.434e-06/0.9178, allocations: 3 kB / 0.577 GB, free: 85.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005529/0.9183, allocations: 280.2 kB / 0.5773 GB, free: 85.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9184, allocations: 118.2 kB / 0.5774 GB, free: 85.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.9193, allocations: 0.6983 MB / 0.5781 GB, free: 85.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.9193, allocations: 28.67 kB / 0.5781 GB, free: 85.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.9197, allocations: 462.3 kB / 0.5785 GB, free: 85.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.9197, allocations: 56.77 kB / 0.5786 GB, free: 85.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.9198, allocations: 2.906 kB / 0.5786 GB, free: 85.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.9199, allocations: 324.2 kB / 0.5789 GB, free: 84.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.92, allocations: 68.06 kB / 0.579 GB, free: 84.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.9202, allocations: 205.8 kB / 0.5792 GB, free: 84.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.9204, allocations: 96.09 kB / 0.5793 GB, free: 84.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.9204, allocations: 7.094 kB / 0.5793 GB, free: 84.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004863/0.9209, allocations: 375.8 kB / 0.5796 GB, free: 84.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9209, allocations: 13.88 kB / 0.5796 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.698e-05/0.9209, allocations: 24.59 kB / 0.5797 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.921, allocations: 6.125 kB / 0.5797 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.9213, allocations: 97.16 kB / 0.5798 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.9214, allocations: 12.38 kB / 0.5798 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.9219, allocations: 53.23 kB / 0.5798 GB, free: 84.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.9219, allocations: 19.7 kB / 0.5798 GB, free: 84.55 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 0.000111/0.9221, allocations: 127 kB / 0.58 GB, free: 84.45 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003801/0.9225, allocations: 286.2 kB / 0.5802 GB, free: 84.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.614e-05/0.9225, allocations: 107.2 kB / 0.5803 GB, free: 84.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.9233, allocations: 371.4 kB / 0.5807 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9234, allocations: 3.094 kB / 0.5807 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9234, allocations: 3.953 kB / 0.5807 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.9234, allocations: 5.391 kB / 0.5807 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.924, allocations: 0.5312 MB / 0.5812 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.9241, allocations: 16.34 kB / 0.5812 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.9243, allocations: 59.23 kB / 0.5813 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9243, allocations: 0 / 0.5813 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.9244, allocations: 12.5 kB / 0.5813 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9244, allocations: 0 / 0.5813 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.9244, allocations: 3.344 kB / 0.5813 GB, free: 84.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.9248, allocations: 371.2 kB / 0.5817 GB, free: 83.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.925, allocations: 208.8 kB / 0.5819 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.9251, allocations: 5.094 kB / 0.5819 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.9255, allocations: 36.19 kB / 0.5819 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.9256, allocations: 37.2 kB / 0.5819 GB, free: 83.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.9256, allocations: 16.2 kB / 0.582 GB, free: 83.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005303/0.9262, allocations: 0.532 MB / 0.5825 GB, free: 83.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9262, allocations: 0 / 0.5825 GB, free: 83.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007624/0.9269, allocations: 237.4 kB / 0.5827 GB, free: 83.6 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.001349/0.9283, allocations: 1.554 MB / 0.5842 GB, free: 82.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.9287, allocations: 240.1 kB / 0.5845 GB, free: 82.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9287, allocations: 0 / 0.5845 GB, free: 82.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.9289, allocations: 129.2 kB / 0.5846 GB, free: 82.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.9297, allocations: 158.7 kB / 0.5847 GB, free: 82.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.9317, allocations: 1.121 MB / 0.5858 GB, free: 82.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.9321, allocations: 0.9798 MB / 0.5868 GB, free: 81.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.9325, allocations: 106.5 kB / 0.5869 GB, free: 81.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.9328, allocations: 317.5 kB / 0.5872 GB, free: 81.63 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/0.9328, allocations: 1.969 kB / 0.5872 GB, free: 81.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.9795, allocations: 18.47 MB / 0.6052 GB, free: 80.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.9797, allocations: 166.3 kB / 0.6054 GB, free: 80.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/3.672, allocations: 0 / 0.6054 GB, free: 80.73 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