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") [: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 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 184.8 kB / 8.134 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 221.4 MB / 229.9 MB, free: 3.066 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.0009425/0.0009426, allocations: 96.28 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.371e-06/6.392e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1964, allocations: 50.4 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3017, allocations: 103.3 MB / 490.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.3019, allocations: 75.95 kB / 490.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.2914/0.5933, allocations: 77.8 MB / 0.5548 GB, free: 42.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.5934, allocations: 16 kB / 0.5548 GB, free: 42.09 MB / 378.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.001884/0.5953, allocations: 1.223 MB / 0.556 GB, free: 40.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5953, allocations: 8.031 kB / 0.556 GB, free: 40.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.5955, allocations: 118.6 kB / 0.5562 GB, free: 40.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000867/0.5963, allocations: 0.7609 MB / 0.5569 GB, free: 39.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5964, allocations: 12 kB / 0.5569 GB, free: 39.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.5964, allocations: 12 kB / 0.5569 GB, free: 39.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003701/0.5968, allocations: 245 kB / 0.5572 GB, free: 39.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.5972, allocations: 299.7 kB / 0.5574 GB, free: 39.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5972, allocations: 0 / 0.5574 GB, free: 39.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.5973, allocations: 0 / 0.5574 GB, free: 39.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.5973, allocations: 11.98 kB / 0.5575 GB, free: 39.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.5989, allocations: 1.222 MB / 0.5586 GB, free: 38.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.5991, allocations: 121.9 kB / 0.5588 GB, free: 37.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.5993, allocations: 183.9 kB / 0.5589 GB, free: 37.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007148/0.6065, allocations: 9.197 MB / 0.5679 GB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.6067, allocations: 156.2 kB / 0.5681 GB, free: 27.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 4.198e-06/0.6067, allocations: 0 / 0.5681 GB, free: 27.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004951/0.6072, allocations: 272.5 kB / 0.5683 GB, free: 26.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.6073, allocations: 106.8 kB / 0.5684 GB, free: 26.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.6081, allocations: 0.6967 MB / 0.5691 GB, free: 25.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.6081, allocations: 25.7 kB / 0.5691 GB, free: 25.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6083, allocations: 272.2 kB / 0.5694 GB, free: 25.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6083, allocations: 55.09 kB / 0.5694 GB, free: 25.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.6083, allocations: 0 / 0.5694 GB, free: 25.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.6084, allocations: 326 kB / 0.5698 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.6085, allocations: 70.39 kB / 0.5698 GB, free: 25.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.6087, allocations: 211.6 kB / 0.57 GB, free: 24.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.6089, allocations: 91.94 kB / 0.5701 GB, free: 24.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6089, allocations: 4 kB / 0.5701 GB, free: 24.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004748/0.6093, allocations: 375.7 kB / 0.5705 GB, free: 24.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6094, allocations: 8.094 kB / 0.5705 GB, free: 24.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/0.6094, allocations: 23.94 kB / 0.5705 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6094, allocations: 8 kB / 0.5705 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.6098, allocations: 95.88 kB / 0.5706 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6098, allocations: 15.92 kB / 0.5706 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.6103, allocations: 71.5 kB / 0.5707 GB, free: 24.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.6104, allocations: 20 kB / 0.5707 GB, free: 24.26 MB / 378.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 9.11e-05/0.6105, allocations: 124.9 kB / 0.5708 GB, free: 24.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.6105, allocations: 106.7 kB / 0.5709 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.6116, allocations: 427.3 kB / 0.5713 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6116, allocations: 4 kB / 0.5713 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6116, allocations: 7.906 kB / 0.5713 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6116, allocations: 0 / 0.5713 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.6122, allocations: 0.527 MB / 0.5719 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.6122, allocations: 16 kB / 0.5719 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.6125, allocations: 59.95 kB / 0.5719 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.6125, allocations: 0 / 0.5719 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.6125, allocations: 11.98 kB / 0.5719 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.6125, allocations: 4 kB / 0.5719 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6125, allocations: 0 / 0.5719 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003665/0.6129, allocations: 352 kB / 0.5723 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.6131, allocations: 207.7 kB / 0.5725 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.6133, allocations: 0 / 0.5725 GB, free: 22.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.6136, allocations: 51.95 kB / 0.5725 GB, free: 22.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.6137, allocations: 35.86 kB / 0.5726 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.6137, allocations: 11.94 kB / 0.5726 GB, free: 22.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004906/0.6142, allocations: 0.5334 MB / 0.5731 GB, free: 21.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006693/0.6149, allocations: 227.8 kB / 0.5733 GB, free: 21.47 MB / 378.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.0006941/0.6156, allocations: 0.6196 MB / 0.5739 GB, free: 20.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003903/0.616, allocations: 238.6 kB / 0.5741 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.616, allocations: 0 / 0.5741 GB, free: 20.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.6162, allocations: 129.9 kB / 0.5743 GB, free: 20.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.6169, allocations: 172.4 kB / 0.5744 GB, free: 20.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.6187, allocations: 0.9619 MB / 0.5754 GB, free: 19.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.6192, allocations: 1.038 MB / 0.5764 GB, free: 18.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6192, allocations: 0 / 0.5764 GB, free: 18.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01746/0.6366, allocations: 10.83 MB / 0.587 GB, free: 7.633 MB / 378.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