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/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_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 225.5 MB / 234.4 MB, free: 3.379 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000988/0.0009881, allocations: 91.3 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.565e-06/7.755e-06, allocations: 0 / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09039, allocations: 51.48 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.3788, allocations: 104.2 MB / 498.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.379, allocations: 69.34 kB / 498.9 MB, free: 5.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.17/0.549, allocations: 77.9 MB / 0.5632 GB, free: 12.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.215e-05/0.549, allocations: 16 kB / 0.5632 GB, free: 12.34 MB / 442.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.002948/0.552, allocations: 1.225 MB / 0.5644 GB, free: 11.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5521, allocations: 12.03 kB / 0.5645 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.5524, allocations: 122.5 kB / 0.5646 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.5541, allocations: 0.752 MB / 0.5653 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.5541, allocations: 11.98 kB / 0.5653 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.5542, allocations: 15.91 kB / 0.5653 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00054/0.5548, allocations: 237.1 kB / 0.5656 GB, free: 9.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.5553, allocations: 303.6 kB / 0.5658 GB, free: 9.562 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5553, allocations: 4 kB / 0.5659 GB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.5554, allocations: 0 / 0.5659 GB, free: 9.559 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5554, allocations: 4 kB / 0.5659 GB, free: 9.555 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.5578, allocations: 1.235 MB / 0.5671 GB, free: 8.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.5581, allocations: 113.9 kB / 0.5672 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.5584, allocations: 174.7 kB / 0.5673 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1467/0.7051, allocations: 9.374 MB / 0.5765 GB, free: 138.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.7054, allocations: 136.8 kB / 0.5766 GB, free: 138 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.505e-06/0.7054, allocations: 3.688 kB / 0.5766 GB, free: 138 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004689/0.7059, allocations: 272.5 kB / 0.5769 GB, free: 138 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.7059, allocations: 112.7 kB / 0.577 GB, free: 137.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/0.7067, allocations: 0.6976 MB / 0.5777 GB, free: 137.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.7067, allocations: 33.33 kB / 0.5777 GB, free: 137.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.7069, allocations: 264 kB / 0.578 GB, free: 137.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.7069, allocations: 63.92 kB / 0.578 GB, free: 137.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.7069, allocations: 0 / 0.578 GB, free: 137.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.707, allocations: 321.1 kB / 0.5783 GB, free: 137.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.7071, allocations: 65.78 kB / 0.5784 GB, free: 137.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.7073, allocations: 210.7 kB / 0.5786 GB, free: 137 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.7074, allocations: 91.55 kB / 0.5787 GB, free: 137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7074, allocations: 0 / 0.5787 GB, free: 137 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005116/0.708, allocations: 379 kB / 0.579 GB, free: 137 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.708, allocations: 13.75 kB / 0.579 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/0.708, allocations: 19.44 kB / 0.5791 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.7081, allocations: 7.875 kB / 0.5791 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.7085, allocations: 99.81 kB / 0.5792 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.7085, allocations: 11.56 kB / 0.5792 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.709, allocations: 63.38 kB / 0.5792 GB, free: 136.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.709, allocations: 23.56 kB / 0.5793 GB, free: 136.9 MB / 442.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.0001079/0.7091, allocations: 127.6 kB / 0.5794 GB, free: 136.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.7092, allocations: 107.9 kB / 0.5795 GB, free: 136.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.7103, allocations: 421.6 kB / 0.5799 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.7103, allocations: 7.094 kB / 0.5799 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7103, allocations: 0 / 0.5799 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.7103, allocations: 0 / 0.5799 GB, free: 136.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.7109, allocations: 0.5314 MB / 0.5804 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.7109, allocations: 19.75 kB / 0.5804 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.7112, allocations: 61.27 kB / 0.5805 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7112, allocations: 10.94 kB / 0.5805 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.7112, allocations: 7.375 kB / 0.5805 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.7112, allocations: 2.062 kB / 0.5805 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.7112, allocations: 0 / 0.5805 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004011/0.7116, allocations: 362.1 kB / 0.5809 GB, free: 136.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.7119, allocations: 208.2 kB / 0.5811 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.712, allocations: 2.375 kB / 0.5811 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.7124, allocations: 46.59 kB / 0.5811 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7125, allocations: 29.02 kB / 0.5811 GB, free: 136.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.7125, allocations: 16.78 kB / 0.5811 GB, free: 136.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0005213/0.713, allocations: 0.5354 MB / 0.5817 GB, free: 136.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007062/0.7137, allocations: 230.9 kB / 0.5819 GB, free: 136.1 MB / 442.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.0008005/0.7146, allocations: 0.624 MB / 0.5825 GB, free: 136 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.715, allocations: 229.7 kB / 0.5827 GB, free: 136 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.715, allocations: 3.594 kB / 0.5827 GB, free: 136 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.7152, allocations: 133.6 kB / 0.5828 GB, free: 135.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.7158, allocations: 162 kB / 0.583 GB, free: 135.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.7177, allocations: 0.9606 MB / 0.5839 GB, free: 135.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.7181, allocations: 1.038 MB / 0.585 GB, free: 134.9 MB / 442.7 MB Notification: Performance of SimCode: time 4.1e-07/0.7181, allocations: 0 / 0.585 GB, free: 134.9 MB / 442.7 MB Notification: Performance of Templates: time 0.01783/0.736, allocations: 10.87 MB / 0.5956 GB, free: 134.5 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches