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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 110.9 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 192.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 51.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2342, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization): time 0.006082/0.2403, allocations: 5.542 MB / 406.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.26, allocations: 19.42 MB / 426.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008607/0.2609, allocations: 31.75 kB / 426.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.2631, allocations: 0.8144 MB / 427.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.268, allocations: 1.593 MB / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.2724, allocations: 1.299 MB / 430.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.2752, allocations: 1.796 MB / 431.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.2755, allocations: 173.8 kB / 432.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.276, allocations: 358.4 kB / 432.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.2764, allocations: 365.8 kB / 432.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.222e-05/0.2765, allocations: 32 kB / 432.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.2796, allocations: 1.436 MB / 434.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2797, allocations: 115.2 kB / 434.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.2801, allocations: 437.3 kB / 434.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2823, allocations: 1.604 MB / 436.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2823, allocations: 0 / 436.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2823, allocations: 0 / 436.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2823, allocations: 0 / 436.4 MB, free: 5.734 MB / 350.1 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.002032/0.2844, allocations: 1.378 MB / 437.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2844, allocations: 15.83 kB / 437.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.2846, allocations: 126.5 kB / 437.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.2855, allocations: 0.7704 MB / 438.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2856, allocations: 20.55 kB / 438.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.2856, allocations: 23.94 kB / 438.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.2863, allocations: 340.7 kB / 439 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2864, allocations: 0 / 439 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.2864, allocations: 4 kB / 439 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2864, allocations: 19.92 kB / 439.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.2872, allocations: 346 kB / 439.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.289, allocations: 1.226 MB / 440.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.2898, allocations: 266.6 kB / 440.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.2903, allocations: 229 kB / 441.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007366/0.2977, allocations: 7.763 MB / 448.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004946/0.2982, allocations: 207.2 kB / 449.1 MB, free: 7.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.2982, allocations: 0 / 449.1 MB, free: 7.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001266/0.2995, allocations: 488.2 kB / 449.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.2995, allocations: 55.41 kB / 449.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/0.3005, allocations: 0.8863 MB / 450.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3005, allocations: 29.69 kB / 450.5 MB, free: 6.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.3009, allocations: 460.3 kB / 451 MB, free: 5.836 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.3009, allocations: 67.17 kB / 451 MB, free: 5.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.301, allocations: 89.52 kB / 451.1 MB, free: 5.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3012, allocations: 322 kB / 451.4 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3015, allocations: 119.9 kB / 451.6 MB, free: 5.238 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.3019, allocations: 261.9 kB / 451.8 MB, free: 4.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.3027, allocations: 387.1 kB / 452.2 MB, free: 4.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3027, allocations: 0 / 452.2 MB, free: 4.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001004/0.3037, allocations: 0.4986 MB / 452.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3038, allocations: 8 kB / 452.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/0.3038, allocations: 24.03 kB / 452.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3038, allocations: 8 kB / 452.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.3042, allocations: 87.81 kB / 452.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3042, allocations: 4 kB / 452.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3046, allocations: 63.52 kB / 452.9 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3046, allocations: 24 kB / 452.9 MB, free: 3.758 MB / 366.1 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 (VDS.counter,$PRE.VDS.counter,VGS.counter,$PRE.VGS.counter,VGS.counter2,$PRE.VGS.counter2,VGS.T0,$PRE.VGS.T0,VDS.counter2,$PRE.VDS.counter2,VDS.T0,$PRE.VDS.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.3049, allocations: 213.7 kB / 453.1 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.305, allocations: 106.7 kB / 453.2 MB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3061, allocations: 474.2 kB / 453.7 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3062, allocations: 4 kB / 453.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3062, allocations: 0 / 453.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3062, allocations: 3.938 kB / 453.7 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.3067, allocations: 0.5633 MB / 454.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/0.3068, allocations: 24 kB / 454.3 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.307, allocations: 43.89 kB / 454.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.307, allocations: 0 / 454.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.307, allocations: 15.98 kB / 454.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3071, allocations: 0 / 454.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3071, allocations: 4 kB / 454.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.3079, allocations: 450.6 kB / 454.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.3082, allocations: 199.7 kB / 455 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3083, allocations: 8 kB / 455 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3086, allocations: 23.97 kB / 455 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.3087, allocations: 35.89 kB / 455 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.3087, allocations: 16 kB / 455.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006189/0.3093, allocations: 0.5881 MB / 455.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3093, allocations: 4 kB / 455.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005727/0.3099, allocations: 211.8 kB / 455.9 MB, free: 0.6797 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006004/0.3105, allocations: 485.9 kB / 456.3 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008901/0.3114, allocations: 350.4 kB / 456.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3114, allocations: 0 / 456.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.3119, allocations: 181.5 kB / 456.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.3126, allocations: 179.4 kB / 457 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.3147, allocations: 1.484 MB / 458.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.3152, allocations: 0.9563 MB / 459.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3154, allocations: 51.44 kB / 459.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3154, allocations: 0 / 459.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01533/0.3307, allocations: 12.53 MB / 472 MB, free: 448 kB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkMosfetCharacterization/Spice3BenchmarkMosfetCharacterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches