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.0008099/0.0008097, allocations: 97.89 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 193.6 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002255, allocations: 8 kB / 306.8 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1071, allocations: 51.5 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.005317/0.1125, allocations: 4.847 MB / 363.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2069/0.3195, allocations: 17.64 MB / 380.8 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.3202, allocations: 14.81 kB / 380.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.3225, allocations: 0.7188 MB / 381.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.3269, allocations: 1.238 MB / 382.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.3327, allocations: 1.017 MB / 383.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.3364, allocations: 1.694 MB / 385.5 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.3368, allocations: 150.8 kB / 385.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/0.3375, allocations: 300 kB / 385.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.3379, allocations: 337 kB / 386.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.338, allocations: 21.47 kB / 386.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005527/0.3435, allocations: 1.309 MB / 387.6 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.3438, allocations: 93.03 kB / 387.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004638/0.3442, allocations: 203 kB / 387.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.3461, allocations: 1.123 MB / 389 MB, free: 6.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3462, allocations: 1 kB / 389 MB, free: 6.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3462, allocations: 0.7031 kB / 389 MB, free: 6.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3462, allocations: 0 / 389 MB, free: 6.832 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.002035/0.3482, allocations: 1.265 MB / 390.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3483, allocations: 13.34 kB / 390.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.31e-05/0.3484, allocations: 64.08 kB / 390.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.3485, allocations: 120.9 kB / 390.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/0.3495, allocations: 0.7357 MB / 391.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3495, allocations: 18.5 kB / 391.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.3496, allocations: 23.53 kB / 391.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.3503, allocations: 357 kB / 391.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3503, allocations: 3.938 kB / 391.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3503, allocations: 15.28 kB / 391.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3504, allocations: 6.25 kB / 391.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.3512, allocations: 387.5 kB / 392 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3529, allocations: 1.243 MB / 393.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007696/0.3537, allocations: 311.5 kB / 393.5 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/0.3541, allocations: 259.3 kB / 393.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007511/0.3617, allocations: 7.913 MB / 401.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005676/0.3623, allocations: 221.7 kB / 401.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 5.81e-06/0.3623, allocations: 4 kB / 401.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001516/0.3638, allocations: 0.5465 MB / 402.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3639, allocations: 59.69 kB / 402.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3649, allocations: 0.8714 MB / 403.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.365, allocations: 29.7 kB / 403.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.3654, allocations: 472.9 kB / 403.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.3654, allocations: 53.48 kB / 403.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.3655, allocations: 8 kB / 403.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3656, allocations: 320.8 kB / 404.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.366, allocations: 146.3 kB / 404.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.3664, allocations: 271.8 kB / 404.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.3668, allocations: 178.8 kB / 404.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3668, allocations: 3.281 kB / 404.8 MB, free: 11.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/0.3679, allocations: 0.5317 MB / 405.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.368, allocations: 5.531 kB / 405.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/0.368, allocations: 25.03 kB / 405.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.368, allocations: 6.188 kB / 405.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.3684, allocations: 94.41 kB / 405.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.3684, allocations: 13.2 kB / 405.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.3689, allocations: 68.02 kB / 405.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.3689, allocations: 20.09 kB / 405.6 MB, free: 10.78 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.0003493/0.3693, allocations: 212 kB / 405.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3694, allocations: 112.6 kB / 405.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.3706, allocations: 0.5008 MB / 406.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3706, allocations: 1.562 kB / 406.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3707, allocations: 1.969 kB / 406.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3707, allocations: 1.5 kB / 406.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007182/0.3714, allocations: 0.577 MB / 407 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.003e-05/0.3714, allocations: 23.33 kB / 407 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3717, allocations: 53.69 kB / 407.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3717, allocations: 6.031 kB / 407.1 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.3717, allocations: 11.62 kB / 407.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3717, allocations: 1.938 kB / 407.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3717, allocations: 0 / 407.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.3727, allocations: 489.5 kB / 407.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3729, allocations: 201.5 kB / 407.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.499e-05/0.373, allocations: 3.031 kB / 407.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.3733, allocations: 47.61 kB / 407.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/0.3734, allocations: 32.02 kB / 407.9 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.3735, allocations: 15.75 kB / 407.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007033/0.3742, allocations: 0.5786 MB / 408.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3742, allocations: 0 / 408.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007441/0.3749, allocations: 227.8 kB / 408.7 MB, free: 8.488 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.001864/0.3768, allocations: 1.366 MB / 410 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.3777, allocations: 394.3 kB / 410.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3777, allocations: 128 / 410.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.3782, allocations: 213.7 kB / 410.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.379, allocations: 159.1 kB / 410.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009802/0.3888, allocations: 4.86 MB / 415.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.3893, allocations: 0.9569 MB / 416.6 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.3898, allocations: 106 kB / 416.7 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.3902, allocations: 319.4 kB / 417 MB, free: 15.78 MB / 334.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3902, allocations: 3.938 kB / 417 MB, free: 15.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.4271, allocations: 20.73 MB / 437.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.4273, allocations: 218.7 kB / 438 MB, free: 11.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.908, allocations: 3.234 kB / 438 MB, free: 11.03 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