Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000834/0.0008342, allocations: 95.78 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.398e-05, allocations: 0 / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 50.41 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3256/0.4331, allocations: 104.1 MB / 498.3 MB, free: 15.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.4334, allocations: 71.78 kB / 498.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3864/0.8198, allocations: 81.53 MB / 0.5663 GB, free: 105.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.8198, allocations: 0 / 0.5663 GB, free: 105.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.8199, allocations: 13.34 kB / 0.5664 GB, free: 105.5 MB / 426.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.002351/0.8222, allocations: 1.204 MB / 0.5675 GB, free: 104.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.8223, allocations: 11.42 kB / 0.5675 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.8225, allocations: 118.5 kB / 0.5677 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.8236, allocations: 0.7581 MB / 0.5684 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.8236, allocations: 17.47 kB / 0.5684 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.8237, allocations: 24.31 kB / 0.5684 GB, free: 104.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.8243, allocations: 336.9 kB / 0.5688 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8243, allocations: 0 / 0.5688 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.8243, allocations: 9.906 kB / 0.5688 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.8244, allocations: 5.906 kB / 0.5688 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.8248, allocations: 245.1 kB / 0.569 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.8266, allocations: 1.276 MB / 0.5702 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.827, allocations: 168.4 kB / 0.5704 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.8273, allocations: 184.5 kB / 0.5706 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008908/0.8362, allocations: 9.246 MB / 0.5796 GB, free: 97.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.8365, allocations: 164.3 kB / 0.5798 GB, free: 96.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.415e-06/0.8366, allocations: 0 / 0.5798 GB, free: 96.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004539/0.837, allocations: 286.7 kB / 0.58 GB, free: 96.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.8371, allocations: 110.6 kB / 0.5801 GB, free: 96.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/0.8378, allocations: 0.7581 MB / 0.5809 GB, free: 96.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.8379, allocations: 37.19 kB / 0.5809 GB, free: 96.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.8382, allocations: 460.1 kB / 0.5814 GB, free: 96.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.8382, allocations: 63.81 kB / 0.5814 GB, free: 96.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.8382, allocations: 11.34 kB / 0.5814 GB, free: 96.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.8383, allocations: 324.7 kB / 0.5817 GB, free: 96.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.8384, allocations: 68 kB / 0.5818 GB, free: 96.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.8386, allocations: 226.2 kB / 0.582 GB, free: 95.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.8388, allocations: 100.5 kB / 0.5821 GB, free: 95.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8388, allocations: 3.906 kB / 0.5821 GB, free: 95.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004872/0.8393, allocations: 404.1 kB / 0.5825 GB, free: 95.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.8393, allocations: 9 kB / 0.5825 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.8393, allocations: 26.91 kB / 0.5825 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.8394, allocations: 7.906 kB / 0.5826 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.8397, allocations: 94.98 kB / 0.5826 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.8397, allocations: 13.53 kB / 0.5827 GB, free: 95.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.8402, allocations: 75.92 kB / 0.5827 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.8403, allocations: 19.25 kB / 0.5827 GB, free: 95.78 MB / 426.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 8.471e-05/0.8404, allocations: 135.4 kB / 0.5829 GB, free: 95.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.983e-05/0.8405, allocations: 109.4 kB / 0.583 GB, free: 95.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007401/0.8412, allocations: 380.2 kB / 0.5833 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8412, allocations: 3.75 kB / 0.5833 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8412, allocations: 0 / 0.5833 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8412, allocations: 3.812 kB / 0.5834 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.8418, allocations: 0.586 MB / 0.5839 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.8418, allocations: 15.44 kB / 0.5839 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.842, allocations: 53.66 kB / 0.584 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.842, allocations: 3.938 kB / 0.584 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.8421, allocations: 17.42 kB / 0.584 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8421, allocations: 3.812 kB / 0.584 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8421, allocations: 0 / 0.584 GB, free: 95.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.8425, allocations: 371.8 kB / 0.5844 GB, free: 95.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.8427, allocations: 210.2 kB / 0.5846 GB, free: 94.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.8428, allocations: 3.5 kB / 0.5846 GB, free: 94.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.8432, allocations: 44.86 kB / 0.5846 GB, free: 94.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.8433, allocations: 42.19 kB / 0.5847 GB, free: 94.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.8433, allocations: 11.44 kB / 0.5847 GB, free: 94.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005556/0.8439, allocations: 0.5875 MB / 0.5852 GB, free: 94.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8439, allocations: 0 / 0.5852 GB, free: 94.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008168/0.8447, allocations: 257.8 kB / 0.5855 GB, free: 94.82 MB / 426.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.0007364/0.8454, allocations: 0.5257 MB / 0.586 GB, free: 94.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003798/0.8458, allocations: 251.3 kB / 0.5862 GB, free: 94.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8458, allocations: 0 / 0.5862 GB, free: 94.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.846, allocations: 139.2 kB / 0.5864 GB, free: 94.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.8467, allocations: 163 kB / 0.5865 GB, free: 94.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.8481, allocations: 0.966 MB / 0.5875 GB, free: 94.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.8485, allocations: 0.9726 MB / 0.5884 GB, free: 93.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000344/0.8488, allocations: 106 kB / 0.5885 GB, free: 93.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.849, allocations: 52.78 kB / 0.5886 GB, free: 93.48 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.849, allocations: 3.188 kB / 0.5886 GB, free: 93.48 MB / 426.7 MB Notification: Performance of Templates: time 0.01925/0.8682, allocations: 14.25 MB / 0.6025 GB, free: 92.59 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches