Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008321/0.0008323, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.454e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09039, allocations: 47.57 MB / 370 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4208, allocations: 102.1 MB / 472.1 MB, free: 7.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.421, allocations: 74.52 kB / 472.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3539/0.7749, allocations: 74.17 MB / 0.5336 GB, free: 100.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.775, allocations: 0 / 0.5336 GB, free: 100.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.775, allocations: 14.59 kB / 0.5336 GB, free: 100.6 MB / 410.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.002928/0.7779, allocations: 1.213 MB / 0.5348 GB, free: 99.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.778, allocations: 9.094 kB / 0.5348 GB, free: 99.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.7782, allocations: 118.3 kB / 0.5349 GB, free: 99.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.7796, allocations: 0.7673 MB / 0.5356 GB, free: 99.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.7796, allocations: 19 kB / 0.5357 GB, free: 99.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.7797, allocations: 22.06 kB / 0.5357 GB, free: 99.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.7804, allocations: 329.4 kB / 0.536 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.7804, allocations: 0 / 0.536 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.7804, allocations: 10.7 kB / 0.536 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.7804, allocations: 9.5 kB / 0.536 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.7809, allocations: 246.6 kB / 0.5362 GB, free: 99.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.7833, allocations: 1.267 MB / 0.5375 GB, free: 99.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.7836, allocations: 189.5 kB / 0.5377 GB, free: 99.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.7839, allocations: 185.7 kB / 0.5378 GB, free: 99.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.7942, allocations: 9.256 MB / 0.5469 GB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.7946, allocations: 164.5 kB / 0.547 GB, free: 92.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.986e-06/0.7946, allocations: 3.125 kB / 0.547 GB, free: 92.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006017/0.7952, allocations: 299.5 kB / 0.5473 GB, free: 92.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.7953, allocations: 107.7 kB / 0.5474 GB, free: 92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.7965, allocations: 0.7645 MB / 0.5482 GB, free: 91.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.7965, allocations: 31.8 kB / 0.5482 GB, free: 91.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.7969, allocations: 465.8 kB / 0.5486 GB, free: 91.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.7969, allocations: 59 kB / 0.5487 GB, free: 91.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.797, allocations: 7.922 kB / 0.5487 GB, free: 91.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.797, allocations: 320.1 kB / 0.549 GB, free: 91.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.7972, allocations: 77.05 kB / 0.5491 GB, free: 91.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.7974, allocations: 223.1 kB / 0.5493 GB, free: 91.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.7976, allocations: 103.5 kB / 0.5494 GB, free: 91.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7976, allocations: 2.156 kB / 0.5494 GB, free: 91.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006557/0.7983, allocations: 410.2 kB / 0.5498 GB, free: 91.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.7983, allocations: 12.09 kB / 0.5498 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/0.7984, allocations: 26.81 kB / 0.5498 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.7984, allocations: 8.406 kB / 0.5498 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.7988, allocations: 94.73 kB / 0.5499 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.7988, allocations: 12.14 kB / 0.5499 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.7994, allocations: 64.33 kB / 0.55 GB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.7994, allocations: 19.66 kB / 0.55 GB, free: 91.05 MB / 410.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.000106/0.7995, allocations: 136.7 kB / 0.5502 GB, free: 90.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.7997, allocations: 111.8 kB / 0.5503 GB, free: 90.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.8006, allocations: 388.6 kB / 0.5506 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8006, allocations: 2.062 kB / 0.5506 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8006, allocations: 0 / 0.5506 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8006, allocations: 3.516 kB / 0.5506 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.8013, allocations: 0.5769 MB / 0.5512 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.079e-05/0.8013, allocations: 21.38 kB / 0.5512 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.8016, allocations: 57.86 kB / 0.5513 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.8016, allocations: 1.469 kB / 0.5513 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.8017, allocations: 14.34 kB / 0.5513 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8017, allocations: 1.5 kB / 0.5513 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.8017, allocations: 1.719 kB / 0.5513 GB, free: 90.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.8023, allocations: 374.8 kB / 0.5516 GB, free: 90.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.8026, allocations: 213.4 kB / 0.5519 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8027, allocations: 9.688 kB / 0.5519 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.803, allocations: 41.64 kB / 0.5519 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.8031, allocations: 30.34 kB / 0.5519 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.8032, allocations: 16.03 kB / 0.5519 GB, free: 90.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007285/0.8039, allocations: 0.5922 MB / 0.5525 GB, free: 90.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8039, allocations: 0 / 0.5525 GB, free: 90.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008718/0.8048, allocations: 255.6 kB / 0.5528 GB, free: 90.11 MB / 410.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.0008395/0.8056, allocations: 0.5297 MB / 0.5533 GB, free: 89.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.8061, allocations: 250 kB / 0.5535 GB, free: 89.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8061, allocations: 1.25 kB / 0.5535 GB, free: 89.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.8063, allocations: 142.8 kB / 0.5537 GB, free: 89.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.8068, allocations: 139.6 kB / 0.5538 GB, free: 89.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.8086, allocations: 0.9606 MB / 0.5547 GB, free: 89.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.809, allocations: 0.9831 MB / 0.5557 GB, free: 88.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.8094, allocations: 107.3 kB / 0.5558 GB, free: 88.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.8095, allocations: 52.75 kB / 0.5558 GB, free: 88.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8095, allocations: 0 / 0.5558 GB, free: 88.85 MB / 410.7 MB Notification: Performance of Templates: time 0.01898/0.8285, allocations: 14.3 MB / 0.5698 GB, free: 87.99 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches