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/ModelicaServices trunk/package.mo", uses=false) 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) 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) 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_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/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 94.98 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001036/0.001036, allocations: 207.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 306.7 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 51.5 MB / 358.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.004906/0.1234, allocations: 4.489 MB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2191/0.3426, allocations: 16.44 MB / 379.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.3434, allocations: 9.969 kB / 379.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.3456, allocations: 0.7538 MB / 379.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00446/0.3501, allocations: 1.355 MB / 381.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005104/0.3552, allocations: 1.095 MB / 382.3 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.3588, allocations: 1.66 MB / 384 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.3592, allocations: 152 kB / 384.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005964/0.3598, allocations: 303.9 kB / 384.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.3602, allocations: 329.7 kB / 384.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.3602, allocations: 17.94 kB / 384.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.3658, allocations: 1.413 MB / 386.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.3661, allocations: 92.22 kB / 386.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.3665, allocations: 205.8 kB / 386.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.3682, allocations: 1.076 MB / 387.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3683, allocations: 0 / 387.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3683, allocations: 4 kB / 387.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3683, allocations: 1.156 kB / 387.6 MB, free: 7.508 MB / 302.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.002277/0.3706, allocations: 1.262 MB / 388.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3706, allocations: 10.61 kB / 388.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.613e-05/0.3707, allocations: 61.11 kB / 388.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.3709, allocations: 116.5 kB / 389 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.372, allocations: 0.7285 MB / 389.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3721, allocations: 17.7 kB / 389.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.3721, allocations: 26.66 kB / 389.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.3729, allocations: 357.1 kB / 390.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3729, allocations: 10.47 kB / 390.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.373, allocations: 8.812 kB / 390.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.373, allocations: 6.969 kB / 390.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.3739, allocations: 391.7 kB / 390.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.3758, allocations: 1.239 MB / 391.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007936/0.3766, allocations: 305 kB / 392.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007115/0.3837, allocations: 7.968 MB / 400.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.3843, allocations: 221.9 kB / 400.3 MB, free: 14.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 4.208e-06/0.3843, allocations: 3.984 kB / 400.3 MB, free: 14.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001444/0.3858, allocations: 0.6209 MB / 400.9 MB, free: 13.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3858, allocations: 54.16 kB / 401 MB, free: 13.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/0.3868, allocations: 0.8797 MB / 401.8 MB, free: 13.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3868, allocations: 32.3 kB / 401.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.3872, allocations: 462.8 kB / 402.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.3872, allocations: 56.47 kB / 402.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.3873, allocations: 5.25 kB / 402.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3874, allocations: 321.6 kB / 402.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.3877, allocations: 147.1 kB / 402.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.3882, allocations: 269.1 kB / 403.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.3886, allocations: 174 kB / 403.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3886, allocations: 0 / 403.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001005/0.3896, allocations: 0.5334 MB / 403.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3896, allocations: 5.375 kB / 403.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/0.3897, allocations: 26.58 kB / 403.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3897, allocations: 8.031 kB / 403.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.39, allocations: 102.4 kB / 403.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3901, allocations: 9.031 kB / 403.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.3905, allocations: 66 kB / 404 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.3906, allocations: 35.64 kB / 404 MB, free: 11.82 MB / 318.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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002787/0.3909, allocations: 211.9 kB / 404.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.391, allocations: 108.3 kB / 404.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3922, allocations: 0.5058 MB / 404.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3923, allocations: 1.875 kB / 404.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3923, allocations: 0 / 404.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3923, allocations: 4 kB / 404.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3929, allocations: 0.5639 MB / 405.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.393, allocations: 16.56 kB / 405.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.3932, allocations: 58.7 kB / 405.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.3932, allocations: 10.81 kB / 405.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3933, allocations: 9.938 kB / 405.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3933, allocations: 2.844 kB / 405.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3933, allocations: 0 / 405.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.3942, allocations: 0.5036 MB / 406 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.3945, allocations: 200.2 kB / 406.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.3947, allocations: 7.969 kB / 406.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.395, allocations: 38.08 kB / 406.3 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.3951, allocations: 32.73 kB / 406.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.3951, allocations: 14.47 kB / 406.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007273/0.3958, allocations: 0.5893 MB / 406.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3958, allocations: 3.938 kB / 406.9 MB, free: 9.887 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007243/0.3966, allocations: 219.8 kB / 407.1 MB, free: 9.672 MB / 318.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 (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.002003/0.3986, allocations: 1.531 MB / 408.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.3995, allocations: 392.4 kB / 409 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3996, allocations: 0 / 409 MB, free: 7.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.4, allocations: 204.1 kB / 409.2 MB, free: 7.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.4008, allocations: 167.1 kB / 409.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4109, allocations: 7.794 MB / 417.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.4114, allocations: 0.9774 MB / 418.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.4118, allocations: 102 kB / 418.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.4121, allocations: 323.3 kB / 418.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4121, allocations: 0 / 418.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.4472, allocations: 20.54 MB / 439.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.4475, allocations: 213.3 kB / 439.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/2.856, allocations: 4 kB / 439.3 MB, free: 9.242 MB / 350.1 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