Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=198,variableFilter="time|VGS.p.v|M1.D.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001031/0.001031, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 226.6 MB / 244.7 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008025/0.0008026, allocations: 102.4 kB / 296.8 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002264/0.0002264, allocations: 4 kB / 356.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2052, allocations: 51.31 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.003167/0.2084, allocations: 4.842 MB / 412.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.2202, allocations: 17.65 MB / 430.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.2208, allocations: 11.94 kB / 430.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.2224, allocations: 0.72 MB / 431.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003095/0.2255, allocations: 1.235 MB / 432.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.2279, allocations: 1.015 MB / 433.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00204/0.23, allocations: 1.695 MB / 435.2 MB, free: 488 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.2302, allocations: 153.8 kB / 435.4 MB, free: 316 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.2305, allocations: 310.5 kB / 435.7 MB, free: 4 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.2308, allocations: 330.1 kB / 436 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.2309, allocations: 20 kB / 436 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.2337, allocations: 1.318 MB / 437.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.2338, allocations: 95.36 kB / 437.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.2342, allocations: 415.4 kB / 437.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2353, allocations: 1.114 MB / 438.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2353, allocations: 0 / 438.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2353, allocations: 0 / 438.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2353, allocations: 3.938 kB / 438.9 MB, free: 12.71 MB / 314.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.001859/0.2372, allocations: 1.254 MB / 440.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2372, allocations: 8.031 kB / 440.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.2374, allocations: 118.5 kB / 440.3 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009399/0.2383, allocations: 0.7937 MB / 441.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.2383, allocations: 16.56 kB / 441.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.2384, allocations: 20 kB / 441.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.2391, allocations: 364.6 kB / 441.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2392, allocations: 0 / 441.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.2392, allocations: 11.98 kB / 441.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2392, allocations: 8 kB / 441.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.2401, allocations: 390 kB / 441.9 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.242, allocations: 1.249 MB / 443.2 MB, free: 8.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008158/0.2428, allocations: 306.6 kB / 443.5 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.2433, allocations: 257.7 kB / 443.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007204/0.2505, allocations: 7.91 MB / 451.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.2511, allocations: 233.3 kB / 451.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.375e-06/0.2511, allocations: 0 / 451.8 MB, free: 14.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001332/0.2524, allocations: 0.547 MB / 452.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.2525, allocations: 55.41 kB / 452.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.2534, allocations: 0.8784 MB / 453.3 MB, free: 13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2535, allocations: 29.7 kB / 453.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.2538, allocations: 464.3 kB / 453.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.2539, allocations: 59.25 kB / 453.9 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.2539, allocations: 8 kB / 453.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.254, allocations: 318 kB / 454.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.2544, allocations: 139.9 kB / 454.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.2549, allocations: 285.9 kB / 454.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008183/0.2557, allocations: 432.4 kB / 455 MB, free: 11.15 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2557, allocations: 3.938 kB / 455 MB, free: 11.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001033/0.2568, allocations: 0.5356 MB / 455.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.2568, allocations: 12.02 kB / 455.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/0.2569, allocations: 20 kB / 455.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2569, allocations: 11.94 kB / 455.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.2573, allocations: 95.81 kB / 455.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2573, allocations: 8 kB / 455.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.2577, allocations: 71.56 kB / 455.8 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.2577, allocations: 23.98 kB / 455.8 MB, free: 10.37 MB / 330.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 () * 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.0002653/0.258, allocations: 219.2 kB / 456 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2581, allocations: 106.7 kB / 456.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.2594, allocations: 0.5063 MB / 456.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.2594, allocations: 7.984 kB / 456.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2594, allocations: 0 / 456.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2594, allocations: 0 / 456.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.26, allocations: 0.571 MB / 457.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.2601, allocations: 20 kB / 457.2 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.2603, allocations: 51.95 kB / 457.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2603, allocations: 0 / 457.3 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.2603, allocations: 19.92 kB / 457.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2603, allocations: 0 / 457.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.207e-06/0.2604, allocations: 11.97 kB / 457.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.2613, allocations: 472.9 kB / 457.8 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.2615, allocations: 195.8 kB / 458 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.2616, allocations: 7.984 kB / 458 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.2619, allocations: 39.97 kB / 458 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.262, allocations: 31.95 kB / 458 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.262, allocations: 19.92 kB / 458.1 MB, free: 7.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006661/0.2627, allocations: 0.5764 MB / 458.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2627, allocations: 0 / 458.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005929/0.2633, allocations: 223.8 kB / 458.8 MB, free: 7.195 MB / 330.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) * 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.0007186/0.264, allocations: 495 kB / 459.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/0.265, allocations: 386.4 kB / 459.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.265, allocations: 7.938 kB / 459.7 MB, free: 6.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.2654, allocations: 200.6 kB / 459.9 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.2662, allocations: 166.3 kB / 460.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2686, allocations: 1.707 MB / 461.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.2692, allocations: 0.9566 MB / 462.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2693, allocations: 55.44 kB / 462.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2693, allocations: 0 / 462.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of Templates: time 0.01713/0.2864, allocations: 12.21 MB / 475 MB, free: 7 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches